User Tools

Site Tools


cisco-cheat-sheet

CISCO Cheat Sheet

Configure SPAN Port

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
cisco-cheat-sheet.txt · Last modified: 2024/03/30 09:24 by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki