CCNA learning: Cisco IOS Command and Config
Cisco ISO: network operation system
xxxx-yyy-ww:
xxxx: platform (ex, 1005, 1600,3640)
yyy: features (ex, n --> IPX; i --> IP subnet)
ww: format (ex, f --> flash; m--> RAM; z --> zipped)
Cisco: command screen
Command mode
user mode: hostname>
super mode: hostname#
config mode: hostname(config)#
Switcher signal lights
1. start, all signal lights green
2. port POST successfully, light off; port POST failed, light yellow
3. all ports POST successfully lights off; all ports POST failed lights yellow
Switcher startup console information: device information...
Go to user mode: press K
Go to super mode: enable
Go to user mode: quit
Switcher check status:
show version
show running-config
show interfaces
Config mode
Go to config mode: conf term
Go to interface config mode: interface e0/1
config hostname: (config)#hostname <hostname>
config start message: (config)#banner motd # Accounting......#
config interface description: (config-if)#description Engineer......
config console password:
(config)#line console 0
(config-line)#login
(config-line)#password <password>
config telnet password:
(config)#line vty 0 4
(config-line)#login
(config-line)#password <password>
config super mode open passowrd: (config)#enable password <password>
config super mode encrypt password(priority high): (config)#enable secret <password>
disable session auto exit:
(config)#line console 0
(config-line)#exec-timeout 0 0
prevent unformat:
(config)#line console 0
(config-line)#logging synchronous
recommand not to use setup guide
find command or detail of command: <command> ?
Command a bit long: when over one line, start will show $
<Ctrl + A>: Move to start
<Ctrl + E>: Move to end
<Esc + B>: back one word
<Ese + F>: forward one word
<Ctrl +B>: back one character
<Ctrl + F>: forward one character
<Ctrl + D>: Delete one character
Up arrow: recall recent command
Down arrow: recall command
show history: list command history
terminal history size <lines>: set command save area size
Serial Port Setting
#configure term
(config)#interface serial 0
(config-if)#clock rate 64000
(config-if)#quit
(config)#quit
#show interface serial 0
close port
#configure term
(config)#interface serial 0
(config-if)#shutdown
open port
#configure term
(config)#interface serial 0
(config-if)#no shutdown
check port status
#show interface serial 1
Serial1 is up, line protocol is up: layer 1 up and layer 2 up
Serial1 is up, line protocol is down: layer 1 up and layer2 down
Reason: DCE clock rate not setting
Serial1 is down, line protocol is down: layer 1 down and layer 2 down
Reason:
1. cable not connect or cable broke
2. Port is disable by administrator
check device DCE or DTE
#show controller serial 0
Comments
Post a Comment