ZXR102900SeriesUserManual
BasicConfigurationofLayer3
TocongureL3function,performthefollowingsteps.
CommandFunction
zte(cfg)#arpadd<A.B.C.D><HH.HH.HH.H
H.HH.HH><0-63><1-4094>
ThisaddsstaticARP .
zte(cfg)#arpdelete<A.B.C.D>ThisdeletesstaticARP .
zte(cfg)#arpipport<0-63>timeout
<1-1000>
Thissetsthetimeoutof
layer-3port.
Theparameter
timeout:thedefaultis
10,theunitisminute.
zte(cfg)#cleararpThisdeletesallthearp
information.
zte(cfg)#clearipport<0-63>[mac|ipad
dress{<A.B.C.D/M>|<A.B.C.D><A.B.C.D
>}|vlan<vlanname>]
Thisdeletesipport
conguration.
zte(cfg)#cleariproute[{<A.B.C.D/M>|<A
.B.C.D><A.B.C.D>}<A.B.C.D>]
Thisdeletesstatic
route.
zte(cfg)#iproute{<A.B.C.D/M>|<A.B.C.D
><A.B.C.D>}<A.B.C.D>[<1-15>]
Thisaddsstaticroute.
zte(cfg)#setipport<0-63>{enable|disa
ble}
Thisenablesordisables
layer-3port.
zte(cfg)#setipport<0-63>ipaddress
{<A.B.C.D/M>|<A.B.C.D><A.B.C.D>}
ThissetsIPaddress
andsubmaskoflayer-3
port.
zte(cfg)#setipport<0-63>mac
<HH.HH.HH.HH.HH.HH>
ThissetstheMAC
addressoflayer-3port
zte(cfg)#setipport<0-63>vlan
<vlanname>
ThissetstheVLAN
bindingwithlayer3
port.
zte(cfg)#showarp[static|dynamic|
invalid|ipport<0-63>[static|dynamic
|invalid]|ipaddress<A.B.C.D>]
Thisshowsarp
information.
zte(cfg)#showipport[<0-63>]Thisshowslayer-3port
information.
zte(cfg)#showiprouteThisshowsallthestatic
routes.
Layer3ConfigurationExample
AsshowninFigure71,congurelayer-3ipaddressas192.168.1.2
onswitch.Theipaddress192.168.1.2canpingthroughPCad-
170CondentialandProprietaryInformationofZTECORPORATION