![background image](http://html.mh-extra.com/html/cisco/sce-1000-and/sce-1000-and_configuration-manual_64496148.webp)
5-54
Cisco SCE 2000 and SCE 1000 Software Configuration Guide
OL-7827-12
Chapter 5 Configuring the Management Interface and Security
IP Configuration
How to Add an Entry to the IP Routing Table
•
Options, page 5-54
•
How to Add an Entry to the IP Routing Table: Example, page 5-54
Options
The following options are available:
•
prefix
— IP address of the routing entry, in dotted notation.
•
mask
— The relevant subnet mask, in dotted notation
•
next-hop
— The IP address of the next hop in the route, in dotted notation.
Must be within the MNG interface subnet.
Step 1
From the SCE(config)# prompt, type
ip route
prefix mask next-hop,
and press
Enter
.
Adds the specified IP routing entry to the routing table.
How to Add an Entry to the IP Routing Table: Example
The following example shows how to set the router 10.1.1.250 as the next hop to subnet 10.2.0.0.
SCE(config)#ip route 10.2.0.0 255.255.0.0 10.1.1.250
Displaying the IP Routing Table
•
How to Display the Entire IP Routing Table, page 5-54
•
How to Display the IP Routing Table for a Specified Subnet, page 5-54
How to Display the Entire IP Routing Table
Step 1
From the SCE# prompt, type
show ip route
and press
Enter
.
Displays the entire routing table and the destination of last resort (default-gateway)
Displaying the Entire IP Routing Table: Example
This example shows how to display the routing table.
SCE#show ip route
gateway of last resort is 10.1.1.1
| prefix | mask | next hop |
|-----------------|------------------|-----------------|
| 10.2.0.0 | 255.255.0.0 | 10.1.1.250 |
| 10.3.0.0 | 255.255.0.0 | 10.1.1.253 |
| 198.0.0.0 | 255.0.0.0 | 10.1.1.251 |
| 10.1.60.0 | 255.255.255.0 | 10.1.1.5 |
How to Display the IP Routing Table for a Specified Subnet
•
Options, page 5-55
•
Displaying the IP Routing Table for a Specified Subnet: Example, page 5-55