Those Dog on Cisco Commands_Sheet 1
Those Dog on Cisco Commands_Sheet 1
Configuring passwords:
Encrypting passwords:
SW1(config)# service password-encryption
Configuring banners:
SW1(config)# banner motd $
2
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
UNAUTHORIZED ACCESS IS PROHIBITED
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
$
Saving configuration:
Working environment:
name lookup, history, exec-timeout and logging behavior…, also valid for line con 0.
SW1(config)# no ip domain-lookup
3
Aliases:
Shows information about the switch and its interfaces, RAM, NVRAM, flash, IOS, etc.
SW1# show version
Shows the configuration file stored in NVRAM which is used at first boot process.
SW1# show startup-config
Shows an overview of all interfaces, their physical status, protocol status and ip address if assigned.
SW1# show ip interface brief
Shows detailed information about the specified interface, its status, protocol, duplex, speed, encapsulation, last 5 min traffic.
SW1# show interface vlan 1
Shows the status of all interfaces like connected or not, speed, duplex, trunk or access vlan.
SW1# show interfaces status
5
Shows information about the leased IP address (when an interface is configured to get IP address via a dhcp server)
SW1# show dhcp lease