拓扑
堆叠配置
S6850_1配置
[S6850_1]inte Ten-GigabitEthernet 1/0/49
[S6850_1-Ten-GigabitEthernet1/0/49]shutdown
[S6850_1-Ten-GigabitEthernet1/0/49]inte te 1/0/50
[S6850_1-Ten-GigabitEthernet1/0/50]shutdown
[S6850_1]irf-port 1/2
[S6850_1-irf-port1/2]port group interface Ten-GigabitEthernet 1/0/49
[S6850_1-irf-port1/2]port group interface Ten-GigabitEthernet 1/0/50
[S6850_1]inte ten 1/0/49
[S6850_1-Ten-GigabitEthernet1/0/49]no shutdown
[S6850_1-Ten-GigabitEthernet1/0/49]inte ten 1/0/50
[S6850_1-Ten-GigabitEthernet1/0/50]no shutdown
[S6850_1]irf-port-configuration active
S6850_2配置
[S6850_2]irf member 1 renumber 2
[S6850_2]save
<S6850_2>reboot
[S6850_2]irf member 2 priority 32
[S6850_2]inte ten 2/0/49
[S6850_2-Ten-GigabitEthernet2/0/49]shutdown
[S6850_2-Ten-GigabitEthernet2/0/49]inte ten 2/0/50
[S6850_2-Ten-GigabitEthernet2/0/50]shutdown
[S6850_2]irf-port 2/1
[S6850_2-irf-port2/1]port group inte ten 2/0/49
[S6850_2-irf-port2/1]port group inte ten 2/0/50
[S6850_2]inte ten 2/0/49
[S6850_2-Ten-GigabitEthernet2/0/49]no shutdown
[S6850_2-Ten-GigabitEthernet2/0/49]inte ten 2/0/50
[S6850_2-Ten-GigabitEthernet2/0/50]no shutdown
[S6850_2]irf-port-configuration active
验证
[S6850_2]dis irf
MemberID Role Priority CPU-Mac Description
1 Standby 1 8041-656f-0104
*+2 Master 30 8041-693b-0204 ---
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
The bridge MAC of the IRF is: 8041-693b-0200
Auto upgrade : yes
Mac persistent : 6 min
Domain ID : 0
在S6850_2上的配置S6850_1会同步