Cisco3550 configuration command learning
Familiar with cisco 3550 common configuration commands
Set the tag name of the equipment, generally by equipment model + physical location + management IP address
command:(config)#hostname machine_name
View device system versions and information
show version
show boot
show flash:
sh cpu
Configure login username and password
username Cisco password cisco
Close error command query: no ip domain-lookup
SSH login configuration
In configuration mode:
line vty 0 15 //"(config)#" in Configure Remote Administration Login
password cisco
login local //Set password first to enable remote effects
transport input {ssh|telnet|none|all} //
access-class 1 in //character "1" is access-list table name
no exec-timeout
In enable mode:
enable password cisco
enable secret cisco1 //secret password and password are set at the same time, enable password does not take effect
sh lacp sys-id
sh file system
sh hardware
dir or show flash
crypto key generate rsa //To create a domain name, use ip domain name syx.com
AAA authentication enabled, aaa new-module
Neighbor Discovery Protocol
cdp run
cdp timer 10
cdp holdtime 30
cdp advertise-v2
int f0/1 interface enables cdp protocol
cdp enable
7. line con 0 configuration// console port configuration
password cisco
login local
8.spanning-tree
sh spanning-tree active
sh spanning-tree vlan XX active
9.NTP
ntp peer 192.168.1.1 ver 3 key 2 source f0/10 prefer
ntp authenticate
ntp broadcastdelay 3000
ntp trustkey 2
ntp authentication-key 2 md5 cisco
10.VTP
vtp mode {client |server|transparent}
vtp password cisco
vtp domain domain_name
vtp version 2
vtp pruning
View vtp configuration information
sh vtp password
sh vtp status
11. port security
int f0/1
swithport port-security ?
ip dhcp snooping(arp prevent ***)
IP dhcp snooping globally enabled
int f0/1
ip dhcp snooping {limit rate |trust|vlan}
sh ip dhcp snooping
12. Terminal display buffer size
terminal length 100
terminal width 100
sh mac address-table dy int f0/1
sh int counters
errdisable recovery {internal|cause}
13. dhcp configuration, configured on cisco 3550 devices
ip dhcp pool 0
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 192.168.1.254
domain-name cisco-china.com
lease 7 9
Address settings that are not assigned to users by dhcp address pools
ip dhcp excluded-address 192.168.10.254
ip dhcp excluded-address 192.168.10.1 192.168.10.20