Catalyst Cheatsheet
- Display information about the ports, including those in private VLANs
show interface switchport - Display summary information for all VLANs
show vlan - Display summary information for all private VLANs
show vlan private-vlan - Display mac addresses
show mac address-tableorshow mac-address-table show interface vlan vlan-id [ brief | private-vlan mapping ]show vlan id vlan-idexample:show vlan id 120show interface status err-disabledorshow interfaces status err-disabled- show port security
show port-security clear errdisable intrfacde gigabitethernet 0/2 vlanclear errdisable intrfacde gigabitethernet 0/2 vlan 103set port enableerrdisable recovery causesh int g1/0/1- shut no shut
conf t int g1/0/1 shut no shut