Cheatography
https://cheatography.com
VLAN
vlan number |
generates a vlan with a certain number |
name name |
gives the vlan a name |
show vlan brief |
shows summary of vlans |
switchport mode access |
configures port as access |
switchport mode trunk |
configures port as trunk |
switchport access vlan number |
puts port into vlan |
switchport trunk native vlan number |
uses specific vlan as native vlan |
Extended VLAN
vlan number |
number has to be greater than 1005 |
vtp mode transparent |
in order to use extended vlans |
|
|
VTP Commands
vtp mode server |
sets mode to server |
vtp mode client |
sets mode to client |
vtp mode transparent |
sets mode to transparent |
vtp domain domain |
sets vtp domain |
vtp password password |
sets password |
show vtp status |
shows vtp status |
Etherchannel
channel-group number mode desirable |
adds a certain port to channel group - tries to create ehterchannel |
channel-group number mode auto |
adds a certain port to channel group - etherchannel only by request |
show etherchannel summary |
shows etherchannel summary |
int port-channel number |
enters config mode for etherchannel |
Link Aggregation
channel-group number mode active |
creates link aggreagation for certain ports |
channel-group number mode passiv |
creates link aggreagation for certain ports |
DTP
switchport mode dynamic desirable |
sets vtp mode |
show interface trunk |
to verify config |
|
|
Interface Commands
int interface |
enters config mode for this interface |
int range interface - interface number* |
enters config mode for several interfaces |
no shut |
up's port |
Useful show commands
show ip interface brief |
overview of all interfaces |
show ip route |
shows routes |
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets