Zte ZXR10 3800-8 Installation instructions

ZXR10
Router/EthernetSwitch
CommandManual(EthernetSwitchVolume)
Version4.8.22
ZTECORPORATION
ZTEPlaza,KejiRoadSouth,
Hi-TechIndustrialPark,
NanshanDistrict,Shenzhen,
P .R.China
518057
Tel:(86)75526771900
Fax:(86)75526770801
URL:http://ensupport.zte.com.cn
E-mail:[email protected]

LEGALINFORMATION
Copyright©2006ZTECORPORATION.
Thecontentsofthisdocumentareprotectedbycopyrightlawsandinternationaltreaties.Anyreproductionordistributionof
thisdocumentoranyportionofthisdocument,inanyformbyanymeans,withoutthepriorwrittenconsentofZTECORPO-
RATIONisprohibited.Additionally,thecontentsofthisdocumentareprotectedbycontractualcondentialityobligations.
Allcompany,brandandproductnamesaretradeorservicemarks,orregisteredtradeorservicemarks,ofZTECORPORATION
oroftheirrespectiveowners.
Thisdocumentisprovided“asis” ,andallexpress,implied,orstatutorywarranties,representationsorconditionsaredis-
claimed,includingwithoutlimitationanyimpliedwarrantyofmerchantability,tnessforaparticularpurpose,titleornon-in-
fringement.ZTECORPORATIONanditslicensorsshallnotbeliablefordamagesresultingfromtheuseoforrelianceonthe
informationcontainedherein.
ZTECORPORATIONoritslicensorsmayhavecurrentorpendingintellectualpropertyrightsorapplicationscoveringthesubject
matterofthisdocument.ExceptasexpresslyprovidedinanywrittenlicensebetweenZTECORPORATIONanditslicensee,
theuserofthisdocumentshallnotacquireanylicensetothesubjectmatterherein.
ZTECORPORATIONreservestherighttoupgradeormaketechnicalchangetothisproductwithoutfurthernotice.
UsersmayvisitZTEtechnicalsupportwebsitehttp://ensupport.zte.com.cntoinquirerelatedinformation.
TheultimaterighttointerpretthisproductresidesinZTECORPORATION.
RevisionHistory
RevisionNo.RevisionDateRevisionReason
R1.0Dec.28,2008FirstEdition
SerialNumber:sjzl20086535

AboutThisManual..............................................i
CommandIntroduction.....................................1
ManualUseGuide...........................................................1
DescriptionofMan-MachineCommands.............................1
AuxiliaryFunction...........................................................2
CommandMode.............................................................3
MACConguration.............................................7
macadd........................................................................7
macaging-time..............................................................8
macdelete....................................................................8
maclter......................................................................9
maclearn.....................................................................10
maclearning.................................................................10
maclimit-num..............................................................11
macprotect..................................................................11
macprotecttime...........................................................12
macto-static................................................................12
maclearning-strategy....................................................13
mactransparent-control.................................................13
macunknow-lter-limit-num...........................................14
macunknowsource-lter................................................14
showmac.....................................................................15
showmacaging-time.....................................................16
showmaclearning.........................................................17
showmaclimit-num......................................................17
showmacport-info........................................................17
showmacprotect..........................................................18
showmacrunning.........................................................19
VLANConguration.........................................21
acceptableframetypes..................................................21
ingressltering.............................................................22
interface......................................................................22
name...........................................................................23
showqinq.....................................................................23
showvlan.....................................................................24
showvlanprivate-map...................................................25
showvlanprotocol-map.................................................26

showvlansubnet-map...................................................27
showvlantranslate........................................................27
swicthport....................................................................28
switchportaccessvlan...................................................29
switchporthybridnativevlan..........................................30
switchporthybridvlan....................................................30
switchportmode............................................................31
switchportqinq(GlobalConguration)..............................32
switchportqinq(PortConguration).................................32
switchporttrunknativevlan............................................33
switchporttrunkvlan.....................................................34
vlan(GlobalConguration).............................................34
vlan(VLANDatabaseConguration).................................35
vlandatabase...............................................................35
vlanlist........................................................................36
vlanprivate-map...........................................................36
vlanprotocol-map.........................................................38
vlanprotocol-map(PortEnabling).....................................38
vlanqinq......................................................................39
vlansubnet-map...........................................................41
vlansubnet-map(PortEnabling).....................................42
vlantranslate................................................................42
SuperVLANConguration................................45
arp-broacast.................................................................45
interfacesupervlan........................................................46
inter-subvlan-routing.....................................................46
ipsupervlanpool...........................................................47
ip-pool-lter.................................................................48
showsupervlan.............................................................48
showsupervlanip-pool...................................................49
subvlan........................................................................50
supervlan.....................................................................51
supervlaninter-subvlan-routing.......................................52
STPConguration............................................53
instance.......................................................................53
name...........................................................................54
revision........................................................................55
showspanning-treeinconsistentports...............................55
showspanning-treeinstance...........................................56
showspanning-treeinterface..........................................56

showspanning-treemstconguration..............................57
showspanning-treestatistics..........................................57
showspanning-treetransparent......................................58
spanning-tree...............................................................59
spanning-treebpduguard...............................................59
spanning-treeedged-port...............................................60
spanning-treeforward-delay...........................................61
spanning-treeguard......................................................61
spanning-treehello-time................................................62
spanning-treelinktype...................................................62
spanning-treemax-age..................................................63
spanning-treemode.......................................................63
spanning-treemstconguration......................................64
spanning-treemsthmd5-digest.......................................64
spanning-treemsthmd5-key..........................................65
spanning-treemstinstance(GlobalConguration).............65
spanning-treemstinstance(PortConguration)................66
spanning-treemstmax-hops..........................................67
spanning-treepacket-type..............................................67
spanning-treepath-cost.................................................68
LACPConguration.........................................69
clearlacp.....................................................................69
interface......................................................................69
lacpport-priority...........................................................70
lacpsystem-priority.......................................................70
lacptimeout.................................................................71
showlacp.....................................................................71
smartgroup...................................................................72
smartgroupload-balance................................................73
smartgroupmode..........................................................73
VBASConguration.........................................75
vbasenable..................................................................75
vbasport-type..............................................................75
MACPINGConguration..................................77
mac-ping......................................................................77
l2trace.........................................................................78
UDLDConguration.........................................79
udldenable...................................................................79
udldmessagetimer.......................................................80

udldmode....................................................................80
udldrecoveryenable......................................................81
udldrecoverytimer.......................................................82
udldreset.....................................................................82
showudld.....................................................................83
EthernetOAMConguration............................85
setethernet-oamdebug.................................................85
setethernet-oamenable................................................86
setethernetoamenable(interfaceconguration)...............86
setethernet-oamlink-monitorenable..............................87
setethernet-oamlink-monitorframe-period......................87
setethernet-oamlink-monitorframe-seconds...................88
setethernet-oamlink-monitorsymbol-period...................88
setethernet-oamoui.....................................................89
setethernet-oamperiodtimeoutmode.............................89
setethernet-oamportlink-monitorframe.........................90
setethernet-oamremote-loopbackstart...........................90
setethernet-oamremote-loopbacktime-out.....................91
showethernet-oam........................................................91
showethernet-oaminterfacediscovery............................91
showethernet-oaminterfacelink-monitor.........................92
showethernet-oaminterfacestatistics.............................92

