R3303-HP HSR6800 Routers Layer 2 - WAN Configuration Guide

122
[RouterC-Serial2/0/1] fr interface-type dte
# If the opposite router supports InARP, configure dynamic address mapping.
[RouterC-Serial2/0/1] fr inarp
# Otherwise, configure a static address mapping.
[RouterC-Serial2/0/1] fr map ip 202.38.163.251 80
Connecting LANs with a dedicated line
Network requirements
As shown in Figure 38, two routers are directly connected with serial interfaces. Router A operates in
DCE mode, and Router B operates in DTE mode.
Figure 38 Network diagram
Configuration procedure
Method 1: On main interfaces
1. Configure Router A:
# Assign an IP address to interface Serial 2/0/1.
<RouterA> system-view
[RouterA] interface serial 2/0/1
[RouterA-Serial2/0/1] ip address 202.38.163.251 255.255.255.0
# Enable frame relay on the interface and configure the interface to operate in DCE mode.
[RouterA-Serial2/0/1] link-protocol fr
[RouterA-Serial2/0/1] fr interface-type dce
# Configure a local virtual circuit.
[RouterA-Serial2/0/1] fr dlci 100
2. Configure Router B:
# Assign an IP address to interface Serial 2/0/1.
<RouterB> system-view
[RouterB] interface serial 2/0/1
[RouterB-Serial2/0/1] ip address 202.38.163.252 255.255.255.0
# Enable frame relay on the interface and configure the interface to operate in DTE mode.
[RouterB-Serial2/0/1] link-protocol fr
[RouterB-Serial2/0/1] fr interface-type dte
Method 2: On subinterfaces
3. Configure Router A:
# Enable frame relay on interface Serial 2/0/1 and configure the interface to operate in DCE
mode.
<RouterA> system-view
[RouterA] interface serial 2/0/1
[RouterA-Serial2/0/1] link-protocol fr
[RouterA-Serial2/0/1] fr interface-type dce