beautypg.com

ADTRAN 5000 Series User Manual

Page 401

background image

Command Reference Guide

Global Configuration Mode Command Set

61200990L1-35E

Copyright © 2005 ADTRAN

401

ip route

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

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.)

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

Command was introduced.

Release 9.1

Tunnel added as a supported interface.

Release 11.1

Demand added as a supported interface.

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