beautypg.com

Verifying the configuration – H3C Technologies H3C MSR 5600 User Manual

Page 76

background image

68

# Configure the source address of BFD echo packets as 10.10.10.10.

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.

display vrrp verbose

IPv4 Virtual RouterInformation:

Running Mode : Standard

Total number of virtual routers : 1

Interface Ethernet1/1

VRID : 1 Adver Timer : 100

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.

display vrrp verbose

IPv4 Virtual Router Information:

Running Mode : Standard

Total number of virtual routers : 1

Interface Ethernet1/1

VRID : 1 Adver Timer : 100

Admin Status : Up State : Backup

Config Pri : 100 Running Pri : 100

Preempt Mode : Yes Delay Time : 0

Become Master : 2200ms left

Auth Type : None

Virtual IP : 192.168.0.10

Master IP : 192.168.0.101

VRRP Track Information:

Track Object : 1 State : Positive Switchover

This manual is related to the following products: