184CHAPTER 20: VRRP CONFIGURATION GUIDE

Table 1

Networking description

 

 

 

 

 

 

 

 

Ethernet port

 

Switch priority

 

 

connected with

IP address of the

in the VRRP

 

Switch

Host A

VLAN interface

group

Working mode

 

 

 

 

 

LSW-A

Ethernet 1/0/6

202.38.160.1/24

110

Preemptive mode

LSW-B

Ethernet 1/0/5

202.38.160.2/24

100 (default)

Preemptive mode

 

 

 

 

 

Applicable Products

Product series

Software version

Hardware version

 

 

 

Switch 5500

Release V03.02.04

All versions

Switch 5500G

Release V03.02.04

All versions

 

 

 

Configuration Procedure

1Configure Switch A.

# Configure VLAN 2.

<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

[LSW-A-Vlan-interface2] quit

#Enable a VRRP group to respond to ping operations destined for its virtual IP address.

[LSW-A] vrrp ping-enable

# Create a VRRP group.

[LSW-A] interface Vlan-interface 2

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

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

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

# Configure preemptive mode for the VRRP group.

[LSW-A-Vlan-interface2] vrrp vrid 1 preempt-mode

n By default, a VRRP group adopts the preemptive mode.

2Configure Switch B.

# Configure VLAN 2.

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

[LSW-B-Vlan2] port Ethernet1/0/5

[LSW-B-vlan2] quit

Page 184
Image 184
3Com 5500 Configure Switch a # Configure Vlan, # Create a Vrrp group, # Set the priority of Switch a in the Vrrp group to