AboutThisManual
PurposeThismanualprovidesproceduresandguidelinesthatsupportthe
operationofZXR10routerandEthernetswitch.
Intended
Audience
Thismanualisintendedforengineersandtechnicianswhoperform
operationactivitiesonZXR10routerandEthernetswitch.
WhatIsinThis
Manual
Thismanualcontainsthefollowingchapters:
ChapterSummary
Chapter1,Command
Introduction
Thischapterdescribestheusemethod
ofthecommandmanual,command
description,formatconvention,auxiliary
functionandmode.
Chapter2,MAC
Conguration
Thischapterdescribestheconguration
andviewcommandsoftheMACprotocol.
Chapter3,VLAN
Conguration
ThischapterdescribesVLANconguration
andviewcommands.
Chapter4,SUPERVLAN
Conguration
ThischapterdescribesSUPERVLAN
congurationandviewcommands.
Chapter5,STP
Conguration
ThischapterdescribesSpanningTree
Protocol(STP)congurationandview
commands.
Chapter6,LACP
Conguration
ThischapterdescribesLinkAggregation
ControlProtocol(LACP)congurationand
reviewcommands.
Chapter7,VBASControl
Conguration
Thischapterdescribestheconguration
andviewcommandsrelatedtoVirtual
BroadbandAccessServer(VBAS).
Chapter8,MACPING
Conguration
Thischapterdescribestheconguration
andviewcommandsrelatedtoMACPING.
Chapter9,UDLD
Conguration
Thischapterdescribestheconguration
andviewcommandsrelatedto
UnidirectionalLinksDetection(UDLD).
Chapter10,Thischapterdescribestheconguration
andviewcommandsrelatedtoethernet
linkOAMcongurationanddiaplay
commands.
Related
Documentation
Thefollowingdocumentationisrelatedtothismanual:
�ZXR10Router/EthernetSwitchCommandManual(Command
IndexVolume)
�ZXR10Router/EthernetSwitchCommandManual(BasicCon-
gurationVolumeI)
CondentialandProprietaryInformationofZTECORPORATIONi

ZXR10CommandManual(EthernetSwitchVolume)
�ZXR10Router/EthernetSwitchCommandManual(BasicCon-
gurationVolumeII)
�ZXR10Router/EthernetSwitchCommandManual(BasicCon-
gurationVolumeIII)
�ZXR10Router/EthernetSwitchCommandManual(RemoteAc-
cessVolume)
�ZXR10Router/EthernetSwitchCommandManual(IPv4Rout-
ingVolumeI)
�ZXR10Router/EthernetSwitchCommandManual(IPv4Rout-
ingVolumeII)
�ZXR10Router/EthernetSwitchCommandManual(MPLSVol-
ume)
�ZXR10Router/EthernetSwitchCommandManual(QoSVol-
ume)
�ZXR10Router/EthernetSwitchCommandManual(Security
Volume)
�ZXR10Router/EthernetSwitchCommandManual(Network
ManagementVolume)
�ZXR10Router/EthernetSwitchCommandManual(Multicast
Volume)
�ZXR10Router/EthernetSwitchCommandManual(IPv6Vol-
ume)
�ZXR10Router/EthernetSwitchCommandManual(Voiceand
VideoServiceVolume)
iiCondentialandProprietaryInformationofZTECORPORATION

Chapter1
CommandIntroduction
TableofContents
ManualUseGuide...............................................................1
DescriptionofMan-MachineCommands.................................1
AuxiliaryFunction...............................................................2
CommandMode.................................................................3
ManualUseGuide
Thecommandsinothervolumesareclassiedbyfunctionalmod-
ules,andeachfunctionalmodulecorrespondstoachapterand
thecommandsinthechapterareorganizedintheformoflevel2
directoryandintheorderofa–z.
Tosearchacommand,doasfollows:
1.FindthedesiredcommandbyreferringtoZXR10Router/Eth-
ernetSwitchCommandManual—CommandIndex.
2.Findcommanddetailsbythevolume,chapter/sectionandpage
oftheobtainedcommand.
DescriptionofMan-Machine
Commands
EachMMLcommandisdescribedbythefollowingitems:
�Function
Itdescribesthefunctionimplementedbythiscommand.
�CommandMode
Itdescribesthemodeinwhichthiscommandcanbeexecuted.
�Format
Itdescribesthecompleteformatofthiscommand,including
thenoformatifpossible.
�ParameterDescription
Itdescribesparametersinthiscommandintheformandpre-
scribestherangeanddefaultvalue.Ifdifferentproductshave
CondentialandProprietaryInformationofZTECORPORATION1

