如何设置交换机端口的中继协议?
我看到那里可以使用命令设置中继模式:
SW(config-if)# switch trunk encapsulation ?
dot1q
isl
negotiate
但我试过下面的命令没有找到命令。
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
我在 Cisco Packet Tracer 中使用 Switch 2950T-24。