-
路由交换分类的最新文章
-
热评好文
-
最新评论
-
martin_julb:好久不来了
-
CMPGM:telnet 其他三层口可以吗?
-
leeviva:我拿h3c三层交换机作过一回,双出口,源地址为某段ip的指向某出口,不成功,可能是理解不透彻
-
abcbbd:怎么没有EIGRP
-
最新文章
-
目录
-
由于核心交换机上的trunk口是当时cisco的工程师批量配置好的,我本人只是在2960上配置trunk口,在2960这样的二层交换机上配置时比较简单就一条命令:
(config-if)#switchport mode trunk
6500系列配置trunk稍有不同,以6509为例,进入要配置的端口后,依次如下配置:
(config-if)#switchport ;6系列的要先敲这一个命令
(config-if)#switchport trunk encapsulation dot1q ;先封装,一般都是用dot1q。如果不打这个命令直接设置trunk的话,会提示:Command rejected: An interface whose trunk encapsulation is "Auto" can not be configured to "trunk" mode.
(config-if)#switchport mode trunk ;然后设置端口模式为trunk
(config-if)#no shutdown ;这是好习惯,虽然多数端口都默认是起来的
注:dot1q Interface uses only 802.1q trunking encapsulation when trunking
0
收藏
Ctrl+Enter 发布
发布
取消