Cisco Systems OL-31454-01 Network Router User Manual


 
4-16
Cisco 2010 Connected Grid Router Hardware Installation Guide
OL-31454-01
Chapter 4 Configuring the Router
Performing the Initial Configuration on the Router
6. end
7. show ip route
DETAILED STEPS
Command or Action Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
ip routing
Example:
Router(config)# ip routing
Enables IP routing.
Step 4
ip route dest-prefix mask next-hop-ip-address
[admin-distance] [permanent]
Example:
Router(config)# ip route 192.168.24.0
255.255.255.0 172.28.99.2
Establishes a static route.
Step 5
ip default-network network-number
or
ip route dest-prefix mask next-hop-ip-address
Example:
Router(config)# ip default-network 192.168.24.0
Example:
Router(config)# ip route 0.0.0.0 0.0.0.0
172.28.99.1
Selects a network as a candidate route for computing the
gateway of last resort.
Creates a static route to network 0.0.0.0 0.0.0.0 for
computing the gateway of last resort.
Step 6
end
Example:
Router(config)# end
Returns to privileged EXEC mode.
Step 7
show ip route
Example:
Router# show ip route
Displays the current routing table information.
Verify that the gateway of last resort is set.