1. Cisco router, enter the default login user mode, first enter, let you choose whether to enter the simple setup guide
2. Review the following command in this mode
Command +?
3. The mode switching command
enable access to privileged command
configure terminal to enter global configuration mode
end to exit global configuration mode
ctrl + z to exit global configuration mode
exit Exit
disable exit
4. The device naming
R10 hostname
Ctrl + v the Shift? console input?
5. Set the password
password enable 123456
enable Secret 123456 | 123456 enable Secret Level 7 set an encryption password
6. Save the configuration, the current running configuration write enable Boot Configuration
write
7. Review the configuration commands
show startup-config或者wr
8. Check the configuration
copy running-coonfig startup -config
9. Restore factory facilities
wr er (write erase)
10. Delete Configuration
no hostname
11. Set slogan
Banner motd # input you want to enter the character # end
12. Set the time zone in global configuration
clock timezone GMT + 8
do show clock to view the current time
clock set 21:46:30 13 jun 2019 set-up time
13. Configure IP enter global configuration mode
int e0 / 0 enters e0 / 0 interface to
the IP address 10.0 . 0.1 255.255 . 255.252 Set IP
NO starts the shutdown Interface
14. Viewing Interface Status
IP Show interface Brief Summary of the interface
show cdp neighbors detail used to gather neighbor information pyrazol
show int e0 / 0 for detail
description Connected_R1_e0 / 0 configuration described
sh run e0 / 0 Display Description int
15. Check the interfaces link
sh cdp neighbors (Cisco proprietary)
15. View detailed cdp entry
sh cdp entry
16. lldp open protocol (common protocol)
lldp run
show lldp neighbors
17. Password Reset
1 . Upgrade backup tftp ftp Xmodem (applicable system is deleted destroyed, low transmission rate) 2 . View the show flash flash memory card backup flash.ios (.bin) to the local 3 .tftpserver, 3cserver software 4 . Enter password reset miniios and view the show flash, modify the configuration file config, (rename flash: config.txt flash : config.old), then start with an empty,
load old configuration (copy flash: config.txt system: running -config),
enter removing the configuration mode code (no enable secret) wr save
18. Close the IP routing function
no ip routing Disable IP routing capabilities
show ip route Displays the routing table
19. Configure Gateway
ip default-gateway 192.168.1.1
20. The manually add static routes
IP route network-address subnet-mask {ip-add}
21. Start a loopback interface, enter
interface loopbck 0
22. The two ends of the track have each hop
tr ip (traceroute)
23. Check pc ip
do SH ip int br PC
do SH ip route RO check
sh ip rip database
24. pc gateway configuration
IP default-gateway 10.10.20.254
25.rip agreement
1. Start rip rip Protocol Router 2. join the network Network 0.0 . 0.0 3. do SH RUN | the SRR 4.No Auto- the Summary shut down automatically aggregate 5.version 2 Set version 2 6.passive-Inerface e0 / 0 PAS out e0 / route announcement message is not 0
26. debugging command
show ip route |show ip protocols |debug ip rip | show ip interface brief 51.关闭dug undebug