Specifications

Table Of Contents
2-147
Cisco SCE 2000 and SCE 1000 CLI Command Reference
OL-26797-03
Chapter 2 CLI Command Reference
ip route
ip route
Adds an IP routing entry to the routing table. Use the no option to remove an IP routing entry from the
routing table.
ip route ip-address mask [next-hop]
no ip route prefix mask [next-hop]
no ip route all
Syntax Description
Command Default This command has no default settings.
Command Modes Global configuration
Command History This table includes the following release-specific history entries:
Usage Guidelines All addresses must be in dotted notation.
The next-hop must be within the Management FastEthernet Interface subnet.
A maximum of 100 subnets can be configured.
Use the all keyword with the no form of the command to remove all IP routing entries from the routing
table.
Authorization: admin
Examples The following examples illustrate the use of this command:
EXAMPLE 1:
The following example sets the next-hop to 20.2.2.2 for IP addresses in the range 10.10.10.0 to
10.10.10.255.
SCE>enable 10
Password:<cisco>
SCE#config
SCE(config)#ip route 10.10.10.0 255.255.255.0 20.2.2.2
SCE(config)#
ip-address The IP address of the new entry.
mask The relevant subnet mask.
next-hop The next hop in the route.
Release Modification
2.5.7 This command was introduced.