Zte ZXR10 3800-8 Installation instructions

ZXR10
Router/EthernetSwitch
CommandManual(BasicCongurationVolumeIII)
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:sjzl20086530

AboutThisManual..............................................i
CommandIntroduction.....................................1
ManualUseGuide...........................................................1
DescriptionofMan-MachineCommands.............................1
AuxiliaryFunction...........................................................2
CommandMode.............................................................3
NATConguration.............................................7
clearipnatstatistics.......................................................7
clearipnattranslations...................................................8
ipnat............................................................................9
ipnatinsidesource.........................................................9
ipnatlogging................................................................11
ipnatmax-entry-number...............................................12
ipnatmultipool.............................................................12
ipnatpool....................................................................12
ipnatservice................................................................13
ipnatslot-number.........................................................13
ipnatstart...................................................................14
ipnatstop....................................................................14
ipnattranslationmaximal..............................................14
ipnattranslationtimeout...............................................15
showipnatcount..........................................................15
showipnatstatistics.....................................................16
showipnattranslations..................................................17
AddressPoolConguration.............................19
clearippoolconict-ip...................................................19
conict-time.................................................................20
distributeippool...........................................................20
exclude........................................................................21
iplocalpool..................................................................21
ippool.........................................................................22
network.......................................................................22
range...........................................................................23
showiplocalpool..........................................................24
TimeRangeConguration...............................25
absolute.......................................................................25
debugtime-range..........................................................26

periodic........................................................................26
showtime-range...........................................................27
time-range...................................................................27
time-rangedisable.........................................................28
time-rangeenable.........................................................28
Event-listConguration...................................29
event-list......................................................................29
interface......................................................................29
logic............................................................................30
noevent-listall.............................................................31
showevent-list..............................................................31
showevent-listreference................................................31
time-range...................................................................32
PortLoopDetectionConguration...................33
loop-detectinterface......................................................33
loop-detectinterfacevlan...............................................34
loop-detectprotect-interface...........................................34
loop-detectreopen-time.................................................35
showloop-detectinterface..............................................35
showloop-detectinterface-detail.....................................36
showloop-detectprotect-interface...................................36
showloop-detectreopen-time.........................................37
ReverseTelnetConguration..........................39
absolute-timeout...........................................................39
disconnectline..............................................................39
line..............................................................................40
password......................................................................40
sessiontimeout.............................................................41
showlinecong............................................................41
transportinput..............................................................41
work-mode...................................................................42
SFLOWConguration......................................43
sowagent...................................................................43
sowcollector...............................................................43
sowenable.................................................................44
sowsample.................................................................44
StackConguration.........................................47
enablestack.................................................................47
disablestack.................................................................47

nvramstack-machine-id.................................................48
nvramstack-member-priority..........................................48
showswitchall-neighbors...............................................48
showswitchall-status....................................................49
showswitchneighbours..................................................49
showswitchstack-ports.................................................50
showswitchstatus........................................................51
DNSProtocolConguration.............................53
ipdomainush-cache...................................................53
ipdomainlookup...........................................................53
ipdomainname............................................................53
ipdomainserver...........................................................54
showipdomain.............................................................54
Debugging.......................................................55
debugall......................................................................57
debugarp.....................................................................58
debugatm....................................................................58
debugbfd.....................................................................59
debugcustom-queue.....................................................59
debugframe-relaylmi....................................................60
debugframe-relaypacket...............................................60
debuggre.....................................................................61
debuggroup-managementaccess....................................61
debuggroup-managementall.........................................62
debuggroup-managementcluster...................................62
debuggroup-managementzdp........................................62
debuggroup-managementztp........................................63
debughdlc...................................................................63
debugip.......................................................................64
debugipbgpall............................................................64
debugipbgpdampening................................................64
debugipbgpevents......................................................64
debugipbgpin.............................................................65
debugipbgpkeepalives.................................................65
debugipbgpout...........................................................65
debugipbgpupdates.....................................................66
debugipdestination......................................................66
debugipdhcp...............................................................66
debugipdhcpclient......................................................67
debugipdomain...........................................................67

