Cisco Configuration Encyclopedia

Cisco configuration :

Switch Command Mode

--Switch>

-- switch> : user mode

--switch>enable

--switch# privileged mode (generally used to view configuration information)

----switch#configure terminal Global configuration mode (the configuration information made takes effect on the entire device)

--switchconfigure#:

--switch ( configure ) #interfacefastEthernet0/1 (" 0 " for module number, " 1 " for port number)

-- switch ( configure ) #( interface mode )

--back button

-- Exit: go back to the previous step

-- End : return directly

-- Ctrl+z: shortcut key

 -- never timeout

--Switch(config)#line console 0

--Switch(config-line)#exec-timeout 0 0 means never timeout    (default time is 10 minutes)

 -- Switch disable DNS lookup

--switchconfigure#:no ip domain-lookup

Router# erase startup   clear configuration

If you type the wrong command and the command line gets stuck, press ctrl+shift+6 to interrupt

--copy running-config starup-configor

-- Router# write  to save the configuration

-- Router(config)# hostname R1 change the name

-- R1# show version View current configuration

-- R1# show ip route View route

-- ip dhcp set dhcp server

-- switchport access vlan vlan-id add port to vlan

--noshutdown activate port

--show interface show interface

-- show vlan brief show vlan information

--erase nvram delete saved configuration file 

Configure console password

--Router>enable

--Router# configure terminal

--Router(config)# line  console  0

--Router(config-line)# login

--Router(config-line)# password  1234

--Router(config-line)#ctrl+z

--Router#exit

 








Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325346683&siteId=291194637