R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide
157
# Configure an IPv6 static route with destination IP address 2001::/64 and next hop address
3001::1.
[RouterB] ipv6 route-static 2001:: 64 3001::1
3. Configure the host:
# Enable IPv6 for the host to obtain an IPv6 address automatically through IPv6 ND.
# Execute the ping ipv6 command on Router A to verify the connectivity between Router A and
Router B.
[RouterA] ping ipv6 3001::1
PING 3001::1 : 56 data bytes, press CTRL_C to break
Reply from 3001::1
bytes=56 Sequence=0 hop limit=64 time = 3 ms
Reply from 3001::1
bytes=56 Sequence=1 hop limit=64 time = 3 ms
Reply from 3001::1
bytes=56 Sequence=2 hop limit=64 time = 3 ms
Reply from 3001::1
bytes=56 Sequence=3 hop limit=64 time = 3 ms
Reply from 3001::1
bytes=56 Sequence=4 hop limit=64 time = 5 ms
--- 3001::1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 3/3/5 ms
# Display neighbor information for GigabitEthernet 2/0/2 on Router A.
[RouterA] display ipv6 neighbors interface gigabitethernet 2/0/2
Type: S-Static D-Dynamic
IPv6 Address Link-layer VID Interface State T Age
FE80::215:E9FF:FEA6:7D14 0015-e9a6-7d14 N/A GE2/0/2 STALE D 1238
2001::15B:E0EA:3524:E791 0015-e9a6-7d14 N/A GE2/0/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. All of the IPv6 global unicast addresses configured on
the interface are displayed.
[RouterA] display ipv6 interface gigabitethernet 2/0/1
GigabitEthernet2/0/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:FF00:0
FF02::1:FF00:1