CISCO Cheat Sheet
Capture Traffic for VLAN
configure terminal
monitor session 1 source vlan 10
monitor session 1 destination interface gi7
Capture Traffic from specific interface
configure terminal
monitor session 1 source interface gi8
monitor session 1 destination interface gi7
VLANs
Create VLAN
configure terminal
vlan database
vlan <nn> name <name>
end
Delete VLAN
configure terminal
vlan database
no vlan <nn>
Assign VLAN to Access Port
configure terminal
interface gi6
switchport access vlan 100
Add VLAN to Trunk Port
configure terminal
interface gi1
switchport trunk allowed vlan add 100
Remove VLAN from Trunk Port
configure terminal
interface gi1
switchport trunk allowed vlan remove 100