5-34
Cisco SCE8000 Software Configuration Guide, Rel 3.1.6S
OL-16479-01
Chapter 5 Configuring the Management Interface and Security
IP Configuration
How to Configure the Default Gateway
Options
The following option is available:
•
ip-address—the IP address of the default gateway.
Step 1
From the SCE(config)# prompt, type
ip default-gateway
ip-address,
and press
Enter
.
Enables privileged EXEC mode.
•
Enter your password if prompted.
Configuring the Default Gateway: Example
The following example shows how to set the default gateway IP of the SCE platform to 10.1.1.1.
SCE(config)#ip default-gateway 10.1.1.1
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.
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
How to Display the IP Routing Table
•
How to Display the Entire IP Routing Table, page 5-34
•
How to Display the IP Routing Table for a Specified Subnet, page 5-35
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)