3com S7906E Instruccion De Instalación
1-38
z
z
Single VRRP Group Configuration Example
Network requirements
z
Host A needs to access Host B on the Internet, using 1::10/64 as its default gateway.
z
Switch A and Switch B belong to VRRP group 1 with the virtual IP addresses of 1::10/64 and
FE80::10.
z
If Switch A operates normally, packets sent from Host A to Host B are forwarded by Switch A; if
Switch A fails, packets sent from Host A to Host B are forwarded by Switch B.
Figure 1-13 Network diagram for single VRRP group configuration
Host A
Switch A
Switch B
Virtual IPv6 address:
FE80::10
1::10/64
Vlan-int2
FE80::1
1::1/64
Vlan-int2
FE80::2
1::2/64
Host B
Gateway:
1::10/64
1::10/64
Internet
Configuration procedure
1) Configure Switch A
# Configure VLAN 2.
<SwitchA> system-view
[SwitchA] ipv6
[SwitchA] vlan 2
[SwitchA-vlan2] port gigabitethernet 2/0/5
[SwitchA-vlan2] quit
[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] ipv6 address fe80::1 link-local
[SwitchA-Vlan-interface2] ipv6 address 1::1 64
# Create a VRRP group 1 and set its virtual IPv6 addresses to FE80::10 and 1::10.
[SwitchA-Vlan-interface2] vrrp ipv6 vrid 1 virtual-ip fe80::10 link-local
[SwitchA-Vlan-interface2] vrrp ipv6 vrid 1 virtual-ip 1::10
# Set the priority of Switch A in VRRP group 1 to 110.
[SwitchA-Vlan-interface2] vrrp ipv6 vrid 1 priority 110
# Set Switch A to work in preemptive mode, with the preemption delay set to 5 seconds.
[SwitchA-Vlan-interface2] vrrp ipv6 vrid 1 preempt-mode timer delay 5