光交常用命令
重命名
switchname newname
//修改domainid
switchdisable
configure
y
newid
switchenable
switchshow
reboot
//保存当前的配置
cfgsave
//重新设置IP地址
ipaddrset
#####ipAddrSet – 为交换机设置IP地址
sw2:admin> ipAddrSet
Ethernet IP Address [10.77.77.77]: 192.168.66.107
Ethernet Subnetmask [0.0.0.0]: 255.255.255.0
Fibre Channel IP Address [none]:
Fibre Channel Subnetmask [none]:
Gateway Address [172.17.1.1]:
#####Set IP address now? [y = set now, n = next reboot]: y
//修改密码
passwd
//snmp