Compact T1 - Release 6.1 5-17
CLI Commands
add
add (router-lan) static ip network
Use the add (router-lan) static ip network command to add a static IP network (route) to
the specified LAN interface.
Syntax: add {rtr_lan-addr} static ip network {ip-addr} {mask}
{next-hop-ip-addr} [metric]
Example: add 3:1 static ip network 195.168.201.0 255.255.255.0
194.120.20.15 3
The example will add a static route to 192.168.201.0, with mask 255.255.255.0
and the next hop at 194.120.20.15 and a metric of 3 to the local LAN interface
on the Router card in slot 3.
{rtr_lan-addr}
The Router (IP or CMG) address is in the form {slot:port} or {slot "profile-name"}.
{ip-addr}
The IP address of the static IP network to set, in the form of xxx.xxx.xxx.xxx, where xxx
is between 0-255.
{mask}
The mask of the static IP network, in the form of xxx.xxx.xxx.xxx, where xxx is between
0-255.
{next-hop-ip-addr}
The IP address of the next hop gateway for this route, in the form of xxx.xxx.xxx.xxx,
where xxx is between 0-255.
[metric]
Enter a numeric value indicating the distance from your local network to the destination
network. Although this value was originally measured by the number of gateways between
the two networks, the number may be modified, either higher or lower, to indicate a desired
priority. This field is only used on IP networks. Valid entries range from 1 to 15. (Please
note that a value of 1 usually indicates a direct network.).
slot Slot number (1-6) that contains the Router card.
port Port number.
"profile-name" The profile name for the Router interface. Name must be enclosed
in quotes, with a maximum length of 11 characters.