Command:

ip route


Mode:

Router(config)#


Syntax:

ip route prefix mask {address | interface} [distance] [tag tag] [permanent]

no ip route prefix mask {address | interface} [distance] [tag tag] [permanent]


Syntax Description:

prefix

IP route prefix for the destination

mask

Prefix mask for the destination

address

IP address of the next hop that can be used to reach that network

interface

Network interface to use

distance

(Optional) An administrative distance

tag tag

(Optional) Tag value that can be used as a "match" value for controlling redistribution via route maps

permanent

(Optional) Specifies that the route will not be removed, even if the interface shuts down


Command Description:

To establish static routes, use the ip route global configuration command. To remove static routes, use the no form of this command.

Example:
Router(config)#ip route 10.0.0.0 255.0.0.0 131.108.3.4 110

Misconceptions:
None

Related Commands:
show ip route

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)