ZXR10CommandManual(EthernetSwitchVolume)
differentparameterrangesordefaultvalues,anadditional
formisusedfordescription.
�Default
Thedefaultvalueisavailableinthecasethatthiscommandis
notset.Thedefaultparametervalueisnotdescribedherefor
valueselection.
Additionaldescriptionshallbegivenifdifferentproductshave
differentdefaultvalues.
�Instructions
Firstdescribestheplatformversioninformationaboutthis
command.Forexample,“TheplatformversionX.X.XXorlater
supportsthiscommand”indicatesthiscommandisprovided
fromthebeginningoftheplatformversionX.X.XX.Thiscom-
mandisprovidedfromtheplatformversion2.6bydefault.
Seconddescribestheusemethodandprecautionsofthiscom-
mand.
�Example
Itdescribestheuseofthiscommandinanexample.
�RelatedCommands
Liststhecommand(s)relatedtothiscommand.
�HistoryCommand
Itdescribeshistoryversioninformationrelatedtothiscom-
mandifacommandischangedafterversionupgrade.
Donotdescribethehistorycommandifthisentrydoesnotexist.
AuxiliaryFunction
TheauxiliaryfunctionforZXR10devicesisasfollows.
1.Inanycommandmode,enteraquestionmark(?)afterthe
DOSpromptofthesystem,alistofavailablecommandsinthe
commandmodewillbedisplayed.Withthecontext-sensitive
helpfunction,thekeywordsandparameterlistsofanycom-
mandscanbeobtained.
i.Inanycommandmode,enteraquestionmark"?"afterthe
DOSpromptofthesystem,andalistofallcommandsin
themodeandthebriefdescriptionofthecommandswill
bedisplayed.
ii.Inputthequestionmarkbehindacharacterorcharacter
stringtoviewthelistofcommandsorkeywordsbeginning
withthischaracterorcharacterstring.Notethatthereis
nospacebetweenthecharacter(string)andthequestion
mark.
iii.PressTABbehindthecharacterstring.Ifthecommandor
keywordbeginningwiththischaracterstringisunique,it
shallbecompletedwithaspaceattheend.Notethatthere
isnospacebetweenthecharacterstringandtheTAB.
2CondentialandProprietaryInformationofZTECORPORATION

Chapter1CommandIntroduction
iv.Inputaquestionmarkafteracommand,akeywordora
parameter ,thenextkeywordorparametertobeinputwill
belisted,andalsoabriefexplanationwillbegiven.Note
thataspacemustbeenteredbeforethequestionmark.
2.Ifincorrectcommand,keywordorparameterisinput,theerror
isolationisofferedwith^intheuserinterfaceafteryoupress
ENTER.The^isbelowtherstcharacteroftheinputincorrect
command,keywordorparameter .
3.ZXR10router/Ethernetswitchallowsthecommandorkey-
wordtobeabbreviatedintoacharacterorcharacterstringthat
uniquelyidentiesthiscommandorkeyword.Forexample,the
showcommandcanbeabbreviatedtoshorsho.
4.Theuserinterfacesupportsthefunctionofrecordinginput
commands.Amaximumoftenhistorycommandscanbe
recorded.Thefunctionisveryusefulinre-invocationofalong
orcomplicatedcommandoringress.
Tore-invokeacommandfromtherecordbuffer ,conductone
ofthefollowingoperations,asshownbelow.
CommandFunction
PressCTRL-Porthe
uparrowkey
Re-invokesthelatestcommandinthe
recordbuffer .Repeatthesekeysto
invokeoldcommandsforwards.
PressCTRL-Northe
downarrowkey
Rollsthecommandsdownward.Whenthe
lastcommandlineisreached,onemore
operationwillrollthecommandsfromthe
beggingofthebuffercyclically.
Inanymode,executetheshowhistorycommandtolistthe
latestcommandsinputinthismode.
CommandMode
Thecommandmodesinthismanualareshownbelow.
ModePromptAdmis-
sion
Mode
Entry
Command
Functions
Exec
mode
ZXR10>entersdirectly
afterlogging
thesystem
Viewssimple
information
Privi-
leged
mode
ZXR10#Exec
mode
enableCongures
system
parameters
Global
cong-
uration
mode
ZXR10(config)#Privi-
leged
mode
configure
terminal
Congures
globalservice
parameters
CondentialandProprietaryInformationofZTECORPORATION3

