348
[RouterB-Serial2/0] x25 vc-per-map 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-Serial2/0] ping 202.38.160.2
PING 202.38.160.2: 56 data bytes, press CTRL_C to break
Reply from 202.38.160.2: bytes=56 Sequence=1 ttl=255 time=33 ms
Reply from 202.38.160.2: bytes=56 Sequence=2 ttl=255 time=26 ms
Reply from 202.38.160.2: bytes=56 Sequence=3 ttl=255 time=27 ms
Reply from 202.38.160.2: bytes=56 Sequence=4 ttl=255 time=26 ms
Reply from 202.38.160.2: bytes=56 Sequence=5 ttl=255 time=26 ms
--- 202.38.160.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 26/27/33 ms
The output shows that the SVC has been established between the two routers.
# Display the X.25 address mapping table of Router A.
[RouterA-Serial2/0] display x25 map
Interface: Serial2/0(protocol status is UP)
ip 202.38.160.2 X.121 address:20112452
Map-type: SVC_MAP VC-number: 1
Facility:
ip 202.38.161.2 X.121 address:20112452
Map-type: SVC_MAP VC-number: 0
Facility:
# Display the X.25 virtual circuit information of Router A.
[RouterA-Serial2/0] display x25 vc
Interface: Serial2/0
SVC 1024
State: P4(transmit)
Map: ip 202.38.160.2 to 20112452
Window size: input 5 output 5
Packet Size: input 1024 output 1024
Local PS: 5 Local PR: 5 Remote PS: 4 Remote PR: 5
Local Busy: FALSE Reset times: 0
Input/Output:
DATA 5/5 INTERRUPT 0/0
RR 0/0 RNR 0/0 REJ 0/0
Bytes 420/420
Send Queue(Current/Max): 0/200