3com 4200G ユーザーズマニュアル

ページ / 336
184
C
HAPTER
 20: VRRP C
ONFIGURATION
 G
UIDE
Applicable Products
Configuration Procedure
Configure 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.
Configure Switch B.
# Configure VLAN 2.
<LSW-B> system-view
[LSW-B] vlan 2
[LSW-B-Vlan2] port Ethernet1/0/5
[LSW-B-vlan2] quit
Table 1   Networking description
Switch 
Ethernet port 
connected with 
Host A 
IP address of the 
VLAN interface 
Switch priority 
in the VRRP 
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
Product series 
Software version 
Hardware version 
Switch 5500
Release V03.02.04 
All versions 
Switch 5500G
Release V03.02.04 
All versions