This is a draft cheat sheet. It is a work in progress and is not finished yet.
VTP
vtp mode [client|server|transparent] |
sets the vtp mode |
vtp domain [name] |
configure the domain (1 to 32 characters) ) |
vtp password [password] |
set the password |
show vtp status |
verify your vtp entries |
show vtp password |
verify vtp password |
a |
a |
a |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa |
a |
a |
a |
a |
a |
a |
a |
a |
a |
a |
a |
Etherchanel
interface [int-id] |
go into interface |
switchport mode [access|trunk] |
set type of port |
channel-group [group number] mode [desirable|active|passive] |
assign port to a channel group and specify the mode |
interface port-channel [number] |
Specify the port-channel logical interface, and enter interface configuration mode. For port - channel-number, the range is 1 to 48. |
ip address [ip address] |
assign an ip address to the port |
show etherchannel 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 information about vlans |
switchport trunk native vlan [vlan-id] |
sets the native vlan |
switchport mode [access|trunk] |
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[vlan-id] |
shows specifc information of a vlan |
delete vlan.dat |
deltes the file that stores the vlan |
DTP
switchport mode [access|dynamic auto|desirable|trunk]] |
sets the mode of the port |
show dtp interface [interface] |
determine current dtp mode |
a |
a |
a |
a |
|