ZXR10CommandManual(EthernetSwitchVolume)
ModePromptAdmis-
sion
Mode
Entry
Command
Functions
Inter-
face
cong-
uration
mode
ZXR10(config-
if)#Global
cong-
uration
mode
interfaceCongures
port
parameters
andselects
aporttype
dependingon
thekeyword
Subin-
terface
mode
ZXR10(config-
subif)#Global
cong-
uration
mode
interfaceCongures
subinterface
parameters
ofthe
NPCI/NPCT
VLAN
data-
base
cong-
uration
mode
ZXR10(vlan-
db)#Privi-
leged
mode
vlandatab
ase
Createsor
deletesVLANs
inbatches
VLAN
cong-
uration
mode
ZXR10(config-
vlan)#Global
cong-
uration
mode
vlanCongures
VLAN
parameters
MSTP
cong-
uration
mode
ZXR10(config-
mstp)#Global
cong-
uration
mode
spanning-t
reemstconf
iguration
Congures
MSTP
parameters
Basic
ACL
cong-
uration
mode
ZXR10(config-
basic-acl)#Global
cong-
uration
mode
aclbasicDenesbasic
ACLrule
Ex-
tended
ACL
cong-
uration
mode
ZXR10(config-
ext-acl)#Global
cong-
uration
mode
aclextendDenes
extendedACL
rule
Line
cong-
uration
mode
ZXR10(config-
line)#Global
cong-
uration
mode
lineconsole
0
line<1~64
>(GAR)
Congures
parameters
relatedto
serialport
andtelnet
connection
Layer
2ACL
cong-
uration
mode
ZXR10(config-
link-acl)#Global
cong-
uration
mode
acllinkDeneslayer
2ACLrule
4CondentialandProprietaryInformationofZTECORPORATION

Chapter1CommandIntroduction
ModePromptAdmis-
sion
Mode
Entry
Command
Functions
Hybrid
ACL
cong-
uration
mode
ZXR10(config-
hybd-acl)#Global
cong-
uration
mode
aclhybridDeneshybrid
ACLrule
Router
stand-
ardACL
mode
ZXR10(config-
std-nacl)#Global
cong-
uration
mode
ipaccess-listDenesrouter
standardACL
rule
Router
ex-
tended
ACL
mode
ZXR10(config-
ext-nacl)#Global
cong-
uration
mode
ipaccess-listDenesrouter
extendedACL
rule
routerripCongures
RIP
parameters
routerospfCongures
OSPF
parameters
routerisisCongures
IS-IS
parameters
routerbgpCongures
BGP
parameters
router
pimsm
Congures
PIM-SM
parameters
ipv6router
rip
Congures
RIPng
parameters.
Route
cong-
uration
mode
ZXR10(config-
router)#Global
cong-
uration
mode
ipv6router
ospf
Congures
OSPFv3
parameters
VRF
cong-
uration
mode
ZXR10(config-
vrf)#Global
cong-
uration
mode
ipvrfCongures
VRF
parameters
VFIcon-
gu-
ration
mode
ZXR10(config-
vfi)#Global
cong-
uration
mode
vfiCongures
VPLSrelated
parameters
CondentialandProprietaryInformationofZTECORPORATION5

