通信网络
物理拓扑
堆叠的接口最好是千兆光口
单模传输距离会更远,多模传输距离近
模块型号里SM表示单模,MM表示多模
规划说明
设备 | IRF接口 | 物理接口 |
---|---|---|
Master | irf-port 1/1 | XG1/0/49 |
Master | irf-port 1/2 | XG1/0/50 |
Slave1 | irf-port 2/1 | XG2/0/49 |
Slave1 | irf-port 2/2 | XG2/0/50 |
Slave2 | irf-port 3/1 | XG3/0/49 |
Slave2 | irf-port 3/2 | XG3/0/50 |
Master优先级配置为10,两个从设备优先级配置为1
配置
主交换机
配置完IRF接口重新启用物理接口后,需要先save保存,再使irf配置生效
interface range Ten-GigabitEthernet 1/0/49 to Ten-GigabitEthernet 1/0/50 shutdown # irf member 1 priority 10 irf member 2 priority 1 irf member 3 priority 1 # irf-port 1/1 port group interface Ten-GigabitEthernet 1/0/49 irf-port 1/2 port group interface Ten-GigabitEthernet 1/0/50 # interface range Ten-GigabitEthernet 1/0/49 to Ten-GigabitEthernet 1/0/50 undo shutdown # save # irf-port-configuration active
可以先将物理接口shutdown,等两台从设备配置完成后,再undo shutdown
从交换机1
修改板卡的序列号,修改后需要重启生效
irf member 1 renumber 2 save y y reboot
配置IRF接口
配置完成后,同样先save再使IRF配置生效
# interface range Ten-GigabitEthernet 2/0/49 to Ten-GigabitEthernet 2/0/50 shutdown # irf-port 2/1 port group interface Ten-GigabitEthernet 2/0/49 irf-port 2/2 port group interface Ten-GigabitEthernet 2/0/50 # interface range Ten-GigabitEthernet 2/0/49 to Ten-GigabitEthernet 2/0/50 undo shutdown # save # irf-port-configuration active
从交换机2
irf member 1 renumber 3 save y y reboot # interface range Ten-GigabitEthernet 3/0/49 to Ten-GigabitEthernet 3/0/50 shutdown # irf-port 3/1 port group interface Ten-GigabitEthernet 3/0/49 irf-port 3/2 port group interface Ten-GigabitEthernet 3/0/50 # interface range Ten-GigabitEthernet 3/0/49 to Ten-GigabitEthernet 3/0/50 undo shutdown # save # irf-port-configuration active
配置完成并激活IRF配置后,从设备会自动重启,所以再使堆叠配置生效前,需要先保存配置。或最后连线
如果设备没有重启,检查是否是主设备上的堆叠物理接口shutdown
验证
堆叠配置完成后,会看到成员设备
+表示当前登录的设备
保存配置时,会自动保存到Solt 2和Solt 3
审核编辑:黄飞
全部0条评论
快来发表一下你的评论吧 !