3com 5500-ei pwr Instrução De Instalação
1-16
z
Configure Switch B.
# Configure VLAN 3.
<LSW-B> system-view
[LSW-B] vlan 3
[LSW-B-vlan3] port Ethernet1/0/10
[LSW-B-vlan3] quit
[LSW-B] interface Vlan-interface 3
[LSW-B-Vlan-interface3] ip address 10.100.10.3 255.255.255.0
[LSW-B-Vlan-interface3] quit
# Configure VLAN 2.
[LSW-B] vlan 2
[LSW-B-vlan2] port Ethernet 1/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 for VRRP group 2.
[LSW-B-Vlan-interface2] vrrp vrid 2 priority 110
Normally, multiple VRRP groups are used in actual use.
Port Tracking Configuration Examples
Network requirements
z
VRRP group 1 comprises two switches, which act as the master and the backup.
z
The actual IP addresses of the master and the backups are 10.100.10.2 and 10.100.10.3
respectively.
z
The master is connected to the upstream network through its Ethernet 1/0/1 port. The backup is
connected to the upstream network through its Ethernet 1/0/2 port.
z
The virtual router IP address of the VRRP group is 10.100.10.1.
z
Enable the port tracking function on Ethernet 1/0/1 port of the master and specify that the priority of
the master decreases by 50 when Ethernet 1/0/1 port fails, which triggers new master being
determined in the VRRP group 1.