350
[RouterB] interface serial 2/0
[RouterB-Serial2/0] ip address 168.173.24.2 255.255.255.0
# Access the public packet network, and configure the router to operate in DTE mode.
[RouterB-Serial2/0] link-protocol x25 dte
[RouterB-Serial2/0] x25 x121-address 30561002
[RouterB-Serial2/0] x25 window-size 5 5
[RouterB-Serial2/0] x25 packet-size 512 512
[RouterB-Serial2/0] x25 vc-range bi-channel 1 32
[RouterB-Serial2/0] x25 map ip 168.173.24.1 x121-address 30561001
[RouterB-Serial2/0] x25 map ip 168.173.24.3 x121-address 30561003
[RouterB-Serial2/0] shutdown
[RouterB-Serial2/0] undo shutdown
3. Configure Router C:
# Assign an IP address for the interface.
<RouterC> system-view
[RouterC] interface serial 2/0
[RouterC-Serial2/0] ip address 168.173.24.3 255.255.255.0
# Access the public packet network, and configure the router to operate in DTE mode.
[RouterC-Serial2/0] link-protocol x25 dte
[RouterC-Serial2/0] x25 x121-address 30561003
[RouterC-Serial2/0] x25 window-size 5 5
[RouterC-Serial2/0] x25 packet-size 512 512
[RouterC-Serial2/0] x25 vc-range bi-channel 1 32
[RouterC-Serial2/0] x25 map ip 168.173.24.1 x121-address 30561001
[RouterC-Serial2/0] x25 map ip 168.173.24.2 x121-address 30561002
[RouterC-Serial2/0] shutdown
[RouterC-Serial2/0] undo shutdown
Verifying the configuration
Ping Router B and Router C from Router A. Check that Router A can reach Router B and Router C.
# Display the X.25 address mapping table on Router A, for example.
[RouterA-Serial2/0] display x25 map
Interface: Serial2/0(protocol status is UP)
ip 168.173.24.2 X.121 address:30561002
Map-type: SVC_MAP VC-number: 1
Facility:
ip 168.173.24.3 X.121 address:30561003
Map-type: SVC_MAP VC-number: 1
Facility:
Configuring virtual circuit range
Network requirements
The link layer protocol of the router interface Serial 2/0 is X.25, and virtual circuit ranges are as
follows: PVC range [1, 8], incoming-only channel range [9, 16], two-way channel range [17, 1024],
and outgoing-only channel range is disabled.
Configuration procedure
<Router> system-view