Routers simple basic experiments

Routers some simple basic commands

1. different modes router :

Router> User Mode
Router # privileged mode
Router (config) # global mode
Routers simple basic experiments

2. Close domain name resolution, the console synchronization timeout and log

off the global name resolution mode: Router (config) #no ip domain -lookup

Close the log and console timeout synchronization:
Router (config) #line Console 0
// into the console
Router (config-Line) #logging Synchronous
- the console does not display information (that is, turn off synchronization) (synchronous, that is out of the log information)
Router (config-Line) # Exec-timeout 0 0 - console never timeout

3. Set the device name:
Router # --- the configure Terminal enter the global mode
Router (config) #hostname LHS --- device named
LHS (config) #

4. Check the router IOS version, IOS file name, flash size, flash the available space
Show version --- check the version of
Show Flash /
Show the Brief ip interface - the interface to view brief information
Show processes cpu - View CPU utilization
5. password setting console passwords and privileges
Router (config) #line console 0 // console port
Router (config-line) #password ccna // set password is CCNA
Router (config-Line) // activate #login
Router (config- Line) #exit
Router (config) #enable password CCNA // set the global privilege password

6. remote login (the Telnet)
Router (config) #line vty 0 4 // enter the vty line
Router (config-line) #password ccna // set telnet password
Router (config-line) #login ----- Enable password
IOU1 (config-line) #transport input all - allow all protocols
Router (config-Line) #exit
Router (config) #enable password CCNA // set the global privilege password

7. DTE and DCE (serial link)
the DTE: the Data Terminal Equipment's device has some data processing and data transmission and reception capabilities
DCE: Data Communications Equipment is responsible for establishing, maintaining and releasing a connection link

DCE end generates a clock signal
Router # show controllers serial 0/1/0 (see particularly required to set the interface according to the interface on the device) // Check DCE or DTE port

The clock frequency is provided in DCE port:
Router (config) #int S0 /. 1/0 // DCE enters port
Router (config-if) #clock rate 64000 // set the clock frequency of 64000

8. Save the configuration
Router # write // Save the configuration
Router # show run // Check the current configuration information (Do not use this command, some of the larger network, this command will cause the device to crash)

The pick a favorite wallpaper, hee hee

Guess you like

Origin blog.51cto.com/14367225/2408400
Recommended