Chapter 7 Service Configuration
Command
Function
zte(cfg)#
set dhcp option82 ani
<
string
>
This configures access
node identifier.
The parameter < string
> can not be more than
50 characters.
zte(cfg)#
set dhcp option82 sub-option
port
<
portname
>{
circuit-ID
{
on
{
cisco
|
china-tel
|
dsl-forum
}|
off
}|
subscriber-ID
{
on
<
string
>
off
}|
reserve
{
on tag
<
1-255
>
value
<
string
>|
off
}}
This sets DHCP
Option82 sub-option
based on port.
circuit-ID: If set
circuit-id as CHINA-TEL
or DSL-Forum, the
switch access node
must be set at first.
zte(cfg)#
show dhcp
This displays DHCP
global information.
zte(cfg)#
show dhcp snooping
This displays
DHCP Snooping
configurations.
zte(cfg)#
show dhcp snooping binding
[
port
<
portname
>]
This displays
information of DHCP
Snooping dynamic
binding table.
zte(cfg)#
show dhcp option82
This displays
information of DHCP
Option82 configuration
information.
zte(cfg)#
show dhcp option82 ani
This displays the
information of DHCP
Option82 access node
identifier.
zte(cfg)#
show dhcp option82 port
<
portname
>
This displays DHCP
Option82 configuration
information based on
port.
DHCP Snooping/Option82
Configuration Example
As shown in
Figure 65
, PC can get IP address from specified DHCP
server and prevent other illegal DHCP servers from affecting hosts
in the network.
Confidential and Proprietary Information of ZTE CORPORATION
135