ZXR10CommandManual(EthernetSwitchVolume)
ModePromptAdmis-
sion
Mode
Entry
Command
Functions
Route
cong-
uration
mode
(RIP)
address-fam
ilyipv4vrf
Congures
RIPVRF
parameters
IPv4ad-
dress
family
cong-
uration
mode
ZXR10(config-
router-af)#
Route
cong-
uration
mode
(BGP)
address-fam
ilyvpnv4
address-fam
ilyipv4vrf
Congures
BGPVPN
andVRF
parameters
Route
cong-
uration
mode
(BGP4+)
address-fam
ilyipv6
Congures
BGP4+
unicast
addressfamily
IPv6
unicast
address
family
cong-
uration
mode
ZXR10(config-
router-af)#
Route
cong-
uration
mode
(IS-
ISv6)
address-fam
ilyipv6
Congures
IS-ISv6
addressfamily
Route
map
cong-
uration
mode
ZXR10(config-
route-map)#Global
cong-
uration
mode
route-mapCongures
routemap
matchingitem
andoperation
Channe-
lization
cong-
uration
mode
ZXR10(config-
control)#Global
cong-
uration
mode
controlCongures
channelization
force1,ce3
andcpos3
Dial
peer
cong-
uration
mode
ZXR10(config-
voip100)#Global
cong-
uration
mode
dial-peer
voice
Congures
business
relatedto
integrated
service
Voice
port
cong-
uration
mode
ZXR10(config-
voice-port)#Global
cong-
uration
mode
voice-portCongures
voiceservice
IPSec
cong-
uration
mode
ZXR10(config-
ipsec)#Global
cong-
uration
mode
ipsecCongures
IPv6IPSec
protection
Diagno-
sismode
ZXR10(diag)#Privi-
leged
mode
diagnoseTestsCPU
andmemory
usage
6CondentialandProprietaryInformationofZTECORPORATION

Chapter2
MACConfiguration
TableofContents
macadd............................................................................7
macaging-time..................................................................8
macdelete........................................................................8
maclter..........................................................................9
maclearn.........................................................................10
maclearning.....................................................................10
maclimit-num..................................................................11
macprotect......................................................................11
macprotecttime...............................................................12
macto-static....................................................................12
maclearning-strategy........................................................13
mactransparent-control.....................................................13
macunknow-lter-limit-num...............................................14
macunknowsource-lter....................................................14
showmac.........................................................................15
showmacaging-time.........................................................16
showmaclearning.............................................................17
showmaclimit-num..........................................................17
showmacport-info............................................................17
showmacprotect..............................................................18
showmacrunning.............................................................19
macadd
PurposeUsethiscommandtoaddaMACaddressentry.
CommandModesGlobalconguration
Syntaxmacadd{static|permanent}<mac-address>interface<por
t-name>[vlan<vlan-id>|all-owner-vlans]
Syntax
DescriptionstaticStaticaddress,whichdoesnottakepartin
aging,andcannotbewrittenintodatabase
permanentPermanentaddress,whichdoesnottakepart
inaging,andcanbewrittenintodatabase
<mac-address>MACaddressindotteddivisionformat
interface<port-na
me>
Ethernetphysicalport
CondentialandProprietaryInformationofZTECORPORATION7

ZXR10CommandManual(EthernetSwitchVolume)
vlan<vlan-id>VLANIDwheretheMACaddressislocated
all-owner-vlansAllVLANswheretheinterfaceislocated
InstructionsIftheparametervlan<vlan-id>isnotspecied,thePVIDonthe
portisselected.Usetheshowrunning-configcommandtodis-
playtheconguredpermanentMACaddress.
ExampleThisexampledescribeshowtoaddthestaticMACaddress
000a.010c.e2c6totheEthernetportfei_1/1.
ZXR10(config)#macaddstatic000a.010c.e2c6interfacefei_1/1
Related
Commands
macdelete
showmac
macaging-time
PurposeUsethiscommandtocongurethedynamicMACaddressaging
timeofthedevice.
CommandModesGlobalconguration
Syntaxmacaging-time<time>
Syntax
Description<time>Agingtime,inseconds,range:60~630,
default:300seconds
InstructionsIftheMACaddressagingtimeissettonseconds,thedynamic
MACaddressagesinthetimerange:n~2n.
ExampleThisexampledescribeshowtosettheMACaddressagingtimeof
thedeviceto180seconds.
ZXR10(config)#macaging-time180
Related
Commands
showmacaging-time
showmacrunning
macdelete
PurposeUsethiscommandtodeleteaMACaddressentry.
CommandModesGlobalconguration
Syntaxmacdelete{<mac-address>|interface<port-name>|
vlan}[<vlan-id>]
Syntax
Description<mac-address>MACaddressindotteddivisionformat
interface<port-na
me>
Ethernetphysicalport
8CondentialandProprietaryInformationofZTECORPORATION

