内容简介:CCNA笔记 GLAB 郭主任 第9课 trunk
九、 trunk
trunk,一个线上传送不同的Vlan数据;
数据上打上不同vlan的标记(vlan id; );工业标准802.1q;
默认的native vlan的ID是1;native vlan不用打vlan id标记;
查看接口的trunk信息;
配置trunk;
接口模式下配置:
en
config t
int fa 0/2
switchport trunk encapsulation dot1q
switch mode trunk
查看trunk
修改不打标记的vlan id 为999; 即修改native vlan;
(config)#vlan 999
(config-vlan)#name test
查看修改结果 ;
网络中native vlan id必须一致才能通讯;
vlan经过的交换机都必须有这个vlan信息才行;
trunk模式;
1、手动;
2、自动协商(需要DTP协议; 即动态trunk协议);
default命令恢复默认设置(模拟器不支持default命令):
接口模式有3种
1、access 配置vlan接入模式;
上面的操作把这个接口划到了vlan100;
2、dynamic 动态协商 DTP;
删除trunk设置;命令前加no即可;
自动协商trunk,auto是被动,desirable是主动;至少有一个是主动,desirable;
3、trunk 配置trunk形成模式(手动);
trunk DTP自动协商的发送和响应 ;
nonegotiatiate 关闭DTP 自动协商;tunk 模式下,可关闭DTP来优化网络;
CCNA及相关视频教程购买请移IT教室,全网最全、最新教程合集!!!
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- CCNA笔记 GLAB 郭主任 十三 单臂路由
- CCNA笔记 GLAB 郭主任 十三 单臂路由
- CCNA笔记 GLAB 郭主任 十二、Etherchannel技术
- CCNA笔记 GLAB 郭主任 十二、Etherchannel技术
- CCNA笔记 GLAB 郭主任 第10课 VTP
- CCNA笔记 GLAB 郭主任 第8课 vlan
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
The Nature of Code
Daniel Shiffman / The Nature of Code / 2012-12-13 / GBP 19.95
How can we capture the unpredictable evolutionary and emergent properties of nature in software? How can understanding the mathematical principles behind our physical world help us to create digital w......一起来看看 《The Nature of Code》 这本书的介绍吧!