Multiple VRRP Groups Configuration 187

<LSW-A> system-view [LSW-A] vlan 2

[LSW-A-vlan2] port Ethernet1/0/6

[LSW-A-vlan2] quit

[LSW-A] interface Vlan-interface 2 [LSW-A-Vlan-interface2] ip address 202.38.160.1 255.255.255.0

# Create VRRP group 1.

[LSW-A-Vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111

# Set the priority of Switch A in VRRP group 1 to 150.

[LSW-A-Vlan-interface2] vrrp vrid 1 priority 150

# Create VRRP group 2.

[LSW-A-Vlan-interface2] vrrp vrid 2 virtual-ip 202.38.160.112

Configure Switch B.

# Configure VLAN 2.

<LSW-B> system-view [LSW-B] vlan 2

[LSW-B-vlan2] port Ethernet1/0/6

[LSW-B-vlan2] quit

[LSW-B] interface Vlan-interface 2 [LSW-B-Vlan-interface2] ip address 202.38.160.2 255.255.255.0

# Create VRRP group 1.

[LSW-B-Vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111

# Create VRRP group 2.

[LSW-B-Vlan-interface2] vrrp vrid 2 virtual-ip 202.38.160.112

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

[LSW-B-Vlan-interface2] vrrp vrid 2 priority 110

Complete Configuration Configurations on Switch A

#

interface Vlan-interface2

ip address 202.38.160.1 255.255.255.0 vrrp vrid 1 virtual-ip 202.38.160.111 vrrp vrid 1 priority 150

vrrp vrid 2 virtual-ip 202.38.160.112

#

interface Ethernet1/0/6 port access vlan 2

#

Configurations on Switch B

#

interface Vlan-interface2

Page 187
Image 187
3Com 4200G, 5500G, 4210 manual # Create Vrrp group, # Set the priority of Switch a in Vrrp group 1 to