一、思科交换机两用端口更新为光口并且支持其他光模块
关闭思科交换机光模块校验
service unsupported-transceiver
no errdisable detect cause gbic-invalid
进入端口配置
interface G0/24
media-type sfp
speed nonegotiate
查询端口状态
show interfaces G0/24 transceiver
二、思科交换机端口聚合
s2(config)#int range fa0/1 -4 //把接口1-4聚合
s2(config-if-range)#switchport mode trunk //模式改为串口
s2(config-if-range)#channel-group 1 mode desirable //设置组别为1
s2(config-if-range)#exit //退出
s2(config)#port-channel load-balance dst-ip //平衡端口负载
附组模式:
模式 | 作用 |
|---|
active | 主动发送LACP报文 |
auto | 被动发送PAgP报文 |
desirable | 主动发送PAgP报文 |
on | 手动设置,需要两边都设置成on |
passive | 被动接收LACP报文 |