beautypg.com

Verifying the configuration – H3C Technologies H3C MSR 50 User Manual

Page 48

background image

40

[RouterA] track 1 bfd echo interface ethernet 1/1 remote ip 1.1.1.2 local ip 1.1.1.1

3.

Configure VRRP on Router A:
# Create VRRP group 1, and configure the virtual IP address of the group as 192.168.0.10.
Configure the priority of Router A in VRRP group 1 as 110, and configure VRRP group 1 to monitor

the status of track entry 1. When the status of the track entry becomes Negative, the priority of

Router A decreases by 20.

[RouterA] interface ethernet 1/2

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

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

[RouterA-Ethernet1/2] vrrp vrid 1 track 1 reduced 20

[RouterA-Ethernet1/2] return

4.

Configure VRRP on Router B:
# Create VRRP group 1, and configure the virtual IP address of the group as 192.168.0.10.

system-view

[RouterB] interface ethernet 1/2

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

[RouterB-Ethernet1/2] return

Verifying the configuration

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

display vrrp verbose

IPv4 Standby Information:

Run Mode : Standard

Run Method : Virtual MAC

Total number of virtual routers : 1

Interface Ethernet1/2

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

VRRP Track Information:

Track Object : 1 State : Positive Pri Reduced : 20

# Display information about track entry 1 on Router A.

display track 1

Track ID: 1

Status: Positive

Duration: 0 days 0 hours 0 minutes 32 seconds

Notification delay: Positive 0, Negative 0 (in seconds)

Reference object:

BFD session:

Packet type: Echo

Interface : Ethernet1/1

Remote IP : 1.1.1.2

Local IP : 1.1.1.1

This manual is related to the following products: