ZXR105250SeriesCommandReference
ParameterDescription
port<portlist>Portlist.
trunk<trunklist>
Trunklist.Onlythetrunkswiththeserverattributecanbeenabled
withthesnoopingfunction.
Guidelines
Tomakethesnoopingfunctioneffectiveonthespeciedports/trunks,globallyenablethe
snoopingfunctionandthenenablethesnoopingfunctiononthespeciedports/trunks.
Default
TheDHCPsnoopingfunctionisdisabledonports/trunks.
Example
ThefollowingexampleenablestheDHCPsnoopingfunctiononport10:
zte(cfg)#setdhcpsnoopingaddport10
%DHCPsnooping-and-option82isdisabled(0x40000cf0)
zte(cfg)#setdhcpsnooping-and-option82enable
zte(cfg)#setdhcpsnoopingaddport10
4.25.3setdhcpportserver/cascade/client
Purpose
ThiscommandsetsthepropertyofaportintheDHCPsnoopingfunction.
CommandMode
Globalcongurationmode
Syntax
setdhcpport<1-28>{server|cascade|client}
Parameters
ParameterDescription
<1-28>
Portnumber.Differentdeviceshavedifferentportnumberranges.
Inthesyntax,the5250-28TCdeviceisusedasanexample.
server
CongurestheporttoconnecttotheDHCPsever.Itisatrusted
port.
cascadeCongurestheporttobecascaded.Itisanuntrustedport.
client
CongurestheporttobedirectlyconnectedtotheDHCPclient.It
isanuntrustedport.
4-432
SJ-20131111172707-003|2013-11-27(R1.0)ZTEProprietaryandCondential