思科交换机设置端口 trunk 模式报错

  • Post author:
  • Post category:其他



描述

Command rejected: An interface whose trunk encapsulation is "Auto" can not be configured to "trunk" mode.

意思是:拒绝命令:主干封装为“Auto”的接口不能配置为“trunk”模式。

原因分析:因为端口没有还没有封装协议,还是端口自动的协议。所以不能完成配置


解决办法


既然是还没有封装协议,那么封装一个不就ok了么

比如:

Switch(config-if)#switch trunk encapsulation dot1q
Switch(config-if)#switchport mode trunk
Switch(config-if)#



版权声明:本文为gufengblog原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。