Ip Route Command - ADTRAN 5000 Series Command Reference Manual

Adtran network device command reference guide
Table of Contents

Advertisement

Command Reference Guide
ip route <ip address> <subnet mask> <interface or ip address>
<administrative distance>
Use the ip route command to add a static route to the route table. This command can be used to add a
default route by entering ip route 0.0.0.0 0.0.0.0 and specifying the interface or IP address. Use the no
form of this command to remove a configured static route.
Syntax Description
<ip address>
<subnet mask>
<interface or ip address>
<administrative distance>
Default Values
By default, there are no configured routes in the route table.
Applicable Platforms
This command applies to the NetVanta 300, 1000R, 2000, 3000, 4000, and 5000 and Total Access 900
Series units.
Command History
Release 1.1
Release 9.1
Release 11.1
Usage Examples
The following example adds a static route to the 10.220.0.0/16 network through the next-hop router
192.22.45.254 and a default route to 175.44.2.10:
(config)#ip route 10.220.0.0 255.255.0.0 192.22.45.254
(config)#ip route 0.0.0.0 0.0.0.0 175.44.2.10
61200990L1-35E
Specifies the network address (in dotted decimal notation) to add to the route
table.
Specifies the subnet mask (in dotted decimal notation) associated with the
listed network IP address.
Specifies the gateway peer IP address (in dotted decimal notation) or a
configured interface in the unit. Use the ip route interface ? command to
display a complete list of interfaces.
Specifies an administrative distance associated with a particular router used
to determine the best route when multiple routes to the same destination
exist. The smaller the administrative distance the more reliable the route.
(Range is 1 to 255.)
Command was introduced.
Tunnel added as a supported interface.
Demand added as a supported interface.
Copyright © 2005 ADTRAN
Global Configuration Mode Command Set
401

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents