欢迎来到天天文库
浏览记录
ID:40088048
大小:97.50 KB
页数:4页
时间:2019-07-20
《Etherchannel环境下更换网卡》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、Etherchannel环境下更换网卡环境:AIXOSLevel:5304CSPEtherchannel配置模式:标准,backup模式。此处Etherchanel的虚拟网卡为ent4,物理主网卡为ent2,物理备网卡为ent3步骤:1.使用命令entstat-dent4查看当前Etherchannel状态查看当前Etherchannel网卡的状态,例如:#entstat-dent4
2、egrep-e"ETHERNET
3、LinkStatus
4、Activechannel
5、MediaSpeed"ETHERNETSTATISTICS(ent4):Activechanne
6、l:primarychannelETHERNETSTATISTICS(ent2):LinkStatus:UpMediaSpeedSelected:100MbpsFullDuplexMediaSpeedRunning:100MbpsFullDuplexETHERNETSTATISTICS(ent3):LinkStatus:DownMediaSpeedSelected:100MbpsFullDuplexMediaSpeedRunning:Unknown注意当前“Activechannel”是PrimaryChannel还是SecondaryChannel查看ent2
7、和ent3的linkstatus是Up还是Down2.如果需要更换的是主网卡ent2,而当前“ActiveChannel”仍是PrimaryChannel,则当前ent2上还有网络流量,需要首先进行链路的主备网卡切换,确保需要更换的主网卡ent2上没有网络流量#/usr/lib/methods/ethchan_config-fent4更换主网卡ent2:1.从etherchannel删除主网卡/usr/lib/methods/ethchan_config-dent4ent22.删除并热插拔主网卡3.添加主网卡到etherchannel/usr/lib/metho
8、ds/ethchan_config-aent4ent23.如果需要更换的是备网卡ent3,而当前“ActiveChannel”是SecondaryChannel,则当前ent3上还有网络流量,需要首先进行链路的主备网卡切换,确保需要更换的备网卡ent3上没有网络流量#/usr/lib/methods/ethchan_config-fent4更换备网卡ent3:1.从etherchannel删除备网卡/usr/lib/methods/ethchan_config-dent4ent32.删除并热插拔备网卡3.添加备网卡到etherchannel/usr/lib/me
9、thods/ethchan_config-a-bent4ent3完!附录ethchan_config命令说明manethchan_configCommandsReference,Volume2,d-hethchan_configCommandPurposeAddsadapterstoanEtherChannelorremovesadaptersfromanEtherChannel.Syntaxethchan_config{-a[-b]
10、-d}EtherChannelAdapterethchan_config-cEtherChannelAttributeNewVa
11、lueethchan_config-fEtherChannelDescriptionThiscommandaddsadapterstoanEtherChannelorremovesadaptersfromanEtherChannel.ThiscommandcanalsobeusedtomodifyEtherChannelattributes.Theseadditions,deletionsormodificationscantakeplaceeveniftheEtherChannel'sinterfaceiscurrentlyconfigured;thatis,
12、itisnotnecessarytodetachtheEtherChannel'sinterfacetoaddorremoveadaptersormodifymostEtherChannelattributes.Flags-aAddsthespecifiedAdaptertothespecifiedEtherChannel.Iftheadaptermustbeaddedasabackupadapter,the-bflagmustbespecified.-bSpecifiesthattheAdapterisbeingaddedasabackupadapter.Th
13、isflagisonly
此文档下载收益归作者所有