Chapter7ServiceConguration
CommandFunction
zte(cfg)#setdhcpoption82ani<string>
Thisconguresaccess
nodeidentier .
Theparameter<string
>cannotbemorethan
50characters.
zte(cfg)#setdhcpoption82sub-option
port<portname>{circuit-ID{on
{cisco|china-tel|dsl-forum}|off}|
subscriber-ID{on<string>off}|reserve
{ontag<1-255>value<string>|off}}
ThissetsDHCP
Option82sub-option
basedonport.
circuit-ID:Ifset
circuit-idasCHINA-TEL
orDSL-Forum,the
switchaccessnode
mustbesetatrst.
zte(cfg)#showdhcpThisdisplaysDHCP
globalinformation.
zte(cfg)#showdhcpsnoopingThisdisplays
DHCPSnooping
congurations.
zte(cfg)#showdhcpsnoopingbinding
[port<portname>]
Thisdisplays
informationofDHCP
Snoopingdynamic
bindingtable.
zte(cfg)#showdhcpoption82Thisdisplays
informationofDHCP
Option82conguration
information.
zte(cfg)#showdhcpoption82aniThisdisplaysthe
informationofDHCP
Option82accessnode
identier .
zte(cfg)#showdhcpoption82port
<portname>
ThisdisplaysDHCP
Option82conguration
informationbasedon
port.
DHCPSnooping/Option82
ConfigurationExample
AsshowninFigure65,PCcangetIPaddressfromspeciedDHCP
serverandpreventotherillegalDHCPserversfromaffectinghosts
inthenetwork.
CondentialandProprietaryInformationofZTECORPORATION135