HP MSR2000/3000/4000 Router Series Layer 3 - IP Services Configuration Guide

198
Configuration procedure
1. Configure Router A:
# Configure a global unicast address for interface Ethernet 1/1.
<RouterA> system-view
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] ipv6 address 3001::1/64
[RouterA-Ethernet1/1] quit
# Configure a global unicast address for interface Ethernet 1/2 and enable it to advertise RA
messages (an interface does not advertises RA messages by default).
[RouterA] interface ethernet 1/2
[RouterA-Ethernet1/2] ipv6 address 2001::1/64
[RouterA-Ethernet1/2] undo ipv6 nd ra halt
[RouterA-Ethernet1/2] quit
2. Configure Router B:
# Configure a global unicast address for interface Ethernet 1/1.
<RouterB> system-view
[RouterB] interface ethernet 1/1
[RouterB-Ethernet1/1] ipv6 address 3001::2/64
[RouterB-Ethernet1/1] quit
# Configure an IPv6 static route to the host.
[RouterB] ipv6 route-static 2001:: 64 3001::1
3. Configure the host:
Enable IPv6 on the host to automatically obtain an IPv6 address through IPv6 ND.
# Display neighbor information for Ethernet 1/2 on Router A.
[RouterA] display ipv6 neighbors interface ethernet 1/2
Type: S-Static D-Dynamic I-Invalid
IPv6 Address Link Layer VID Interface State T Age
FE80::215:E9FF:FEA6:7D14 0015-e9a6-7d14 N/A Eth1/2 STALE D 1238
2001::15B:E0EA:3524:E791 0015-e9a6-7d14 N/A Eth1/2 STALE D 1248
The output shows that the IPv6 global unicast address that the host obtained is
2001::15B:E0EA:3524:E791.
Verifying the configuration
# Display IPv6 interface information on Router A.
[RouterA] display ipv6 interface ethernet 1/1
Ethernet1/1 current state: UP
Line protocol current state: UP
IPv6 is enabled, link-local address is FE80::20F:E2FF:FE00:2
Global unicast address(es):
3001::1, subnet is 3001::/64
Joined group address(es):
FF02::1
FF02::2
FF02::1:FF00:1