Chapter 4 Service Configuration
4.17.7 iproute
Purpose
This command adds a static route.
Command Mode
Layer-3 configuration mode
Syntax
iproute
{<
A.B.C.D/M
>|<
A.B.C.D
><
A.B.C.D
>}<
A.B.C.D
>[<
1-15
>][
description
<
string
>]
Parameters
Parameter
Description
<
A.B.C.D/M
>
IP address and mask
<
A.B.C.D
><
A.B.C.D
> (first and
second)
IP address and mask
<
A.B.C.D
> (third)
Gateway
<
1-15
>
Metric
description
<
string
>
Static route description
Default
The Metric is 1.
Example
The following example adds a static route to the network 192.168.1.0/24 with the gateway
of 192.168.1.3 and metric of 3:
zte(cfg-router)#iproute 192.168.1.0/24 192.168.1.255 3
zte(cfg-router)#iproute 192.168.1.0 255.255.255.0 192.168.1.3 3
4.17.8 arp add
Purposes
This command adds a static ARP entry.
Command Mode
Layer-3 configuration mode
Syntax
arp add
<
A.B.C.D
><
HH.HH.HH.HH.HH.HH
><
0-63
>
4-361
SJ-20131111172707-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential