The below configuration should be done on one side of the trunk link, that is on a trunk port of one switch.
SW1# configure terminal
SW1# interface gigabit 0/1
SW1# switchport mode dynamic desirable
SW1# ^z
In the above configuration, SW1 is the switch name. ‘#’ denotes privileged EXEC mode or enable mode.
Operational mode is the expected mode after configuring administrative mode of trunked switch-ports.
Expected Trunking operational mode based on the configured Administrative modes
SW1# configure terminal
SW1# interface gigabit 0/1
SW1# switchport mode dynamic desirable
SW1# ^z
In the above configuration, SW1 is the switch name. ‘#’ denotes privileged EXEC mode or enable mode.
- "configure terminal" command: This command is used to enter into Global configuration mode.
- "interface gigabit0/1" command: To enter into interface configuration mode to configure the switch interface G0/1 as trunk port which is connected to the second switch for trunking.
- "switchport mode dynamic desirable" command: To make this interface G0/1 to initiate negotiation messages and respond to negotaiation messages to dynamically choose to start trunking.
- "^z" command: same as "end" command.
Operational mode is the expected mode after configuring administrative mode of trunked switch-ports.
Expected Trunking operational mode based on the configured Administrative modes
Administrative mode
|
Access
|
Dynamic Auto
|
Trunk
|
Dynamic Desirable
|
Access
|
Access
|
Access
|
Do not use
|
Access
|
Dynamic auto
|
Access
|
Access
|
Trunk
|
Trunk
|
Trunk
|
Do not use
|
Trunk
|
Trunk
|
Trunk
|
Dynamic desirable
|
Access
|
Trunk
|
Trunk
|
Trunk
|
How to create VLANs?
What is NAT in Networking?
What is Router on a stick?
Syslog Severity Levels – Explained.
Why spanning Tree protocol is used?
VLAN Trunking Protocols – 802.1q & ISL.
How a MAC address is universally unique?
What is Syslog – System Message logging?
Media Access Methods – CSMA/CD, CSMA/CA, Token passing & Polling, Explained?
Comments