Chapter2MACConguration
vlanDeleteaMACaddressentryaccordingto
someVLAN
<vlan-id>VLANIDwheretheMACaddressislocated
ExampleThisexampledescribeshowtodeletetheMACaddress
(000a.010c.e2c6)andthendeleteallMACaddressesonthe
Ethernetportfei_1/1.
ZXR10(config)#macdelete000a.010c.e2c6
ZXR10(config)#macdeleteethernetfei_1/1
Related
Commands
macadd
showmac
macfilter
PurposeUsethiscommandtotolterdataframesaccordingtotheMAC
address.
CommandModesGlobalconguration
Syntaxmacfilter{source|both|destination}<mac-address><vlan
-id>
Syntax
DescriptionsourceFiltersdataframesaccordingtothesource
MACaddress.
bothFiltersdataframesaccordingtothesourceor
destinationMACaddress
destinationFiltersdataframesaccordingtothe
destinationMACaddress
<mac-address>MACaddressindotteddivisionformat
<vlan-id>VLANidentier ,range:1~4094
Instructions�Thereisnoneedtospecifythephysicalportwhenrunningthe
macfiltercommand.Thedataframesonanyportareltered.
�TocanceltheMACaddresslteringconguredbythecom-
mand,runthemacdeletecommandtodeletetheMACad-
dress.
ExampleThisexampledescribeshowtoltertheVLAN1dataframeswith
theMACaddress000a.010c.e2c6.
ZXR10(config)#macfiltersource000a.010c.e2c6vlan1
Related
Commands
macdelete
showmac
CondentialandProprietaryInformationofZTECORPORATION9

ZXR10CommandManual(EthernetSwitchVolume)
maclearn
PurposeUsethiscommandtoconguretheHIGIHinterfacetolearnthe
MACaddress.
CommandModesGlobalconguration
Syntaxmaclearn{normal|special}
Syntax
DescriptionnormalPermitstheHIGIGinterfacetolearnMAC
specialDeniestheHIGIGinterfacetolearnMAC
InstructionsThiscommandissupportedbyZXR10T160G/7800.
ExampleThisexampledescribeshowtoforbidtheHIGIGinterfacefrom
learningtheMACaddress.
ZXR10(config)#maclearnspecial
Related
Commands
showmacrunning
maclearning
PurposeUsethiscommandtocongurethephysicalporttodynamically
learntheMACaddress.
CommandModesGlobalconguration
Syntaxmaclearning{[interface<port-name>]|[vlan<vlan-id>]}{di
sable|enable}
Syntax
Descriptioninterface<port-na
me>
Ethernetphysicalinterface
vlan<vlan-id>VlanID,range:1~4094
disableDisablestheMACaddresslearning
enableEnabletheMACaddresslearning
Instructions�AftertheMACaddresslearningisdisabledonsomeinterface,
thisinterfacedoesnotdynamicallylearnstheMACaddress,
butvariousMACaddressescanbeaddedontheinterfaceby
manualconguration.
�ZXR10T160GonlysupportsthecongurationofdynamicMAC
addresslearningonthephysicalinterface.
ExampleThisexampledescribeshowtodisabletheEthernetinterface
fei_1/1tolearntheMACaddress.
ZXR10(config)#maclearningethernetfei_1/1disable
Related
Commands
showmaclearning
showmacrunning
10CondentialandProprietaryInformationofZTECORPORATION

