Ip Static-Route - Alcatel-Lucent 060321-10, Rev. B Cli Reference Manual

Omniswitch series
Table of Contents

Advertisement

ip static-route

ip static-route
Creates/deletes an IP static route. Static routes are user-defined; they carry a higher priority than routes
created by dynamic routing protocols. That is, static routes always have priority over dynamic routes,
regardless of the metric value.
ip static-route ip_address [mask mask] gateway gateway|follows ip_address [metric metric]
no ip static-route ip_address [mask mask] gateway ip_address|follows ip_address [metric metric]
Syntax Definitions
ip_address
mask
gateway ip_address
follows ip_address
metric
Defaults
parameter
metric
Platforms Supported
OmniSwitch 10K
Usage Guidelines
Static routes do not age out of the routing tables; however, they can be deleted. Use the no form of this
command to delete a static route.
A static route is not active unless the gateway it is using is active.
The subnet mask is not required if you want to use the natural subnet mask. By default, the switch
imposes a natural mask on the IP address.
Use the ip static-route command to configure default route. For example, to create a default route
through gateway 171.11.2.1, you would enter: ip static-route 0.0.0.0 mask 0.0.0.0 gateway
171.11.2.1.
Examples
-> ip static-route 171.11.1.1 gateway 171.11.2.1
-> ip static-route 0.0.0.0 mask 0.0.0.0 gateway 171.11.2.1
-> ip static-route 171.11.0.0 follows 192.168.10.1
page 10-12
Destination IP address of the static route.
Subnet mask corresponding to the destination IP address.
IP address of the next hop used to reach the destination IP address.
The recursive static route follows this IP address. The recursive route
will use the same gateway/nexthop that is used to reach this host
address.
Metric or cost (hop count) for the static route. You can set a priority for
the static route by assigning a metric value. The lower the metric value,
the higher the priority. Valid range is 1–15.
default
1
OmniSwitch CLI Reference Guide
IP Commands
March 2011

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch 10k

Table of Contents