beautypg.com

H3C Technologies H3C SecPath F1000-E User Manual

Page 299

background image

16

# 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, Device B
becomes the master quickly.

[DeviceB] interface gigabitethernet 1/1

[DeviceB-GigabitEthernet1/1] vrrp vrid 1 virtual-ip 192.168.0.10

[DeviceB-GigabitEthernet1/1] vrrp vrid 1 track 1 switchover

[DeviceB-GigabitEthernet1/1] return

Step5

Verify the configuration

# Display the detailed information of VRRP group 1 on Device A.

display vrrp verbose

IPv4 Standby Information:

Run Mode : Standard

Run Method : Virtual MAC

Total number of virtual routers : 1

Interface GigabitEthernet1/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 the detailed information of VRRP group 1 on Device B.

display vrrp verbose

IPv4 Standby Information:

Run Mode : Standard

Run Method : Virtual MAC

Total number of virtual routers : 1

Interface GigabitEthernet1/1

VRID : 1 Adver Timer : 1

Admin Status : Up State : Backup

Config Pri : 100 Running Pri : 100

Preempt Mode : Yes Delay Time : 0

Auth Type : None

Virtual IP : 192.168.0.10

Master IP : 192.168.0.101

VRRP Track Information:

Track Object : 1 State : Positive Switchover

# Display information about track entry 1 on Device B.

display track 1

Track ID: 1

Status: Positive

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

Reference object:

BFD session: