Cisco Switch Best Practices Guide: Table of Contents (After Clicking Link Hit HOME To Return To TOC)
Cisco Switch Best Practices Guide: Table of Contents (After Clicking Link Hit HOME To Return To TOC)
Cisco Switch Best Practices Guide: Table of Contents (After Clicking Link Hit HOME To Return To TOC)
-ALL Commands are from Global Configuration Mode Unless Otherwise Specified-
1) Add Hostname
hostname <switch>
aaa new-model
username <username> privilege 15 secret <password>
aaa local authentication attempts max-fail 3
aaa authentication login default local
4) Encrypt Password
service password-encryption
line vty 0 15
exec-timeout 3
transport input ssh
login authentication default
line con 0
exec-timeout 3
login authentication default
line aux 0
transport input none
transport output none
no exec
exec-timeout 0 1
no password
7) Disable VTP
no ip http server
no ip http secure-server
service tcp-keepalives-in
service tcp-keepalives-out
ip dhcp snooping
Add to VLANS
ip dhcp snoop vlan <VLAN’s comma separated>
Add to Interfaces (Trunks and DHCP Server)
ip dhcp server trust
Remove Option 82
no ip dhcp snooping information option
20) Configure Etherchannel Trunk with LACP and VLAN Pruning (802.1Q)
ip routing
ip default-gateway <ip-address>
banner motd #
****************************************************************************
PROPERTY OF “COMPANY”
Anytown, USA
ip name-server <ip-address>
ip name-server <ip-address>
no logging console
no logging monitor
sh inv
sh interface
sh controller
sh diag
sh hard
35) Troubleshooting Cisco PoE with built-in TDR features
From #
test cable-diagnostics tdr interface gigabitEthernet 0/16
sh cable-diagnostics tdr interface g0/16