Show Menu
Cheatography

Scaling VLANS_EtherChannel Cheat Sheet (DRAFT) by

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

VTP Config

vtp domain <do­mai­n>
Sets the vtp domain of the switch.
vtp mode <se­rve­r|c­lie­nt|­tra­nsp­are­nt>
Sets the vtp mode to either server, client or transp­arent.
vtp password <pa­ssw­ord>
Sets the vtp password of the switch.

VTP Verifi­cation

show vtp status
shows current vtp status (with Revision number, vtp mode,...)
show vtp password
shows vtp password

DTP Config

switchport mode <tr­unk­|ac­ces­s|d­ynamic desira­ble­|dy­namic auto>
Sets the port mode to either trunk, access,...
show dtp interface <in­ter­fac­e>

Switchport commands

show interfaces trunk
Shows all trunk ports, what the native vlan of the port is,...
show interfaces <in­ter­fac­e> switchport
shows all switchport info of interface.
switchport trunk native vlan <nu­mbe­r>
sets the native vlan of the selected interface

VLAN config

vlan <nu­mbe­r>
creates a clan
name <na­me>
After vlan created the name can be set
show vlan [brief | id <vl­an-­id>]
shows the vlan. brief is a summary.
interface vlan <nu­mbe­r>
creates a SVI where you can set a IP address
encaps­ulation dot1q <vl­an-­num­ber>
Router command. Sets encaps­ulation (used for subint­erf­aces)
 

Ether Channel

interface range <ra­nge>
selects multiple interf­aces.
channe­l-group <nu­mbe­r> mode <de­sir­abl­e|a­uto­|ac­tiv­e,p­ass­ive>
creates the ether channel for the interface range selected.
interface port-c­hannel <nu­mbe­r>
selects the ether channel to set the switchport mode,...
show etherc­hannel summary
shows ether channel related

Ether Channel sign

-A
A
A
B
C
D
E
F
G
H
I
J
K
L

DTP Behaviour

-
-
-
-
-
-
-
-
-
-
-
-

Other Commands

show ip route
Shows routing table