User manual

Table Of Contents
ZXR105900/5200SeriesUserManual(EthernetSwitchingVolume)
Step
CommandFunction
1
ZXR10(config)#macadd{dynamic|static|perman
ent}<mac-address>interface<port-name>[vlan
<vlan-id>]
WhenaddingMACaddress,if
theVLANIDisnotdesignated
,addaccordingtoportPVID.
2
ZXR10(config)#macdelete{<mac-address>|
interface<port-name>|vlan<vlan-id>}
IfaVLANIDisnotspecied
whiledeletingaMAC
address,allentriesmatching
<mac-address>willbe
deleted.
EnablingMACAddressLearning
MACaddresslearningisenabledonallswitchportsbydefault.
PortscanlearnMACaddressesfreely.ThedevicecanbindMAC
addressestoaport(conguretheseaddressesmanually)when
thesedeviceswillalwaysbeconnectedtothatport.DisableMAC
addresslearningsothattheportwillnolongerlearnMACad-
dresses.
ToenableMACAddresslearningonaport,usethefollowingcom-
mand.
CommandFunction
ZXR10(config)#maclearning{enable|disable|interface
<port-name>{enable|disable}}
ThisenablesMACaddress
learningonaport.
LimitingMACAddressCount
WhentherearetoomayusersonlineandMACaddresstablesize
isnearitsupperlimit,thecountofMACaddresseslearnedbylow
priorityuserportscanbelimited.
LimitingtheMACaddresscountofaportisagoodcountermeasure
againstMACaddressoodattacks.
ForlimitingMACAddresscountonaport,performthefollowing
steps.
CommandFunction
ZXR10(config)#maclimit-num[interface<port-name
>]<max-number>
ThislimitsMACaddresscount
onaport.
MACaddresscountisunlimitedbydefault.T ocancelMACaddress
countlimit,setthelimitto0.
36CondentialandProprietaryInformationofZTECORPORATION