Show Menu
Cheatography

Cheatsheet Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

VTP

vtp mode [clien­t|s­erv­er|­tra­nsp­arent]
sets the vtp mode
vtp domain [name]
configure the domain (1 to 32 charac­ters) )
vtp password [password]
set the password
show vtp status
verify your vtp entries
show vtp password
verify vtp password
a
a
a
aaaaaa­aaa­aaa­aaa­aaa­aaa­aaa­aaa­aaa­aaa­aaa­aaa­aaa­aaa­aaa­aaa­aaaaa
a
a
a
a
a
a
a
a
a
a
a

Etherc­hanel

interface [int-id]
go into interface
switchport mode [acces­s|t­runk]
set type of port
channe­l-group [group number] mode [desir­abl­e|a­cti­ve|­pas­sive]
assign port to a channel group and specify the mode
interface port-c­hannel [number]
Specify the port-c­hannel logical interface, and enter interface config­uration mode. For port - channe­l-n­umber, the range is 1 to 48.
ip address [ip address]
assign an ip address to the port
show etherc­hannel summray
verify the entries
interface range f0/1-2
configure many ports at once
 

VLAN

vlan [vlan-id]
creates vlan with given number
name [name]
names the vlan
no shut
enables the vlan
no vlan [vlan-id]
deletes the vlan
switchport access vlan [vlan-di]
sets the int to the vlan
show vlan
detailed inform­ation about vlans
switchport trunk native vlan [vlan-id]
sets the native vlan
switchport mode [acces­s|t­runk]
specifies that port is either on access or trunk mode
switchport mode dynamic desirable
configure a dynamic trunk
show vlan brief
short summary of vlans
show vlan id[vla­n-id]
shows specifc inform­ation of a vlan
delete vlan.dat
deltes the file that stores the vlan

DTP

switchport mode [acces­s|d­ynamic auto|d­esi­rab­le|­trunk]]
sets the mode of the port
show dtp interface [inter­face]
determine current dtp mode
a
a
a
a