Chapter4ServiceConguration
4.17.7iproute
Purpose
Thiscommandaddsastaticroute.
CommandMode
Layer-3congurationmode
Syntax
iproute{<A.B.C.D/M>|<A.B.C.D><A.B.C.D>}<A.B.C.D>[<1-15>][description<string>]
Parameters
ParameterDescription
<A.B.C.D/M>IPaddressandmask
<A.B.C.D><A.B.C.D>(rstand
second)
IPaddressandmask
<A.B.C.D>(third)Gateway
<1-15>Metric
description<string>Staticroutedescription
Default
TheMetricis1.
Example
Thefollowingexampleaddsastaticroutetothenetwork192.168.1.0/24withthegateway
of192.168.1.3andmetricof3:
zte(cfg-router)#iproute192.168.1.0/24192.168.1.2553
zte(cfg-router)#iproute192.168.1.0255.255.255.0192.168.1.33
4.17.8arpadd
Purposes
ThiscommandaddsastaticARPentry.
CommandMode
Layer-3congurationmode
Syntax
arpadd<A.B.C.D><HH.HH.HH.HH.HH.HH><0-63>
4-361
SJ-20131111172707-003|2013-11-27(R1.0)ZTEProprietaryandCondential