Cisco 2010 Hardware Installation Manual page 70

Table of Contents

Advertisement

Performing the Initial Configuration on the Router
6.
7.
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Router> enable
Step 2
configure terminal
Example:
Router# configure terminal
Step 3
ip routing
Example:
Router(config)# 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
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
Step 6
end
Example:
Router(config)# end
Step 7
show ip route
Example:
Router# show ip route
Cisco Connected Grid Routers 2010 Hardware Installation Guide
4-16
end
show ip route
Purpose
Enables privileged EXEC mode.
Enter your password if prompted.
Enters global configuration mode.
Enables IP routing.
Establishes a static route.
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.
Returns to privileged EXEC mode.
Displays the current routing table information.
Verify that the gateway of last resort is set.
Chapter 4
Configuring the Router
OL-21559-01

Advertisement

Table of Contents
loading

Table of Contents