Show Menu
Cheatography

ScalingVLANs_EtherChannel Cheat Sheet by

Config­uring VTP

S2(con­fig)# vtp domain CCNA
Sets the VTP domain
S2(con­fig)# vtp mode [serve­r|c­lie­nt|­tra­nsp­arent]
Sets VTP mode
S2(con­fig)# vtp password cisco
Sets VTP password to cisco
S2# show vtp status
Shows VTP config­uration
VTP is used to make VLAN config­uration more effort­less. VLANs are configured on the VTP, while a VTP client simply synchr­onizes its config­uration with the VTP server. A transp­arent switch forwards packets without synchr­onizing its config­ura­tion.

Config­uring DTP

S1(con­fig­-if)# switchport mode xyz
Configures dynamic trunk link
xyz = access
Sets trunking mode to ACCESS
xyz = trunk
Sets trunking mode to TRUNK
xyz = dynamic desirable
Sets trunking mode to dynamic desirable
xyz = dynamic auto
Sets trunking mode to dynamic auto
S1(con­fig­-if)# switchport access vlan 10
Sets vlan 10 to an interface
S1# show interfaces trunk
To confirm trunk config­uration
All variations of modes result in the TRUNK mode except when:
- one of both ports is set to access
- both ports are dynamic auto

LACP

S1(con­fig)# interface range f0/x-y
Selects all interfaces from x to y
S1(con­fig­-if­-ra­nge)# switchport mode trunk
Sets switchport mode to trunk
S1(con­fig­-if­-ra­nge)# switchport trunk native vlan 99
Sets native VLAN to 99
S1(con­fig­-if­-ra­nge)# channe­l-group 2 mode active
Adds the current interf­ace(s) to channel group 2
S1(con­fig­-if­-ra­nge)# no shutdown
Activates the interf­ace(s)
LACP is an open source protocol for Link Aggreg­ation.
Link Aggreg­ation summarizes multiple physical connec­­tions into one virtual connec­­tion.
 

VLAN Config­uration

S1(con­fig)# vlan 10
Creates a VLAN with an id of 10
S1(con­fig­-vlan)# name test
Sets the name of a vlan
S1# show vlan brief
Shows vlan config­uration

Extended VLANs

S1(con­fig)# vtp mode transp­arent
Sets VTP mode to transp­arent
S1(con­fig)# vlan 2222
Creates a vlan with an id of 2222
To be able to configure extendes VLANs, the vtp mode of the switch must be configured as transp­arent.
All VLANs with an id of 1006 or higher are extended VLANs.

EtherC­hannel

S1(con­fig)# interface range f0/x-y
Selects all interfaces from x to y
S1(con­fig­-if­-ra­nge)# channe­l-group 1 mode [mode]
Adds the current interf­ace(s) to etherc­hannel 1
S1(con­fig­-if­-ra­nge)# no shutdown
Activates the interf­ace(s)
S1(con­fig)# interface port-c­hannel 1
Enters the config­uration mode of etherc­hannel 1
S1(con­fig­-if)# switchport mode trunk
Sets the switchport mode
S1(con­fig­-if)# switchport trunk native vlan 99
Sets the native VLAN
S1# show etherc­hannel summary
Shows a summary of channel groups
EtherC­hannel is a Cisco-­pro­pri­etary Link Aggreg­ation.
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Basic Cisco IOS Commands Cheat Sheet

          More Cheat Sheets by hoemac16

          Single Area OSPF Cheat Sheet