1. Connecting to a Cisco Router Using Console
Step 1: Attach a console cable to the console port (Rj-45) located at the back of the router.
Step 2: Open a new HyperTerminal instance from Start-All Programs-Accessories-Communications-HyperTerminal, enter a random name to this connection and choose the com port to use for connecting to the router. Adjust the following port settings to the com port:
Bits per second: 9600Data bits: 8Parity: noneStop bits: 1Flow control: Hardware
Step 3: After pressing [Enter] a few times you will see the Router> prompt. Go to menu view-font of the hyperterminal and select courier font with font size 14.
Write enable to enter into privileged mode (after issuing the correct enable secret). Here are the steps:
[Router name]>[Router name]>enablePassword: ..........[Router name]#
2. Connecting to a Cisco Router Using Telnet
Note that in order to be able to telnet onto a router, a telnet password must have been configured on the router and also telnet access should not be disabled on the specific router.
Before installing a new router you must provide a password for the telnet access on the router, otherwise you will not be able to telnet to it.
Use the console to connect to the router:
[Router name] enablePassword: ..........[insert enable secret here][Router name]# sh run
Press [enter] until you see a sentence like: line vty 0 4 (see the example below). Below this sentence you should see a password. If not then you should provide a password. If a password is set but no exec line is seen like in the example below, then telnet is blocked and you should unblock it.
Example:
Line vty 0 4Password surpassNo exec
a. To Provide a telnet Password
Router#config tRouter(Config)#line vty 0 4Router(Config)#loginRouter(Config)#password [password name]Press [Ctrl][z] and issue sh run to ensure that password has been set
b. To Unblock telnet Access on Router
Router#config tRouter(Config)#line vty 0 4Router(Config)#execC:\>telnet 10.176.100.2Password: ..........[Router name]>enablePassword: ..........[Router name]#
[router name]#show run
[router name]#copy run tftp -- to copy the running configuration to TFTP server
[router name]#copy run ftp --> -- to copy the configuration file from FTP server to the running configuration of the router
4. Restore
[router name]# show run
[router name]#copy ftp run --> -- to copy the configuration file from FTP server to the running configuration of the router
[router name]#copy tftp run --> -- to copy the configuration file from TFTP server to the running configuration of the router
[router name]#show run
[router name]#copy run start --> to copy the configuration from running configuration (DRAM) to Startup configuration (NVRAM).
No comments:
Post a Comment