reset an interface to factory default
default interface gx/x/x
How do you show switchport configuration for a specific interface?
show run interface gigabitEthernet x/x/x
How do you show the full running config for an interface?
show run interface gigabitEthernet x/x/x
How do you display all VLANs and the interfaces assigned to them?
show vlan brief
How do you see trunking status of interfaces?
show interfaces trunk
How do you view the MAC address table on a switch?
show mac address-table
How do you check interface status (up/down, VLAN, type)?
show interfaces status
How do you verify an access VLAN on a switchport?
show interfaces switchport
How do you see if an interface is administratively down?
show interfaces
How do you see SFP module details on a port?
show interfaces transceiver detail
How do you shut down an interface?
interface x/x/x then shutdown
How do you check STP status for all VLANs?
show spanning-tree
How do you verify PortFast status on an interface?
show spanning-tree interface x/x/x portfast
How do you check root bridge information?
show spanning-tree vlan x
How do you check if DTP is active on an interface?
show dtp interface
How do you show the IP routing table?
show ip route
How do you show the IPv6 routing table?
show ipv6 route
How do you display OSPF neighbor relationships?
show ip ospf neighbor
How do you verify OSPF interface-specific settings?
show ip ospf interface
How do you show EIGRP neighbors?
show ip eigrp neighbors
How do you show EIGRP topology?
show ip eigrp topology
How do you view BGP neighbors?
show ip bgp summary
How do you verify redistribution between protocols?
show run | include redistribute
How do you show all ACLs configured on the router?
show access-lists