debugipicmp...............................................................68
debugipicmpdetail......................................................68
debugipigmp...............................................................68
debugipigmp-snooping.................................................68
debugipigmpgroup......................................................69
debugipigmpinterface..................................................69
debugipinterface..........................................................69
debugipippool.............................................................70
debugipmsdp..............................................................70
debugipmulticast.........................................................71
debugipnat.................................................................71
debugipospfadj...........................................................71
debugipospfall............................................................72
debugipospfcspf.........................................................72
debugipospfdatabase-timer..........................................72
debugipospfevents......................................................73
debugipospfood........................................................73
debugipospflsa-generation...........................................73
debugipospfpacket......................................................74
debugipospfretransmission...........................................74
debugipospfspf...........................................................74
debugippimdm............................................................75
debugippimsm............................................................75
debugippim-snooping...................................................76
debugipprotocol..........................................................76
debugiprip..................................................................77
debugipripall..............................................................77
debugipripdatabase....................................................77
debugipripevents........................................................78
debugipriptrigger........................................................78
debugiprsvp................................................................78
debugipsource.............................................................79
debugiptcpall.............................................................79
debugiptcpdriver........................................................80
debugiptcpdriver-pak..................................................80
debugiptcppacket.......................................................81
debugiptcptransactions................................................81
debugipudp................................................................82
debugipv6icmp............................................................82
debugipv6nd...............................................................83

debugipv6ospfadj.......................................................85
debugipv6ospfevents..................................................85
debugipv6ospfifsm......................................................86
debugipv6ospflsa........................................................86
debugipv6ospflsa-generation........................................87
debugipv6ospfnfsm.....................................................87
debugipv6ospfpacket..................................................88
debugipv6ospfroute....................................................89
debugipv6packet.........................................................89
debugipv6rip...............................................................90
debugipv6tcpall..........................................................91
debugipv6tcpdriver.....................................................91
debugipv6tcppacket....................................................92
debugipv6tcptransactions............................................92
debugipv6udp.............................................................93
debugisis.....................................................................94
debugisisadj-packets....................................................94
debugisisall.................................................................94
debugisissnp-packets...................................................95
debugisisspf-events.....................................................95
debugisisupdate-packets..............................................95
debuglacpall...............................................................95
debuglacpfsm.............................................................96
debuglacppacket.........................................................96
debugmac-ping............................................................96
debugmodem...............................................................97
debugmplsldpadvertisements.......................................97
debugmplsldpall.........................................................98
debugmplsldpbindings.................................................98
debugmplsldpl2vpn.....................................................99
debugmplsldpmessages.............................................100
debugmplsldpsession................................................101
debugmplsldptransport..............................................103
debugmstpagreement................................................103
debugmstpall............................................................104
debugmstpbpdu-rx....................................................104
debugmstpbpdu-tx....................................................104
debugmstperrors.......................................................105
debugmstpush.........................................................105
debugmstpinfo..........................................................105

debugmstpmigration..................................................106
debugmstpproposals..................................................106
debugmstproles.........................................................107
debugmstpstate........................................................107
debugmstptc.............................................................107
debugmstptimers......................................................108
debugntppacket........................................................108
debugpppall..............................................................108
debugpppauthentication.............................................109
debugpppdata...........................................................109
debugppperror..........................................................109
debugpppevents........................................................110
debugppplcp.............................................................110
debugpppmultilink.....................................................110
debugpppncp............................................................111
debugppppacket........................................................111
debugpriority.............................................................112
debugradiusall...........................................................112
debugradiususer........................................................112
debugradiusexception................................................113
debugradiusauthenticationdata...................................113
debugradiusauthenticationerror..................................113
debugradiusauthenticationevent.................................114
debugradiusauthenticationpacket................................114
debugradiusaccountingdata........................................114
debugradiusaccountingerror.......................................115
debugradiusaccountingevent......................................115
debugradiusaccountingpacket.....................................115
debugtunnelpacket....................................................116
debugvbas.................................................................117
debugvoippstn..........................................................117
debugvrrp.................................................................117
showdebugging..........................................................118
terminalmonitor.........................................................118

