Example: x.25 routing, Example: x.25 routing -32 – AIS Router AI2524 User Manual

Page 290

Advertising
background image

AI2524 Router Card User’s Manual

Page 12-32

August 1997

2524UM

Example: X.25 Routing

This example shows how to enable X.25 switching, as well as how to
enter routes into the X.25 routing table:

Enable X.25 forwarding:

x25 routing

Enter routes into the table. Without a positional parameter, entries ar
appended to the end of the table.

x25 route ^100$ interface serial 0

x25 route 100 cud ^pad$ interface serial 2

x25 route 100 interface serial 1

x25 route ^3306 interface serial 3

x25 route .* ip 10.2.0.2

The routing table forwards calls for X.121 address 100 out interface
serial 0. Otherwise, calls are forwarded onto serial 1 if the X.121 ad-
dress contains 100 anywhere within it and contains no CUD. Also, if
the CUD is not the string pad, calls are forwarded to serial 1. If the
X.121 address contains the digits 100 and the CUD is the string pad,
the call is forwarded onto serial 2. All X.121 addresses that do not
match the first 3 routes are checked for a DNIC of 3306 as the first 4
digits. If they do match, they are forwarded over serial 3. All other
X.121 addresses will match the fifth entry, which is a match-all pattern
and will have a TCP connection established to the IP address 10.2.0.2.
The router at 10.2.0.2 will then route the call according to its X.25
routing table.

This example configures a router that sits on a Tymnet/PAD switch to
accept calls and have them forwarded to a DEC VAX system. This fea-
ture permits running an X.25 network over a generalized existing IP
network, thereby making another physical line for one protocol unnec-
essary. The router positioned next to the DEC VAX system is config-
ured with X.25 routes.

x25 route vax-x121-address interface serial 0

x25 route .* ip cisco-on-tymnet-ipaddress

These commands route all calls to the DEC VAX X.121 address out to
serial 0, where the VAX is connected running PSI. All other X.121 ad-
dresses are forwarded to the cisco-on-tymnet address through its IP ad-

Advertising