HP MSR Series Configuration Manual page 14

High availability
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

Figure 4 Network diagram
Configuration procedure
1.
Assign IP addresses to interfaces, as shown in
2.
Configure routes:
# On Router A, configure static routes to 192.168.2.0/24 through the primary and backup
interfaces.
<RouterA> system-view
[RouterA] ip route-static 192.168.2.0 24 gigabitethernet 2/0/1
[RouterA] ip route-static 192.168.2.0 24 gigabitethernet 2/0/2
# On Router B, configure static routes to 192.168.1.0/24.
<RouterB> system-view
[RouterB] ip route-static 192.168.1.0 24 gigabitethernet 2/0/1
[RouterB] ip route-static 192.168.1.0 24 gigabitethernet 2/0/2
3.
On Router A, configure track settings:
# Configure track entry 1 to monitor the link state of GigabitEthernet 2/0/1.
[RouterA] track 1 interface gigabitethernet 2/0/1
# Associate track entry 1 with the backup interface GigabitEthernet 2/0/2.
[RouterA] interface gigabitethernet 2/0/2
[RouterA-GigabitEthernet2/0/2] backup track 1
[RouterA-GigabitEthernet2/0/2] quit
Verifying the configuration
# Verify that the backup interface GigabitEthernet 2/0/2 is in STANDBY state while the primary link is
operating correctly.
[RouterA] display interface-backup state
IB Track Information:
GE2/0/2
# Shut down the primary interface GigabitEthernet 2/0/1.
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] shutdown
# Verify that the backup interface GigabitEthernet 2/0/2 comes up after the primary link goes down.
[RouterA-GigabitEthernet2/0/1] display
IB Track Information:
GE2/0/2
Figure
Track: 1
State: STANDBY
interface-backup state
Track: 1
State: UP
9
4. (Details not shown.)

Advertisement

Table of Contents
loading

Table of Contents