Creating A Static Route Or Recursive Static Route - Alcatel-Lucent OmniSwitch 9900 Series Network Configuration Manual

Omniswitch aos release 8
Table of Contents

Advertisement

Configuring IP
Application
SWLOG
DNS
(ping and traceroute command can specify a source address as an optional parameter)
Telenet
FTP
SSH
(includes scp, sftp)
TFTP

Creating a Static Route or Recursive Static Route

Static routes are user-defined and carry a higher priority than routes created by dynamic routing protocols.
That is, if two routes have the same metric value, the static route has the higher priority. Static routes
allow you to define, or customize, an explicit path to an IP network segment, which is then added to the IP
Forwarding table. Static routes can be created between VLANs to enable devices on these VLANs to
communicate.
Use the
ip static-route
well as the IP address of the first hop (gateway/interface) used to reach the destination. For example, to
create a static route to IP address 171.11.0.0 through gateway 171.11.2.1 with a tag of 3, you would enter:
-> ip static-route 171.11.0.0 gateway 171.11.2.1 tag 3
For example, to create a proxy ARP static route to IP address 171.11.0.0 through interface Int1you would
enter:
-> ip static-route 171.11.0.0 interface Int1
If you want to use the natural subnet mask, the subnet mask is not required. By default, the switch imposes
a natural mask on the IP address. In the above example, the Class B mask of 255.255.0.0 is implied. If you
do not want to use the natural mask, enter a subnet mask. For example, to create a static route to IP
address 10.255.11.0, enter the Class C mask of 255.255.255.0:
-> ip static-route 10.255.11.0 mask 255.255.255.0 gateway 171.11.2.1
Specifying the length of the mask in bits is also supported. For example, the above static route is also
configurable using the following command:
-> ip static-route 10.255.11.0/24 gateway 171.11.2.1
When you create a static route, the default metric value of 1 is used. However, you can change the priority
of the route by increasing its metric value. The lower the metric value, the higher the priority. This metric
is added to the metric cost of the route. The metric range is 1 to 15. For example:
-> ip static-route 10.255.11.0/24 gateway 171.11.2.1 metric 5
Static routes do not age out of the IP Forwarding table; delete them from the table. Use the no ip static
route command to delete a static route. Specify the destination IP address of the route as well as the IP
OmniSwitch AOS Release 8 Network Configuration Guide
Default Source Interface
Outgoing interface
Outgoing interface
Switch Access and Utilities
Outgoing interface
Outgoing interface
Outgoing interface
Outgoing interface
command to create a static route. Specify the destination IP address of the route as
VRF Support
Supported with any VRF
(Configuration available only in the default
VRF)
Servers can only be set in the default VRF
Supported with any VRF
Supported with any VRF
Supported with any VRF
Supported with any VRF
December 2017
IP Forwarding
page 15-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents