Chapter2InterfaceConīæguration
Related
Commands
speed
setinterfaceswitch-attribute
Purpose
UsethiscommandtosettheattributesofLayer2andLayer3on
megabitinterfacesandgigabitinterfacesinbatch.
CommandModes
Globalconīæguration
Syntax
setinterfaceswitch-attribute{enable|disable}<port-list>
Syntax
Description
enable
ConīæguringLayerā2Ethernetinterface
attributes
disable
ConīæguringLayerā3Ethernetinterface
attributes
<port-list>
Portlistofthebatchconīæguration
Defaults
AllEthernetports(currently,feiandgei).Forrouters,default
valueisLayerā3attributes.Forswitches,defaultvalueisswitch-
ingattribute.
Instructions
Currently,onlyfei,geiandsmartgroupinterfacessupportthis
function.
Example
ThisexampleshowshowtosettheLayer2attributeonfei_1/1,
fei_1/2andfei_1/3.
ZXR10(config)#setinterfaceswitch-attributeenablefei_1/1-3
Related
Commands
switch-attribute{enable|disable}
setinterfaceunknowcast-li
mit
Purpose
Usethiscommandtosetthelimitrate(inpercent)tounknown
packetsonEthernetportsinbatch.
CommandModes
Globalconīæguration
Syntax
setinterfaceunknowcast-limit<precent-value><port-list>
Syntax
Description
<precent-value>Ratelimittounknownpackets,ranging
1ā100,100bydefault
<port-list>
Speciīæestheportlistofthebatch
conīæguration
Example
Thisexampledescribeshowtosetthelimitratetounknownpack-
etsonportsfei_1/1,fei_1/2andfei_1/3to80%.
ZXR10(config)#setinterfaceunknowcast-limit80fei_1/1-3
ConīædentialandProprietaryInformationofZTECORPORATION51