Cheatography
https://cheatography.com
Basic configuration
no ip domain-lookup |
hostname [hostname] |
service password-encryption |
banner motd #Unauthorized access to this device is prohibited!# |
enable secret class |
line console 0 |
line vty 0 15 |
password cisco |
This is just basic configuration and has nothing to do with vtp or etherchannel
VTP commands
vtp domain [domain] |
Set (change) the vtp domain |
vtp mode [server|client|transparent] |
Set vtp mode |
vtp password [password] |
Set vtp password |
show vtp status |
Verification command concerning vtp |
Show vtp status also shows the revision number of a certain switch.
|
|
Etherchannel
interface range f0/[number-number] |
Enters the interface configuration mode for a couple interfaces |
channel-group 1 mode [mode] |
Adds the current "selected" ports to etherchannel 1 |
interface port-channel [number] |
Enters the configuration mode for a specific etherchannel |
switchport mode trunk |
Sets the switchport |
switchport trunk native vlan 99 |
Specifies the port's native VLAN |
An etherchannel summarizes a few physical cables to one logical cable and speeds up the entire process of data transmission -> 4 cables -> 3.9 times faster
DTP commands
interface f0/1 |
Enters interface configuration mode for f0/1 |
switchport mode [mode] |
Sets mode |
show interfaces trunk |
Verification command concerning dtp |
|
|
Link Aggregation
interface range f0/[number-number] |
Enters the interface configuration mode for a couple interfaces |
switchport mode trunk |
Sets the switchport |
switchport trunk native vlan |
Specifies the port's native VLAN |
channel-group [number] mode [mode] |
Adds the current "selected" ports to etherchannel 1 |
Is the same as etherchannel, but all devices can use it, so it's not cisco only.
VLAN commands
vlan [number] |
Creates vlan with a certain number and automatically enters vlan configuration mode |
name [name] |
Give the vlan a specific name |
show vlan brief |
Verify your configuration |
By default all interfaces are in vlan 1
|
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by bausac16