Configure a local x.25 route, Configure a local x.25 route -31 – AIS Router AI2524 User Manual

Page 289

Advertising
background image

Chapter 12: AI2524 X.25 Configuration Steps

August 1997

Page 12-31

2524UM

the rewrite pattern indicates the portion of the original address
matched by the digits following the 1111 DNIC.

x25 route ^1111(.*) substitute-dest 2222\1 interface serial 3

Figure 12-3

shows a more contrived command intended to illustrate

the power of the rewriting scheme.

Figure 12-3:X.25 Route Address Pattern Matching

The command in

Figure 12-3

causes all X.25 calls with 14-digit called

addresses to be routed through interface serial 0. The incoming DNIC
field is moved to the end of the address. The fifth, sixth, ninth, and
tenth digits are deleted, and the thirteenth and fourteenth are moved
before the eleventh and twelfth.

Configure a Local X.25 Route

When an incoming call needs to be forwarded, two fields in the X.25
routing table are consulted to determine a local X.25 route:

z

Destination X.121 address

z

X.25 packet's CUD field (optional)

When the destination address and the CUD of the incoming packet fit
the X.121 and CUD patterns in the routing table, the call is forwarded.
Forwarding to a specified interface is called local routing or local
switching.

To configure a local X.25 route, thus adding the local route to the rout-
ing table, type (in global configuration mode):

x25 route [

#position

]

x121-address

[cud

pattern

] interface

type number

Advertising