Cheatography
https://cheatography.com
Configure VTP
vtp domain CCNA
|
set the domain as CCNA |
vtp mode server
|
set mode (server, client or transparent) |
vtp password cisco
|
set password |
show vtp status
|
confirm vtp config |
Configure DTP
interface f0/1
|
enter interface configuration mode |
switchport mode dynamic desirable
|
set vtp mode (desirable or auto) |
show interfaces trunk
|
confirm trunk configuration |
modes: client, trunk, dynamic desirable, dynamic auto
desirable actively tries to create trunk
auto only creates trunk when other side wants a trunk
Extended VLANs
vtp mode transparent
|
switch must be transparent |
vlan 2000
|
any number higher than 1005 is an extended VLAN |
Generic VLAN commands
vlan 10
|
create vlan with number 10 |
name Red
|
set the name of the VLAN |
switchport mode [access|trunk]
|
configure port as access or trunk port |
switchport access vlan 10
|
configure port as belonging to vlan 10 |
show vlan brief
|
confirm vlan configuration |
|
|
Etherchannel - PAgP
interface range f0/3-4
|
configure multiple interfaces at onc3 |
channel-group 1 mode desirable
|
add ports to etherchannel 1, mode can be auto or desirable |
no shutdown
|
show run interface f0/3
|
show configuration of specific interface |
show interfaces f0/3 switchport
|
see operational mode |
show etherchannel summary
|
confirm that ehterchannel has been created |
interface port-channel 1
|
configure the created etherchannel |
switchport mode trunk
|
switchport trunk native vlan 99
|
acts like a normal switchport |
desirable: try to create etherchannel automatically
auto: only create etherchannel when requested by other port
Link Aggregation - LACP
interface range f0/1-2
|
configure multiple interfaces at once |
switchport mode trunk
|
set as trunk |
switchport trunk native vlan 99
|
channel-group 2 mode active
|
create link aggregation for ports - can be active or passive |
no shutdown
|
active: try to create link aggregation automatically
passive: only create link aggregation when requested by other port
|
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by matttias