The following table lists important commands for configuring and monitoring trunking on a switch.
Command |
Function |
Switch(config-if)#switchport mode trunk |
|
Switch(config-if)#switchport trunk encapsulation dot1q Switch(config-if)#switchport trunk encapsulation isl |
|
Switch(config-if)#switchport mode dynamic auto |
|
Switch(config-if)#switchport mode dynamic desirable |
|
Switch(config-if)#switchport mode access |
Disables trunking configuration on the port. |
Switch#show interface trunk Switch#show interface fa0/1 trunk |
Shows interface trunking information with the following:
|
Note: Two switches both configured to use desirable dynamic trunking will not trunk. At least one of the switches must be set to manually trunk or to use auto dynamic trunking.
Credit: Testout 640-802 CCNA Notes
ไม่มีความเห็น