思科交换机没有 Trunk 封装选项

这篇博客解释了在新思科交换机上配置trunk接口时,由于设备限制只能使用802.1q封装。只需将接口设置为trunk模式即可,遇到‘switchport trunk encapsulation dot1q’错误是因为该功能不被支持。参考链接提供了详细背景信息。
摘要由CSDN通过智能技术生成
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
Switch(config-if)#switchport trunk encapsulation dotlq
                                   ^
% Invalid input detected at '^' marker.

原因是新的思科交换机设备只支持802.1q的封装格式,故没有封装选项,直接 switchport mode trunk 就可以了。

参考:https://community.cisco.com/t5/other-network-architecture/2960-will-not-allow-quot-switchport-trunk-encapsulation-dot1q/td-p/2439012

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值