How can I set the switchport's trunk protocol?
I saw there can use the command to set the trunk mode:
SW(config-if)# switch trunk encapsulation ?
dot1q
isl
negotiate
but I tried bellow command did not found the command.
Switch(config-if)#switchport mode trunk
Switch(config-if)#switchport trunk en?
% Unrecognized command
Switch(config-if)#switchport ?
access Set access mode characteristics of the interface
mode Set trunking mode of the interface
nonegotiate Device will not engage in negotiation protocol on this
interface
port-security Security related command
priority Set appliance 802.1p priority
protected Configure an interface to be a protected port
trunk Set trunking characteristics of the interface
voice Voice appliance attributes
Switch(config-if)#switchport trunk ?
allowed Set allowed VLAN characteristics when interface is in trunking mode
native Set trunking native characteristics when interface is in trunking
mode
I use the Switch 2950T-24 in Cisco Packet Tracer.
mode trunk
before the encapsulation mode isn't fixed.