12
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
Examples
Specifying a Default Route: Example
!
ip routing
!
ip route 192.168.24.0 255.255.255.0 172.28.99.2
!
ip default-network 192.168.24.0
!
Sample Output for the show ip route Command
Router#
show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
Gateway of last resort is 172.28.99.2 to network 192.168.24.0
172.24.0.0 255.255.255.0 is subnetted, 1 subnets
C 172.24.192.0 is directly connected, FastEthernet0
S 172.24.0.0 255.255.0.0 [1/0] via 172.28.99.0
S* 192.168.24.0 [1/0] via 172.28.99.2
172.16.0.0 255.255.255.0 is subnetted, 1 subnets
C 172.16.99.0 is directly connected, FastEthernet1
Router#
What to Do Next
Proceed to the
“Configuring Virtual Terminal Lines for Remote Console Access” section on page 12
.
Configuring Virtual Terminal Lines for Remote Console Access
Virtual terminal (vty) lines are used to allow remote access to the router. This section shows you how to
configure the virtual terminal lines with a password, so that only authorized users can remotely access
the router.
The router has five virtual terminal lines by default. However, you can create additional virtual terminal
lines as described in the chapter “Configuring Protocol Translation and Virtual Asynchronous Devices”
in the
Cisco IOS Terminal Services Configuration Guide
.
For more information on line passwords and password encryption, see the “Configuring Passwords and
Privileges” chapter in the
Cisco IOS Security Configuration Guide
. Also see the
Cisco IOS Password
Encryption Facts
tech note.
If you want to secure the vty lines with an access list, see “Traffic Filtering and Virus Protection” chapter
in the
Cisco IOS Security Configuration Guide.
SUMMARY STEPS
1.
enable
2.
configure
terminal
3.
line
vty
line-number
[
ending-line-number
]
Содержание 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 ...