Configuration procedure – H3C Technologies H3C SecBlade LB Cards User Manual
Page 70
62
Configuration procedure
1.
Configure LB A:
[LBA] ipv6
[LBA] interface gigabitethernet0/1
[LBA-GigabitEthernet0/1] ipv6 address fe80::1 link-local
[LBA-GigabitEthernet0/1] ipv6 address 1::1 64
# Create VRRP group 1 and set its virtual IPv6 addresses to FE80::10 and 1::10.
[LBA-GigabitEthernet0/1] vrrp ipv6 vrid 1 virtual-ip fe80::10 link-local
[LBA-GigabitEthernet0/1] vrrp ipv6 vrid 1 virtual-ip 1::10
# Set the priority of LB A in VRRP group 1 to 110, which is higher than that of LB B (100), so that
LB A can become the master in VRRP group 1.
[LBA-GigabitEthernet0/1] vrrp ipv6 vrid 1 priority 110
# Create VRRP group 2 set its virtual IPv6 addresses to FE80::20 and 1::20.
[LBA-GigabitEthernet0/1] vrrp ipv6 vrid 2 virtual-ip fe80::20 link-local
[LBA-GigabitEthernet0/1] vrrp ipv6 vrid 2 virtual-ip 1::20
2.
Configure LB B:
[LBB] ipv6
[LBB] interface gigabitethernet0/1
[LBB-GigabitEthernet0/1] ipv6 address fe80::2 link-local
[LBB-GigabitEthernet0/1] ipv6 address 1::2 64
# Create VRRP group 1 and set its virtual IPv6 addresses to FE80::10 and 1::10.
[LBB-GigabitEthernet0/1] vrrp ipv6 vrid 1 virtual-ip fe80::10 link-local
[LBB-GigabitEthernet0/1] vrrp ipv6 vrid 1 virtual-ip 1::10
# Create VRRP group 2 set its virtual IPv6 addresses to FE80::20 and 1::20.
[LBB-GigabitEthernet0/1] vrrp ipv6 vrid 2 virtual-ip fe80::20 link-local
[LBB-GigabitEthernet0/1] vrrp ipv6 vrid 2 virtual-ip 1::20
# Set the priority of LB B in VRRP group 2 to 110, which is higher than that of LB A (100), so that
LB B can become the master in VRRP group 2.
[LBB-GigabitEthernet0/1] vrrp ipv6 vrid 2 priority 110
3.
Verify the configuration:
To verify your configuration, use the display vrrp ipv6 verbose command.
# Display the detailed information about the VRRP group on LB A.
[LBA-GigabitEthernet0/1] display vrrp ipv6 verbose
IPv6 Standby Information:
Run Mode : Standard
Run Method : Virtual MAC
Total number of virtual routers : 2
Interface GigabitEthernet0/1
VRID : 1 Adver Timer : 100
Admin Status : Up State : Master
Config Pri : 110 Running Pri : 110
Preempt Mode : Yes Delay Time : 0
Auth Type : None
Virtual IP : FE80::10