AboutThisManual
PurposeThismanualprovidesproceduresandguidelinesthatsupportthe
operationofZXR10routerandEthernetswitch.
Intended
Audience
Thismanualisintendedforengineersandtechnicianswhoperform
operationactivitiesonZXR10routerandEthernetswitch.
WhatIsinThis
Manual
Thismanualcontainsthefollowingchapters:
ChapterSummary
Chapter1,Command
Introduction
Thischapterdescribestheusemethod
ofthecommandmanual,command
description,formatconvention,auxiliary
functionandmode.
Chapter2,NAT
Conguration
Thischapterdescribestheconguration
andviewcommandsofNAT .
Chapter3,AddressPool
Conguration
Thischapterdescribestheconguration
andviewcommandsofaddresspool.
Chapter4,TimeRange
Conguration
Thischapterdescribestheconguration
andviewcommandsoftimerange.
Chapter5,Event-list
Conguration
Thischapterdescribestheconguration
andviewcommandsofevent-list.
Chapter6,PortLoop
DetectionConguration
Thischapterdescribestheconguration
andviewcommandsofportloopdetection.
Chapter7,ReverseTelnet
Conguration
ThischapterdescribesreverseTelnet
congurationcommands.
Chapter8,SFLOW
Conguration
ThischapterdescribesSFLOWconguration
commands.
Chapter9,Stack
Conguration
Thischapterdescribestheconguration
andviewcommandsofstack.
Chapter10,DNS
Conguration
Thischapterdescribestheconguration
andviewcommandsDNS.
Chapter11,DebuggingThischapterdescribesthedebug
commandsofthesystem.
Related
Documentation
Thefollowingdocumentationisrelatedtothismanual:
�ZXR10Router/EthernetSwitchCommandManual(Command
IndexVolume)
�ZXR10Router/EthernetSwitchCommandManual(Ethernet
SwitchVolume)
�ZXR10Router/EthernetSwitchCommandManual(BasicCon-
gurationVolumeI)
CondentialandProprietaryInformationofZTECORPORATIONi

ZXR10CommandManual(BasicCongurationVolumeIII)
�ZXR10Router/EthernetSwitchCommandManual(BasicCon-
gurationVolumeII)
�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(BasicCongurationVolumeIII)
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(BasicCongurationVolumeIII)
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(BasicCongurationVolumeIII)
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
NATConfiguration
TableofContents
clearipnatstatistics...........................................................7
clearipnattranslations.......................................................8
ipnat................................................................................9
ipnatinsidesource.............................................................9
ipnatlogging....................................................................11
ipnatmax-entry-number...................................................12
ipnatmultipool.................................................................12
ipnatpool........................................................................12
ipnatservice....................................................................13
ipnatslot-number.............................................................13
ipnatstart.......................................................................14
ipnatstop........................................................................14
ipnattranslationmaximal..................................................14
ipnattranslationtimeout...................................................15
showipnatcount..............................................................15
showipnatstatistics.........................................................16
showipnattranslations.....................................................17
clearipnatstatistics
PurposeUsethiscommandtoclearthestatisticsdataofNATconversion.
CommandModesPrivilegedEXEC
Syntaxclearipnatstatistics[max-dynamic-trans|max-local-ip]
InstructionsTheclearedstatisticsincludenumbersofNATsuccessesandfail-
ures,numberofagedNATtranslations,andnumberofclearedNAT
translations.
Example�ThisexampledescribeshowtocleartheNATstatisticsinthe
currentsystem.
ZXR10#clearipnatstatistics
ZXR10#showipnatstatistics
Totalactivetranslations:3066(1static,3065dynamic)
Maximalactivedynamictranslations:3237
Currentlocalipaddrs:2(3238maximal)
Outsideinterfaces:
fei_6/8
Insideinterfaces:
fei_6/1
Hits:0(uEngine:0;protocol:0)
Misses:0(uEngine:0;protocol:0)
Expiredtranslations:0
Cleartranslations:0
CondentialandProprietaryInformationofZTECORPORATION7

