交换机接口配置trunk:switch(config)#int f0/24switch(config-if)#sw m t 查看交换机接口模式:switch#sh int f0/24 switchpor