6-3
Cisco SCE 8000 10GBE Software Configuration Guide
OL-30621-02
Chapter 6 Global Configuration
IP Routing Configuration
How to Add an Entry to the IP Routing Table
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.
From the SCE(config)# prompt, type:
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
How to Display the IP Routing Table
•
How to Display the Entire IP Routing Table, page 6-3
•
How to Display the IP Routing Table for a Specified Subnet, page 6-4
How to Display the Entire IP Routing Table
From the SCE# prompt, type:
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 |
Command
Purpose
ip route
prefix mask next-hop
Adds the specified IP routing entry to the routing
table.
Command
Purpose
show ip route
Displays the entire routing table and the
destination of last resort (default-gateway).