光模块在交换机上一些命令汇总

Cisco
show interface status 查看端口状态;
show interface tran detail 查看插入模块识别信息和DOM;
show inv /show interface tran 查看模块识别信息;
Avaya
enable 进入系统视图;
show pl detail 查看识别DOM信息;
show interface gig state 查看端口LINK状态
Extreme
show port x tran info detail 查看识别DOM信息;
show port x conf 查看link;
disable port x 关闭端口
enable port x 打开端口
Mellanox
show int statu | inclu up 查看Link状态;
show interface eth x tran dia 查看识别DOM信息;
端口聚合:
enable;
conf te;
int et x;
no module-type force ? ;
端口分离:
enable;
conf te;
module-qsfp-split-4 type force
改速率:
interface eth x;
speed 40G force; 修改速率为40G
Juniper
cli 进入用户视图模式
conf 进入系统视图;
show interface br 查看Link;
show interface dia op 查看DOM;
show cha har 查看模式识别信息;
H3C
dis tran int 查看识别信息;
dis int br 查看link;
dis int te(10G) /gig(1G)
dis tran dia int 查看DOM;
Netgfar(北电)
enable 进入系统视图模式;
show fiber op info all 查看识别信息;
show port all LINK;
show fiber op all DOM信息;
模块在交换机上的就是看模块识别信息,link状态,DOM这些,更高级的一点也就是配置端口速率,VLAN,这些可以在网上去查找交换机配置命令手册。

你可能感兴趣的:(光通信)