beautypg.com

H3C Technologies H3C MSR 50 User Manual

Page 112

background image

104

system-view

[RouterB] ipv6

[RouterB] interface ethernet 1/1

[RouterB-Ethernet1/1] ipv6 address fe80::2 link-local

[RouterB-Ethernet1/1] ipv6 address 1::2 64

# Create VRRP group 1 and set its virtual IPv6 addresses to FE80::10 and 1::10.

[RouterB-Ethernet1/1] vrrp ipv6 vrid 1 virtual-ip fe80::10 link-local

[RouterB-Ethernet1/1] vrrp ipv6 vrid 1 virtual-ip 1::10

# Create VRRP group 2 set its virtual IPv6 addresses to FE80::20 and 1::20.

[RouterB-Ethernet1/1] vrrp ipv6 vrid 2 virtual-ip fe80::20 link-local

[RouterB-Ethernet1/1] vrrp ipv6 vrid 2 virtual-ip 1::20

# Set the priority of Router B in VRRP group 2 to 110, which is higher than that of Router A (100),
so that Router B can become the master in VRRP group 2.

[RouterB-Ethernet1/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 Router A.

[RouterA-Ethernet1/1] display vrrp ipv6 verbose

IPv6 Standby Information:

Run Mode : Standard

Run Method : Virtual MAC

Total number of virtual routers : 2

Interface Ethernet1/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

1::10

Virtual MAC : 0000-5e00-0201

Master IP : FE80::1

Interface Ethernet1/1

VRID : 2 Adver Timer : 100

Admin Status : Up State : Backup

Config Pri : 100 Running Pri : 100

Preempt Mode : Yes Delay Time : 0

Become Master : 2200ms left

Auth Type : None

Virtual IP : FE80::20

1::20

Master IP : FE80::2

# Display the detailed information about the VRRP group on Router B.

[RouterB-Ethernet1/1] display vrrp ipv6 verbose

IPv6 Standby Information:

Run Mode : Standard

Run Method : Virtual MAC

This manual is related to the following products: