R3721-F3210-F3171-HP High-End Firewalls Network Management Configuration Guide-6PW101

Table Of Contents
704
Task Command
Remarks
Display the DUID of the local
device.
display ipv6 dhcp duid [ | { begin | exclude |
include } regular-expression ]
Available in any view
Stateless DHCPv6 configuration example
Network requirements
Through stateless DHCPv6, Firewall A obtains the DNS server address, domain name, and other
information from the DHCPv6 server.
Firewall B acts as the gateway to send RA messages periodically.
Figure 368 Network diagram
Configuring Firewall B
# Enable the IPv6 packet forwarding function.
<FirewallB> system-view
[FirewallB] ipv6
# Configure the IPv6 address of GigabitEthernet 0/1.
[FirewallB] interface gigabitethernet 0/1
[FirewallB-GigabitEthernet0/1] ipv6 address 1::1 64
# Set the O flag in the RA messages to 1.
[FirewallB-GigabitEthernet0/1] ipv6 nd autoconfig other-flag
# Enable Firewall B to send RA messages.
[FirewallB-GigabitEthernet0/1] undo ipv6 nd ra halt
Configuring Firewall A
# Enable the IPv6 packet forwarding function.
<Firewall> system-view
[Firewall] ipv6
# Enable stateless IPv6 address autoconfiguration on GigabitEthernet 0/1.
[Firewall] interface gigabitethernet 0/1
[Firewall-GigabitEthernet0/1] ipv6 address auto
With this command executed, if GigabitEthernet 0/1 has no IPv6 address configured, Firewall A
automatically generate a link-local address, and sends a router solicitation (RS) message, requesting the
gateway (Firewall B) to reply with an RA message immediately.