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

 在配置三层交换机时

 

当遇到 

    输入 Switch(config-if)#swicthport  mode trunk  想改变端口为trunk 模式时 报出错误

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

     (中文:命令被拒绝:接口的中继封装是“自动”不能被配置的“主干”模式。)

只需要 像单臂路由一样 给端口封装一个  接口封装协议。如下命令

Switch(config-if)#switchport trunk encapsulation dot1q 

 于是就解决问题了 开启了虚拟链路

全部评论

相关推荐

点赞 评论 收藏
分享
Java大菜狗:纯纯招黑奴,一天还不到两百那么多要求,还不迟到早退,以为啥啊,给一点工资做一堆活,还以不拖欠员工工资为荣,这是什么值得骄傲的事情吗,纯纯***公司
点赞 评论 收藏
分享
07-22 11:07
门头沟学院 Java
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务