对于Cisco IOS,请使用 show interfaces card-type {mod/port} trunk 命令验证中继配置和本地 VLAN。 Router#show interfaces fastEthernet 6/1 trunkPort Mode Encapsulation Status Native vlan Fa6/1 desirable 802.1qtrunking 1Port Vlans allowed on trunk Fa6/1 1-4094!--- Output truncated. 有关不同中继...
switch(config-if)#switchport trunk allowed vlan 1。2 ---设置同意的vlan。默认不用配置。为全部vlan switch(config-if)#switchport trun native vlan 999 ---设置trunk口的native vlan 5、port状态 switch(config)# switch(config)#int fa0/3 switch(config-if)# switch(config-if)# switch(config-if)#s...
switchport trunk allowed vlan all is the default when you configure a port as a trunk so it is enogh to use int gi1/1/3 switchport mode trunk on both sides of the link using a port-channel if possible is recommended. in case LACP is far better then uncondtional ( mode on) ...
L2_Switch(config)#vlan 10-11L2_Switch(config-vlan)#exit L2_Switch(config)# !-- Enable trunking on the interface GigabitEthernet 0/2. !-- Enter the trunking encapsulation as dot1q. L2_Switch(config)#interface gigabitEthernet 0/2L2_Switch(config-if)#switchport trunk encapsulation dot1qL2_S...
#设置为trunk允许多个VLAN通过 Switch(config-if-range)#switchport mode trunk #激活端口 Switch(config-if-range)#no shutdown 标注:dot1q是802.1q标准,是vlan的一种封装方式,各类交换和路由使用的vlan通用协议模式。 ===>>>希望对你所帮助,博主营养不良,当前页面右边点开打赏,你的支持是我无限的动力~!
Switch# 配置VLAN trunk configure terminal 进入配置状态 interface interface-ld 进入端口配置状态 swilchport trunk encapsulation (isl I dot1q I negotiate)配置trunk 封装ISL或 802.1Q 或 自动协商 switchport mode (dynamic (auto I desirable) trunk) 配置二层 trunk 模式。
2. Does this config need"switchport trunk encap 802.1q", or is this a default? - This make port to act as Trunk with switch mode trunk and other config. - this required to become trunk its not default. (depends on the model of the switch - some are default layer 2,...
switch(vlan)#exit 在基于CLI的交换机上配置静态VLAN: switch(enable)setvlanvlan-num[namename] switch(enable)setvlanvlan-nummod-num/port-list 9.在基于IOS的交换机上配置VLAN中继线: switch(config)#interfaceinterfacemod/port switch(config-if)#switchportmodetrunk ...
4) 每个端口上的应用策略必须一致(例如:QoS,switch trunk allowed vlan xxx) 5) 端口丌能启用端口安全,丌能为SPAN的目的端口以及802.1x端口 6) STP的端口开销建议一致(唯一可以丌一致的属性)多个接口捆绑成单条EtherChannel后,在STP中, 被当作单条链路来计算,同时Path Cost值会和原物理链路有所丌同。
2)重新插好电源后,立即按住交换机上的mode键,当看到配置界面显示“switch”命令提示,松开”mode”键。进入故障恢复的简单IOS模式 3)使用命令“Flash_init”初始化Flash 4)将config,text文件名改成config.old Switch:rename flash:config.text flash:config.old ...