组网架构
配置步骤
SW1的配置:
irf member 1 priority 32 设置master的优先级为32
interfacec range Ten-GigabitEthernet1/0/49 to Ten-GigabitEthernet1/0/50
shutdown
关闭上述接口(将其加入到堆叠口之前需要关闭,否则无法加入)
#
irf-port 1/1 (此处的前一个1代表设备编号,后一个1代表逻辑编号)
port group interface Ten-GigabitEthernet1/0/49 将49口加入irf-port1/1
#
irf-port 1/2
port group interface Ten-GigabitEthernet1/0/50 将49口加入irf-port1/2
#
interfacec range Ten-GigabitEthernet1/0/49 to Ten-GigabitEthernet1/0/50
undo shutdown 开启该接口
#
save force 保存配置
#
irf-port-configuration active 激活配置
#
SW2的配置:
irf member 1 renumber 2 修改设备物理接口编号为2
#
save force
reboot 重启让设置的物理接口编号生效
#
interfacec range Ten-GigabitEthernet2/0/49 to Ten-GigabitEthernet2/0/50
shutdown
#
irf-port 2/1
port group interface Ten-GigabitEthernet2/0/49
#
irf-port 2/2
port group interface Ten-GigabitEthernet2/0/50
#
interfacec range Ten-GigabitEthernet2/0/49 to Ten-GigabitEthernet2/0/50
undo shutdown
#
save foce
irf-port-configuration active
SW3的配置:
irf member 1 renumber 3 修改设备物理接口编号为3
#
save force
reboot
#
interfacec range Ten-GigabitEthernet3/0/49 to Ten-GigabitEthernet3/0/50
shutdown
#
irf-port 3/1
port group interface Ten-GigabitEthernet3/0/49
#
irf-port 3/2
port group interface Ten-GigabitEthernet3/0/50
#
interfacec range Ten-GigabitEthernet3/0/49 to Ten-GigabitEthernet3/0/50
undo shutdown
#
save foce
irf-port-configuration active