364
[RouterA-hg-hg1] channel interface serial 2/2
[RouterA-hg-hg1] channel interface serial 2/1 dlci 100
[RouterA-hg-hg1] channel xot 10.1.1.2
[RouterA-hg-hg1] quit
# Configure a X.25 switching route forwarded towards the hunt group hg1, and enable
destination address and source address substitution, substituting 3333 and 8888 for source
and destination addresses of packets destined to hunt group address 2222.
[RouterA] x25 switch svc 2222 sub-dest 8888 sub-source 3333 hunt-group hg1
# Configure X.25 switching route forwarded to the X.25 terminal.
[RouterA] x25 switch svc 1111 interface serial 2/3
[RouterA] x25 switch svc 1112 interface serial 2/4
[RouterA] x25 switch svc 1113 interface serial 2/0
2. Configure Router B:
# Configure the link layer protocol of interface Serial 2/0 as X.25, and configure it to operate in
DTE mode.
<RouterB> system-view
[RouterB] interface serial 2/0
[RouterB-Serial2/0] link-protocol x25 dte
[RouterB-Serial2/0] x25 x121-address 8888
3. Configure Router C:
# Create an X.25 template.
<RouterC> system-view
[RouterC] x25 template vofr
[RouterC-x25-vofr] x25 x121-address 8888
[RouterC-x25-vofr] quit
# Enable FR on Serial 2/0.
[RouterC] interface serial 2/0
[RouterC-Serial2/0] link-protocol fr
# Configure FR Annex G DLCI.
[RouterC-Serial2/0] fr dlci 100
[RouterC-fr-dlci-Serial2/0-100] annexg dte
# Apply the X.25 template to the DLCI.
[RouterC-fr-dlci-Serial2/0-100] x25-template vofr
4. Configure Router E:
# Configure the link layer protocol on Serial 2/0 as X.25 and configure it to operate in DTE
mode.
<RouterE> system-view
[RouterE] interface serial 2/0
[RouterE-Serial2/0] link-protocol x25 dte
[RouterE-Serial2/0] x25 x121-address 8888
5. Configure Router D:
# Enable X.25 switching.
<RouterD> system-view
[RouterD] x25 switching
# Configure the link layer protocol of the interface Serial 2/0 as X.25, and configure it to operate
in DCE mode.
<RouterD> system-view
[RouterD] interface serial 2/0