ZXR10CommandManual(BasicCongurationVolumeIII)
�Thisexampledescribeshowtoclearthemaximumdynamic
entriesinhistoryrecord.
ZXR10#clearipnatstatisticsmax-dynamic-trans
ZXR10#showipnatstatistics
Totalactivetranslations:3066(1static,3065dynamic)
Maximalactivedynamictranslations:3065
Currentlocalipaddrs:2(3238maximal)
Outsideinterfaces:
fei_6/8
Insideinterfaces:
fei_6/1
Hits:0(uEngine:0;protocol:0)
Misses:0(uEngine:0;protocol:0)
Expiredtranslations:0
Cleartranslations:0
�Thisexampledescribeshowtoclearthemaximumnumberof
localuserinhistoryrecord.
ZXR10#clearipnatstatisticsmax-local-ip
ZXR10#showipnatstatistics
Totalactivetranslations:3066(1static,3065dynamic)
Maximalactivedynamictranslations:3237
Currentlocalipaddrs:2(2maximal)
Outsideinterfaces:
fei_6/8
Insideinterfaces:
fei_6/1
Hits:0(uEngine:0;protocol:0)
Misses:0(uEngine:0;protocol:0)
Expiredtranslations:0
Cleartranslations:0
Related
Commands
showipnatstatistics
clearipnattranslations
PurposeUsethiscommandtoclearNATtranslationentries.
CommandModesPrivilegedEXEC
Syntaxclearipnattranslation{*|[<global-ip><global-port><local-ip
><local-port>]|list<list-number>[<interface-name>]|{global
<global-ip>|local<local-ip>}}
Syntax
Description<global-ip>GlobalIPaddressofNATtranslationsinthe
formofdotteddecimalnotation
<global-port>GlobalportofNATtranslations
<local-ip>LocalIPaddressofNATtranslationsinthe
formofdotteddecimalnotation
<local-port>GlobalportofNATtranslations
<list-number>ACLoflocaladdressesinthedynamicNAT
rule,ranging1~99
<interface-name>ExportinterfacespeciedinthedynamicNAT
rule
8CondentialandProprietaryInformationofZTECORPORATION

