Ipv6-based vrrp configuration examples, Single vrrp group configuration example, Network requirements – H3C Technologies H3C S10500 Series Switches User Manual
Page 158: Configuration procedure
149
IPv6-based VRRP configuration examples
This section provides these configuration examples:
•
Single VRRP group configuration example
•
VRRP interface tracking configuration example
•
VRRP with multiple VLANs configuration example
Single VRRP group configuration example
Network requirements
•
Switch A and Switch B belong to VRRP group 1 with the virtual IP addresses of 1::10/64 and
FE80::10.
•
Host A wants to access Host B on the Internet, and learns 1::10/64 as its default gateway through
RA messages sent by the switches.
•
When Switch A operates normally, packets sent from Host A to Host B are forwarded by Switch A;
when Switch A fails, packets sent from Host A to Host B are forwarded by Switch B.
Figure 40 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
Internet
Configuration procedure
1.
Configure Switch A
# Configure VLAN 2.
[SwitchA] ipv6
[SwitchA] vlan 2
[SwitchA-vlan2] port gigabitethernet 1/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
- H3C S5800 Series Switches H3C S5820X Series Switches H3C WX3000E Series Wireless Switches H3C SecPath F1000-E H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS