1.以太通道和vlan划分的排查命令:
SW3#show vlan brief //检查vlan和接口是否对应(access链路)
SW3#show int trunk //检查trunk链路
SW3#show etherchannel summary //检查以太通道(SU表示正常;如果是其他状态,就进入接口先shutdown ,再no shutdown)
(1)以太通道的协商方式:
使用的两个协议:
Link Aggregation Control Protocol , LACP :IEEE 定义的标准协议。
Port Aggregation Protocol:是Cisco的专有协议。
SW2(config)#int range f0/6 - 8
SW2(config-if-range)#channel-group 1 mode ?
active Enable LACP unconditionally //主动模式
passive Enable LACP only if a LACP device is detected //被动模式
auto Enable PAgP only if a PAgP device is detected //被动模式,自动协商
desirable Enable PAgP unconditionally //期望,主动模式
on Enable Etherchannel only //表示手工指定为on;对端必须是on才能协商成功。
1.单臂路由:实现不同vlan的通信。
(1)基本配置:
int f0/0
no shut
int f0/0.10 //创建一个子接口
encapsulation dot1q 10 //设
VTP和单臂路由
最新推荐文章于 2024-05-16 17:08:45 发布