两台核心交换机做好堆叠后,都断电了,重新上电后备交换机的接口配置没有了,这个怎么解决?
两台核心交换机做好堆叠后,都断电了,重新上电后备交换机的接口配置没有了,这个怎么解决?
(0)
最佳答案
您好,请知:
需确认下IRF部署后是否保存了配置。
以下是IRF的配置举例,请参考:
https://zhiliao.h3c.com/theme/details/96463
1、1号设备关键配置如下:
[H3C]irf member 1 renumber 1 //将1号设备设定为成员1
Renumbering the member ID may result in configuration change or loss. Continue?[Y/N]:y
[H3C]int range Ten-GigabitEthernet 1/0/50 to Ten-GigabitEthernet 1/0/51
[H3C-if-range]shutdown
[H3C-if-range]quit
[H3C]irf-port 1/1 //将物理端口绑定到IRF端口
[H3C-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/50
[H3C-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/51
[H3C-irf-port1/1]quit
[H3C]int range Ten-GigabitEthernet 1/0/50 to Ten-GigabitEthernet 1/0/51
[H3C-if-range]undo shutdown
[H3C-if-range]quit
[H3C]irf-port-configuration active //激活IRF
[H3C]save
2、2号设备关键配置点如下:
[H3C]irf member 1 renumber 2 //将2号设备设定为成员2
[H3C]int range Ten-GigabitEthernet 1/0/50 to Ten-GigabitEthernet 1/0/51
[H3C-if-range]shutdown
[H3C-if-range]quit
[H3C]irf-port 1/2 //将物理端口绑定到IRF端口
[H3C-irf-port1/2]port group interface Ten-GigabitEthernet 1/0/50
[H3C-irf-port1/2]port group interface Ten-GigabitEthernet 1/0/51
[H3C-irf-port1/2]quit
[H3C]int range Ten-GigabitEthernet 1/0/50 to Ten-GigabitEthernet 1/0/51
[H3C-if-range]undo shutdown
[H3C-if-range]quit
[H3C]irf-port-configuration active //激活IRF
[H3C]save
3、分别将成员1设备、成员2设备重启
4、测试
<H3C>dis irf //查看IRF的信息,看到成员1和成员2的设备信息都在一起
MemberID Role Priority CPU-Mac Description
*+1 Master 1 30bd-490a-0104 ---
2 Standby 1 30bd-525e-0204 ---
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
The bridge MAC of the IRF is: 30bd-490a-0100
Auto upgrade : yes
Mac persistent : 6 min
Domain ID : 0
<H3C>
<H3C>dis irf link //查看成员1、成员2 IRF链路的状态均为UP
Member 1
IRF Port Interface Status
1 Ten-GigabitEthernet1/0/50 UP
Ten-GigabitEthernet1/0/51 UP
2 disable --
Member 2
IRF Port Interface Status
1 disable --
2 Ten-GigabitEthernet2/0/50 UP
Ten-GigabitEthernet2/0/51 UP
<H3C>
<H3C>dis irf configuration //查看IRF的配置信息
MemberID NewID IRF-Port1 IRF-Port2
1 1 Ten-GigabitEthernet1/0/50 disable
Ten-GigabitEthernet1/0/51
2 2 disable Ten-GigabitEthernet2/0/50
Ten-GigabitEthernet2/0/51
<H3C>
<H3C>dis irf topology //查看IRF的拓扑信息
Topology Info
-------------------------------------------------------------------------
IRF-Port1 IRF-Port2
MemberID Link neighbor Link neighbor Belong To
2 DIS --- UP 1 30bd-490a-0104
1 UP 2 DIS --- 30bd-490a-0104
<H3C>
如果已经确认了保存了配置还是不行,可考虑升级软件版本到最新后再重新配置看下。
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明