[笔记]Cisco PT VLAN-Trunk配置

在学习Cisco交换机的Vlan配置时,照着参考资料配置,在switchport mode trunk时提示Command rejected: An interface whose trunk encapsulation is "Auto" can not be configured to "trunk"。后来知道,思科的设备中,当一个接口的trunk封装是“Auto”时,不能被配制成trunk模式。这样为了设置trunk就需要把封装模式改为802.1Q。

switch trunk encapsulation dot1q

注:dot1q  Interface uses only 802.1q trunking encapsulation when trunking

即接口在trunk通信时只使用 802.1q封装协议,802.1Q是IEEE规定的,大多数交换机都支持。

posted on 2012-03-14 17:11  sztsian  阅读(832)  评论(0编辑  收藏  举报

导航