Chapter2NATConguration
InstructionsThiscommandistoclearallNATtranslations,speciedNATtrans-
lations,alltranslationsproducedbyaspecicNATrule,orthe
translationscontainingaglobal/localaddress.
Example�ThiscommanddescribeshowtoclearallNATtranslations.
ZXR10(config)#clearipnattranslations
�ThiscommanddescribeshowtoclearspeciedNATtransla-
tions.
ZXR10(config)#clearipnattranslations2.2.2.2801.1.1.180
�Thiscommanddescribeshowtoclearalltranslationsproduced
byadynamicNATrule.
ZXR10(config)#clearipnattranslationslist2
�Thiscommanddescribeshowtoclearthetranslationsofa
global/localaddress.
ZXR10(config)#clearipnattranslationsglobal2.2.2.2
ipnat
PurposeUsethiscommandtoconguretheNATattributeoftheinterface.
RemovetheNATattributewiththenocommand.
CommandModesInterfaceconguration
Syntaxipnat{inside|outside}
noipnat{inside|outside}
Example�Thisexampledescribeshowtocongurefei_5/1interfaceasa
NATinsideinterface.
ZXR10(config)#interfacefei_5/1
ZXR10(config-if)#ipnatinside
�Thisexampledescribeshowtocongurefei_3/1interfaceasa
NAToutsideinterface.
ZXR10(config)#interfacefei_3/1
ZXR10(config-if)#ipnatoutside
ipnatinsidesource
PurposeUsethiscommandtoconguretheNATrulesoriginatedfromthe
internalnetwork.DeletetheNATruleswiththenocommand.
CommandModesGlobalconguration
Syntaxipnatinsidesource{list<list-number>pool<pool-name>[ov
erload[<interface-name>]]|list<list-number>interface<intf
ace-name>|static<local-ip><global-ip>|static{tcp|udp}<g
lobal-ip><global-port><local-ip><local-port>}
noipnatinsidesource{list<list-number>pool<pool-name
>[overload][<interface-name>]|list<list-number>interface
CondentialandProprietaryInformationofZTECORPORATION9

ZXR10CommandManual(BasicCongurationVolumeIII)
<intface-name>|static<local-ip><global-ip>|static{tcp|
udp}<global-ip><global-port><local-ip><local-port>}
Syntax
Description<list-number>ACLforthelocaladdressesinthedynamic
NATrules,ranging1~99
<pool-name>Addresspoolfortheglobaladdressesinthe
dynamicNATrules,1~16characters
<interface-name>ExportinterfacespeciedinthedynamicNAT
rules
<local-ip>LocalIPaddressofinthestaticNATrulesin
theformofdotteddecimalnotation
<global-ip>GlobalIPaddressofinthestaticNATrulesin
theformofdotteddecimalnotation
<local-port>LocalportinthestaticNATporttranslation
rules
<global-port>GlobalportinthestaticNATporttranslation
rules
InstructionsThiscommandisusedtocongurethetranslationrulesforthe
staticnon-porttranslation,staticPAT ,dynamicnon-porttransla-
tionanddynamicPAToriginatedfromtheinternalnetwork.
Example�ThisexampledescribeshowtocongurethestaticNATnon-
porttranslationrules.
ZXR10(config)#ipnatinsidesourcestatic
10.1.1.1202.119.230.9
�ThisexampledescribeshowtocongurethestaticNATport
translationrules.
ZXR10(config)#ipnatinsidesourcestatictcp
10.1.1.180202.119.230.980
�ThisexampledescribeshowtocongurethedynamicNAT
translationrules.
ZXR10(config)#access-list3permit10.1.1.00.0.0.255
ZXR10(config)#ipnatpoolp1170.1.1.1170.1.1.254
prefix-length24
ZXR10(config)#ipnatinsidesourcelist3poolp1
�ThisexampledescribeshowtoconguretheNATdynamic
reusablerule.
ZXR10(config)#access-list3permit10.1.1.00.0.0.255
ZXR10(config)#ipnatpoolp1170.1.1.1170.1.1.254
prefix-length24
ZXR10(config)#ipnatinsidesourcelist3poolp1overload
�ThisexampledescribeshowtoconguretheNATdynamic
reusablerule,andthenbindittotheexportinterface.
ZXR10(config)#access-list3permit10.1.1.00.0.0.255
ZXR10(config)#ipnatpoolp1170.1.1.1170.1.1.254
prefix-length24
ZXR10(config)#ipnatinsidesourcelist3poolp1overload
fei_4/2
10CondentialandProprietaryInformationofZTECORPORATION
Other manuals for ZXR10 3800-8
15
Table of contents
Other Zte Network Router manuals
Popular Network Router manuals by other brands

SMC Networks
SMC Networks FS1601 Quick installation guide

ZyXEL Communications
ZyXEL Communications Prestige 650H-E Series Guide

Allied Telesis
Allied Telesis AT-8000GS/24 Product information

Helmholz
Helmholz REX 100 WiFi quick start guide

Genexis
Genexis FiberTwist Series installation guide

TP-Link
TP-Link Deco W6000 user guide