EasyManua.ls Logo

Alcatel-Lucent OmniSwitch 6250 - Ip Static-Route

Alcatel-Lucent OmniSwitch 6250
2018 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
IP Commands
OmniSwitch 6250 CLI Reference Guide November 2009 page 29-9
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 [metric metric]
no ip static-route ip_address [mask mask] gateway ip_address [metric metric]
Syntax Definitions
ip_address Destination IP address of the static route.
mask Subnet mask corresponding to the destination IP address.
gateway ip_address IP address of the next hop used to reach the destination IP address.
metric 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.
Defaults
Platforms Supported
OmniSwitch 6250
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
Release History
Release 6.6.1; command was introduced.
parameter default
metric 1

Table of Contents

Other manuals for Alcatel-Lucent OmniSwitch 6250

Related product manuals