ZXR105900ESeriesCongurationGuide(IPv4Routing)
1.2ConguringaStaticRoute
Nexthopaddressesmustbespeciedforallroutingitems.Whenapacketissent,the
systemqueriesthematchedrouteintheroutingtableaccordingtothedestinationaddress.
Ifthenexthopaddressisnotspecied,thelinklayercannotndthecorrespondingaddress
onthelinklayer,andthepacketcannotbeforwarded.
ConguringDirectStaticRoute
ToconguredirectstaticrouteonZXR105900E,usethefollowingcommand.
CommandFunction
ZXR10(config)#iproute[vrf<vrf-name>]<prefix><net-mask
>{<nexthopaddress>|<interface-name><nexthopaddress>}[<
distance-metric>]
Thisconguresdirectstaticroute.
Descriptionsoftheparametersusedbycommandareshownbelow.
ParameterDescription
<vrf-name>ItisusedtocongurestaticrouteofthedesignatedVirtual
RouteForwardingTable(VRF).
ThelengthofVRFnamerangesfrom1to32characters.
Managementport(mng)isaspecialVRF .
<prefix>NetworkInternetProtocol(IP)prex,indotteddecimal
notation
<net-mask>NetworkMask,indotteddecimalnotation
<nexthopaddress>IPaddressofthenexthop,indotteddecimalnotation
<interface-name>Nameoftheusedinterface
<distance-metric>Managementdistance,rangingfrom1to255
ConguringIndirectStaticRoute
TocongureindirectstaticonZXR105900E,usethefollowingcommand.
CommandFunction
ZXR10(config)#iproute[vrf<vrf-name>]<prefix><net-mask>{<n
exthopaddress>[global]}[<distance-metric>][metric<metric>]
Thisconguresindirectstatic
route.
Judgewhethertherouteisan
indirectstaticrouteaccordingtoIP
addressofthenexthop.
Descriptionsoftheparametersusedbycommandareshownbelow.
1-2
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential