Chapter 4 Service Configuration
DHCPv6 Configuration Instance
l
Configuration Description
This configuration example describes how to configure DHCPv6 snooping/Option82.
As shown in
Figure 4-29
, the PCs can obtain IP addresses from the DHCP server.
Option82 is used to improve the security performance. It is required to prevent illegal
DHCP server from affecting the PCs on the network.
Figure 4-29 DHCPv6 Snooping/Option82 Configuration Instance
l
Configuration Procedure
zte(cfg)#set dhcpv6 snooping enable
zte(cfg)#set dhcpv6 snooping add port 49,50
zte(cfg)#set dhcpv6 port 49 client
zte(cfg)#set dhcpv6 port 50 server
zte(cfg)#set dhcpv6 ip-source-guard add port 49
zte(cfg)#set dhcpv6 option82 enable
zte(cfg)#set dhcpv6 option82 add port 49,50
l
Configuration Verification
zte(cfg)#show dhcpv6 snooping
DHCP v6 snooping is enabled on the following port(s):
PortId
PortType
------
--------
49
Client
50
Server
zte(cfg)#show dhcpv6 option82
DHCP v6 option82 is enabled on the following port(s):
PortId
PortType
------
--------
49
Client
50
Server
zte(cfg)#show dhcpv6 ip-source-guard
4-89
SJ-20120409144109-002|2012-07-02(R1.0)
ZTE Proprietary and Confidential