Chapter2MACConguration
showmacport-info
maclimit-num
PurposeUsethiscommandtocongurethenumberoftheMACaddresses
thatthephysicalportcandynamicallylearn.
CommandModesGlobalconguration
Syntaxmaclimit-num[interface<port-name>]<max-number>
Syntax
Descriptioninterface<port-na
me>
Ethernetphysicalinterface
<max-number>MaximumnumberoftheMACaddressesthat
canbedynamicallylearned,range:1~6384
Instructions�Ifthe<max-number>valueissetto0,itmeansthatthenum-
beroftheMACaddresslearningisnotlimitedontheinterface.
�ZXR10T160GonlysupportstosetthenumberoftheMACad-
dressesthatthephysicalinterfacecandynamicallylearn.
ExampleThisexampledescribeshowtosetthenumberoftheMACad-
dressesthattheEthernetinterfacefei_1/1candynamicallylearn
to1000.
ZXR10(config)#maclimit-numethernetfei_1/11000
Related
Commands
macprotect
macprotecttime
showmaclimit-num
showmacrunning
macprotect
PurposeUsethiscommandtoenableordisabletheporttoenterthedy-
namicMACaddresslearningprotectionstate.
CommandModesGlobalconguration
Syntaxmacprotect[interface<port-name>]{disable|enable}
Syntax
Descriptioninterface<port-na
me>
Ethernetphysicalinterface
disableDisablestheMACaddresslearningprotection
enableEnablestheMACaddresslearningprotection
InstructionsThiscommandisusedtogetherwiththemacprotecttimeandm
aclimit-numcommands.AftertheprotectionoftheMACaddress
CondentialandProprietaryInformationofZTECORPORATION11

ZXR10CommandManual(EthernetSwitchVolume)
learningisset,theprotectiontimeiftheMACaddresslearningon
theinterfaceisinabnormalstatusandthenumberoftheMAC
addressesthattheportcanlearnneedsetting.
ZXR10T160Gonlysupportsthecongurationofprotectionstate
onthephysicalinterface.
ExampleThisexampledescribeshowtoconguretheEthernetinterface
fei_1/1toprotecttheMACaddresslearning.
ZXR10(config)#macprotectethernetfei_1/1enable
Related
Commands
maclimit-num
macprotecttime
showmacprotect
macprotecttime
PurposeUsethiscommandtoconguretheprotectiontimewhentheMAC
addresslearningontheinterfaceisinabnormalstatus.
CommandModesGlobalconguration
Syntaxmacprotecttime<time>
Syntax
Description<time>ProtectiontimeoftheMACaddresslearning,
inseconds,range:0~3600
Instructions�Onlyoneprotectiontimecanbesetforthewholeswitch.
�Thecommandwillnotbeeffectiveuntilthemacprotectcom-
mandiscongured.
ExampleThisexampledescribeshowtosetthenumberoftheMACad-
dressesthattheEthernetinterfacefei_1/1canlearnto1000,and
congurethisinterfacetoprotecttheMACaddresslearning.And
theprotectiontimeis500seconds.
ZXR10(config)#maclimit-numethernetfei_1/11000
ZXR10(config)#macprotectethernetfei_1/1enable
ZXR10(config)#macprotecttime500
Related
Commands
maclimit-num
macprotect
showmacprotect
showmacrunning
macto-static
PurposeUsethiscommandtotranslatealldynamicMACaddresseslearned
bytheinterfaceintostaticMACaddresses.
CommandModesGlobalconguration
12CondentialandProprietaryInformationofZTECORPORATION
Other manuals for ZXR10 3800-8
15
Table of contents
Other Zte Network Router manuals

Zte
Zte MC801A1 User manual

Zte
Zte MC888 Pro User manual

Zte
Zte ZXHN H268A User manual

Zte
Zte ZXR10 3800-8 Installation instructions

Zte
Zte MF286R User manual

Zte
Zte ZXR10 3800-8 Installation instructions

Zte
Zte ZXR10 3800-8 User manual

Zte
Zte R800 User manual

Zte
Zte Mobile Wi-Fi R209-Zr User manual

Zte
Zte MF10 User manual
Popular Network Router manuals by other brands

Nortel
Nortel 1750 Installation

ZyXEL Communications
ZyXEL Communications AMG1202-T10A user guide

Energy Imports
Energy Imports GF1V user guide

Cradlepoint
Cradlepoint AER1600 Series quick start guide

DeWalt
DeWalt DW621 instruction manual

ZyXEL Communications
ZyXEL Communications EMG3525-T50B Service Set-up Guide