beautypg.com

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

Page 31

background image

30

Figure 12 Network diagram for multiple VRRP groups configuration

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

# Set the priority of Device A in VRRP group 1 to 110.

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

# Create VRRP group 2 and configure its virtual IP address as 202.38.160.112.

[DeviceA-GigabitEthernet0/1] vrrp vrid 2 virtual-ip 202.38.160.112

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

# Create VRRP group 2 and configure its virtual IP address as 202.38.160.112.

[DeviceB-GigabitEthernet0/1] vrrp vrid 2 virtual-ip 202.38.160.112

# Set the priority of router B in VRRP group 2 to 110.

[DeviceB-GigabitEthernet0/1] vrrp vrid 2 priority 110

Table 1

8Verify the configuration

To verify your configuration, use the display vrrp verbose command.
# Display detailed information of the VRRP group on Device A.

[DeviceA-GigabitEthernet0/1] display vrrp verbose

IPv4 Standby Information: