|
Networking HowTo's -
Cisco HowTo's
|
|
Written by Keith Short
|
|
Sunday, 10 February 2008 19:42 |
|
This is the most commonly used method of restricting Telnet access to Cisco IOS-based Routers and Switches.
- Connect to your Cisco switch running IOS. This will be via console if you are configuring the router/switch for the first time.
-
- Type "enable" and press Enter to go to "enable" mode.
- Type "config t" and press Enter to go to "configure" mode.
- Type "line vty 0 4" and press Enter to go into line configuration mode.
- Type "login" and press Enter to configure the router/switch to present a password prompt when a user telnets to the device.
- Type password yourpassword" to configure the password you want to be used to access the router/switch.
- Type "exit" and press enter. Then Type "exit" and press enter again to get back to enable mode.
- Telnet to the router/switch and enter the password you configured above at the prompt., then press Enter.
Only after a successful login should you go to the next step!
- Type "wri mem" and press Enter to save your configuration.
|
|
Last Updated ( Saturday, 17 May 2008 22:01 )
|