beautypg.com

Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual

Page 26

background image

25

If Device A operates normally, packets sent from Host A to Host B are forwarded by Device A; if

Device A fails, packets sent from Host A to Host B are forwarded by Device B.

Figure 10 Network diagram for single VRRP group configuration

Host A

Device A

Device B

Virtual IP address:

202.38.160.111/24

GE0/1

202.38.160.1/24

GE0/1

202.38.160.2/24

Host B

202.38.160.3/24

203.2.3.1/24

Internet

Configuration procedure

Step1

Configure Device A

system-view

[DeviceA] interface gigabitethernet 0/1

[DeviceA-GigabitEthernet0/1] ip address 202.38.160.1 255.255.255.0

# Create VRRP group 1 and configure its virtual IP address as 202.38.160.111.

[DeviceA-GigabitEthernet0/1] vrrp vrid 1 virtual-ip 202.38.160.111

# Configure the priority of Device A in the VRRP group 1 as 110.

[DeviceA-GigabitEthernet0/1] vrrp vrid 1 priority 110

# Configure Device A to work in preemptive mode and configure the preemption delay as five seconds.

[DeviceA-GigabitEthernet0/1] vrrp vrid 1 preempt-mode timer delay 5

Step2

Configure Device B

system-view

[DeviceB] interface gigabitethernet 0/1

[DeviceB-GigabitEthernet0/1] ip address 202.38.160.2 255.255.255.0

# Create VRRP group 1 and configure its virtual IP address as 202.38.160.111.

[DeviceB-GigabitEthernet0/1] vrrp vrid 1 virtual-ip 202.38.160.111

# Configure Device B to work in the preemptive mode, with the preemption delay set to 5 seconds.

[DeviceB-GigabitEthernet0/1] vrrp vrid 1 preempt-mode timer delay 5

Step3

Verify the configuration

After the configuration, Host B can be pinged successfully on Host A. To verify your configuration, use the
display vrrp verbose
command.
# Display detailed information of VRRP group 1 on Device A.

[DeviceA-GigabitEthernet0/1] display vrrp verbose

IPv4 Standby Information:

Run Mode : Standard