355
[RouterD-Serial2/0] quit
[RouterD] interface serial 2/1
[RouterD-Serial2/1] link-protocol x25 dce
[RouterD-Serial2/1] quit
[RouterD] interface serial 2/2
[RouterD-Serial2/2] link-protocol x25 dce
[RouterD-Serial2/2] quit
# Configure SVC switching routes.
[RouterD] x25 switching
[RouterD] x25 switch svc 100 interface serial 2/0
[RouterD] x25 switch svc 200 interface serial 2/1
[RouterD] x25 switch svc 300 interface serial 2/2
Verifying the configuration
The virtual circuit configured in this example is an SVC. The routers establish it only when they must
communicate.
# Ping Router B from Router A.
[RouterA] ping 10.1.1.1
PING 10.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 10.1.1.1: bytes=56 Sequence=1 ttl=255 time=64 ms
Reply from 10.1.1.1: bytes=56 Sequence=2 ttl=255 time=52 ms
Reply from 10.1.1.1: bytes=56 Sequence=3 ttl=255 time=53 ms
Reply from 10.1.1.1: bytes=56 Sequence=4 ttl=255 time=52 ms
Reply from 10.1.1.1: bytes=56 Sequence=5 ttl=255 time=52 ms
--- 10.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 52/54/64 ms
The output shows that the SVC has been established between the two routers.
# Display the X.25 address mapping table on Router A.
[RouterA] display x25 map
Interface: Serial2/0.2(protocol status is UP)
ip 20.1.1.1 X.121 address:300
Map-type: SVC_MAP VC-number: 0
Facility:
Interface: Serial2/0.1(protocol status is UP)
ip 10.1.1.1 X.121 address:200
Map-type: SVC_MAP VC-number: 0
Facility:
# Display X.25 virtual circuit information on Router A.
[RouterA] display x25 vc
Interface: Serial2/0.1
SVC 1024
State: P4(transmit)
Map: ip 10.1.1.1 to 200
Window size: input 2 output 2