取消
显示结果 
搜索替代 
您的意思是: 
cancel
9121
查看次数
10
有帮助
7
回复

请问这个命令的出处在哪里?(encapsulation dot1Q vlan-id primary~)

xiaomaolove
Level 1
Level 1
本帖最后由 xiaomaolove 于 2018-1-20 21:58 编辑
我在思科的网站上看到了下面的命令(网页链接:https://www.cisco.com/c/ja_jp/td/docs/rt/wanaggregationinternetedgert/asr1000aggregationservsrt/cg/023/lanswitch-xe-3s-asr1000-book/lanswitch-xe-3s-asr1000-book_chapter_011.html)
encapsulation dot1Q vlan-id primary interface-type slot/port secondary interface-type slot/port
我想查找关于这个命令更多的信息,但是在思科的网站上没有找到这个命令的定义(有详细说明,有例子等等,比如https://www.cisco.com/c/en/us/td/docs/ios/lanswitch/command/reference/lsw_book/lsw_b1.html#wp1044676 中有命令“encapsulation dot1q”的详细说明)
请问在哪里可以找到这个命令的出处?
请大神不吝赐教!拜托拜托!{:3_59:}
1 个已接受解答

已接受的解答

Rockyw
Spotlight
Spotlight
英文版的在这
Chapter: VLAN Mapping to Gigabit EtherChannel Member Links
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/lanswitch/configuration/xe-3s/lanswitch-xe-3s-book/lnsw-vlan-map-gig.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rockyw | If it solves your problem, please mark as answer. Thanks !

在原帖中查看解决方案

7 条回复7

Rockyw
Spotlight
Spotlight
英文版的在这
Chapter: VLAN Mapping to Gigabit EtherChannel Member Links
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/lanswitch/configuration/xe-3s/lanswitch-xe-3s-book/lnsw-vlan-map-gig.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rockyw | If it solves your problem, please mark as answer. Thanks !

YilinChen
Spotlight
Spotlight
1.当思科交换机 支持私有协议ISL封装时,对应接口下,如果要配置成Trunk模式,就得有显式命令encapsulation dot1q/isl ,来指定到底用哪种TRUNK封装模式(ISL or 802.1Q)
2.当使用路由器,把3层口封装多个VLAN时,典型场景如单臂路由,也需要在物理口和子接口配置 encapsulation dot1q 命令;

Rockyw
Spotlight
Spotlight
这个命令很简单,一目了然,无须多举例子了吧。它的作用就是Enables IEEE 802.1Q encapsulation on the interface.encapsulation dot1Q vlan-id primary interface-type slot/port secondary interface-type slot/port
Example:Device(config-if)# encapsulation dot1Q 100 primary GigabitEthernet 1/1/1 secondary GigabitEthernet 1/2/1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rockyw | If it solves your problem, please mark as answer. Thanks !

青沙流萤
Level 7
Level 7
这个命令一般在路由器单臂路由的接口下的配置,比如
interface GigabitEthernet5/0/9
interface GigabitEthernet5/0/9.10
encapsulation dot1Q 10
ip address 192.168.1.10 255.255.255.252
表示此子接口下允许VLAN10 通过

Wubin2010
Spotlight
Spotlight
dot1q是trunk的一种封装呀...

one-time
Level 13
Level 13
感谢您的提问,已有多位小伙伴来解答您的问题了,如您的问题已解决,还请记得标记最佳答案哦,给辛勤解答问题的用户一个积极鼓励吧!
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接