R0106-HP MSR Router Series Layer 2 - WAN Configuration Guide(V7)

203
The PPP link serves as the primary link between Router A and Router B. When there are no valid routes
to the 40.0.0.0/8 network, Router A automatically creates an ISDN BRI link.
Figure 62 Network diagram
Configuration procedure
1. Configure Router A:
# Create dialer group 1 and configure a dial rule for it.
<RouterA> system-view
[RouterA] dialer-group 1 rule ip permit
# Configure dialup parameters for interface BRI 2/4/0.
[RouterA] interface bri 2/4/0
[RouterA-Bri2/4/0] ip address 20.0.0.1 8
[RouterA-Bri2/4/0] dialer circular enable
[RouterA-Bri2/4/0] dialer-group 1
[RouterA-Bri2/4/0] dialer route ip 30.0.0.1 8810052
[RouterA-Bri2/4/0] quit
# Configure interface Serial 2/1/0.
[RouterA] interface serial 2/1/0
[RouterA-Serial2/1/0] link-protocol ppp
[RouterA-Serial2/1/0] ip address 10.0.0.1 8
[RouterA-Serial2/1/0] quit
# Configure OSPF.
[RouterA] ospf
[RouterA-ospf-1] area 0
[RouterA-ospf-1-area-0.0.0.0] network 10.0.0.0 0.255.255.255
[RouterA-ospf-1-area-0.0.0.0] network 20.0.0.0 0.255.255.255
[RouterA-ospf-1-area-0.0.0.0] quit
[RouterB-ospf-1] import-route direct
[RouterA-ospf-1] quit
# Create a dynamic route backup group.
[RouterA] standby routing-group 1 rule ip 30.0.0.1 32
# Configure the routes used by the serial interface to adopt higher priorities over those used by the
dialup interface.
[RouterA] interface bri 2/4/0
[RouterA-Bri2/4/0] ospf cost 2000
[RouterA-Bri2/4/0] ospf network-type broadcast