Verifying the configuration – H3C Technologies H3C MSR 50 User Manual

Page 45

Advertising
background image

37

[RouterA-Ethernet1/1] vrrp vrid 1 virtual-ip 192.168.0.10

[RouterA-Ethernet1/1] vrrp vrid 1 priority 110

[RouterA-Ethernet1/1] return

2.

Configure BFD on Router B:
# Configure the source address of BFD echo packets as 10.10.10.10.

<RouterB> system-view

[RouterB] bfd echo-source-ip 10.10.10.10

3.

Create a track entry to be associated with the BFD session on Router B:
# Create track entry 1 to be associated with the BFD session to check whether Router A is
reachable.

[RouterB] track 1 bfd echo interface ethernet 1/1 remote ip 192.168.0.101 local ip

192.168.0.102

4.

Configure VRRP on Router B:
# Create VRRP group 1, and configure the virtual IP address 192.168.0.10 for the group. VRRP
group 1 monitors the status of track entry 1. When the status of the track entry becomes Negative,

Router B becomes the master quickly.

[RouterB] interface ethernet 1/1

[RouterB-Ethernet1/1] vrrp vrid 1 virtual-ip 192.168.0.10

[RouterB-Ethernet1/1] vrrp vrid 1 track 1 switchover

[RouterB-Ethernet1/1] return

Verifying the configuration

# Display detailed information about VRRP group 1 on Router A.

<RouterA> display vrrp verbose

IPv4 Standby Information:

Run Mode : Standard

Run Method : Virtual MAC

Total number of virtual routers : 1

Interface Ethernet1/1

VRID : 1 Adver Timer : 1

Admin Status : Up State : Master

Config Pri : 110 Running Pri : 110

Preempt Mode : Yes Delay Time : 0

Auth Type : None

Virtual IP : 192.168.0.10

Virtual MAC : 0000-5e00-0101

Master IP : 192.168.0.101

# Display detailed information about VRRP group 1 on Router B.

<RouterB> display vrrp verbose

IPv4 Standby Information:

Run Mode : Standard

Run Method : Virtual MAC

Total number of virtual routers : 1

Interface Ethernet1/1

VRID : 1 Adver Timer : 1

Admin Status : Up State : Backup

Config Pri : 100 Running Pri : 100

Advertising
This manual is related to the following products: