F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100

692
<FirewallA> system-view
[FirewallA] ipv6
# Assign a global unicast address for interface GigabitEthernet 0/1.
[FirewallA] interface gigabitethernet 0/1
[FirewallA-GigabitEthernet0/1] ipv6 address 3001::1/64
[FirewallA-GigabitEthernet0/1] quit
# Assign a global unicast addresses for interface GigabitEthernet 0/2 and allow it to advertise RA
messages (no interface advertises RA messages by default).
[FirewallA] interface gigabitethernet 0/2
[FirewallA-GigabitEthernet0/2] ipv6 address 2001::1/64
[FirewallA-GigabitEthernet0/2] undo ipv6 nd ra halt
[FirewallA-GigabitEthernet0/2] quit
2. Configure Firewall B:
# Enable IPv6.
<FirewallB> system-view
[FirewallB] ipv6
# Assign a global unicast address for interface GigabitEthernet 0/1.
[FirewallB] interface gigabitethernet 0/1
[FirewallB-GigabitEthernet0/1] ipv6 address 3001::2/64
[FirewallB-GigabitEthernet0/1] quit
# Configure an IPv6 static route with destination IP address 2001::/64 and next hop address
3001::1.
[FirewallB] 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 Firewall A to verify the connectivity between Firewall A and
Firewall B.
[FirewallA] 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 the neighbor information about GigabitEthernet 0/2 on Firewall A.