![background image](http://html.mh-extra.com/html/cisco/2800-series/2800-series_manual_64812052.webp)
10
Basic Software Configuration Using the Cisco IOS Command-Line Interface
OL-5593-01
How to Perform a Basic Software Configuration Using the Cisco IOS CLI
SUMMARY STEPS
1.
enable
2.
configure
terminal
3.
ip routing
4.
ip route
dest-prefix mask
next-hop-ip-address
[
admin-distance
] [
permanent
]
5.
ip default-network
network-number
or
ip route
dest-prefix mask
next-hop-ip-address
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.
Содержание 2800 Series
Страница 64: ...22 Basic Software Configuration Using the Cisco IOS Command Line Interface OL 5593 01 Additional References ...
Страница 125: ...Easy VPN Configuration Example Configure 5 OL 6340 01 Private IP address pool 192 168 3 0 24 ...
Страница 138: ...Easy VPN Configuration Example Related Information 18 OL 6340 01 ...
Страница 140: ...Easy VPN Configuration Example Related Information 20 OL 6340 01 ...