Configuration procedure, Verifying the configuration, Dhcpv6 relay agent configuration example – H3C Technologies H3C S12500 Series Switches User Manual
Page 160: Network requirements

147
Task Command
Display DHCPv6 server addresses
specified on the DHCPv6 relay agent.
display ipv6 dhcp relay server-address [ interface interface-type
interface-number ]
Display packet statistics on the DHCPv6
relay agent.
display ipv6 dhcp relay statistics [ interface interface-type
interface-number ]
Clear packets statistics on the DHCPv6
relay agent.
reset ipv6 dhcp relay statistics [ interface interface-type
interface-number ]
141B
DHCPv6 relay agent configuration example
By default, Ethernet, VLAN, and aggregate interfaces are down. To configure such an interface, bring
the interface up by executing the undo shutdown command.
296B
Network requirements
As shown in
796H
Figure 60
, configure the DHCPv6 relay agent on Switch A to relay DHCPv6 packets
between DHCPv6 clients and the DHCPv6 server.
Switch A acts as the gateway of network 1::/64. It sends RA messages to notify the hosts to obtain IPv6
addresses and other configuration parameters through DHCPv6. For more information about RA
messages, see "Configuring IPv6 basics."
Figure 60 Network diagram
297B
Configuration procedure
1.
Configure the DHCPv6 relay agent on Switch A:
# Configure the IPv6 addresses of VLAN-interface 2 and VLAN-interface 3.
[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] ipv6 address 2::1 64
[SwitchA-Vlan-interface2] quit
[SwitchA] interface vlan-interface 3
[SwitchA-Vlan-interface3] ipv6 address 1::1 64
# Enable the DHCPv6 relay agent on VLAN-interface 3 and specify the DHCPv6 server on the
relay agent.
- H3C SR8800 H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S9800 Series Switches