01) shows all the (live) connected ports
Sw1#show int status | i connected
02) enables portfast on all ports globally
Sw1(config)#spanning-tree portfast default
03) enables portfast on individual port
Sw1(config)#interface fastEthernet 0/1
Sw1(config)#spanning-tree portfast
2) enables BPDU guard for this specific interface
Sw1(config)#interface fastEthernet 0/1
Sw1(config-if)#spanning-tree bpduguard enable
3) Adding and removing of hostname configuration on cisco switch / router
Sw1(config)#hostname ASL-Sw01-West
ASL-Sw01-West(config)#no hostname
4) Adding and removing of basic & encrypted password on cisco switch / router
Sw-01(config)#enable password cisco
Sw-01(config)#no enable password
Sw-01(config)#enable secret cisco1234
Sw-01(config)#no enable secret
5) Encrypting all current and future password on cisco switch / router
Sw-01(config)#service password-encryption
Sw-01(config)#no service password-encryption
No comments:
Post a Comment