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 就可以了。
这篇博客解释了在新思科交换机上配置trunk接口时,由于设备限制只能使用802.1q封装。只需将接口设置为trunk模式即可,遇到‘switchport trunk encapsulation dot1q’错误是因为该功能不被支持。参考链接提供了详细背景信息。
1万+

被折叠的 条评论
为什么被折叠?



