使用ENSP Pro 模拟业务口普通线缆堆叠,S-1为主设备,S-2为备设备,堆叠配置完成前不进行连线。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<HUAWEI>system-view [HUAWEI]sysname S-1 [S-1]stack [S-1-stack]stack member 1 priority 150 [S-1-stack]quit [S-1]interface Stack-Port 1/1 [S-1-Stack-Port1/1]port member-group interface GE 1/0/9 to GE 1/0/10 Warning: After the configuration is complete, 1.The interface(s)(GE1/0/9-1/0/10) will be converted to member of Stack-Port. 2.The current operation will clear all configurations on the interface and save all configurations on the device. Manually back up the configuration file before the operation. 3.The interface(s) may go Error-Down because there is noshutdown configuration on the interfaces. Continue? [Y/N]:y Warning: All running configurations of the interface will be cleared immediately. Continue? [Y/N]:y Info: Operating, please wait for a moment.........done. [S-1-Stack-Port1/1]return <S-1>save Warning: The current configuration will be written to the device. Continue? [Y/N]:y Now saving the current configuration to the slot 1 Info: Save the configuration successfully. <S-1>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<HUAWEI>system-view [HUAWEI]sysname S-2 [S-2]stack [S-2-stack]stack member 1 renumber 2 [S-2-stack]quit [S-2]interface Stack-Port 1/2 [S-2-Stack-Port1/2]port member-group interface GE 1/0/9 to GE 1/0/10 Warning: After the configuration is complete, 1.The interface(s)(GE1/0/9-1/0/10) will be converted to member of Stack-Port. 2.The current operation will clear all configurations on the interface and save all configurations on the device. Manually back up the configuration file before the operation. 3.The interface(s) may go Error-Down because there is noshutdown configuration on the interfaces. Continue? [Y/N]:y Warning: All running configurations of the interface will be cleared immediately. Continue? [Y/N]:y Info: Operating, please wait for a moment.........done. [S-2-Stack-Port1/2]return <S-2>save Warning: The current configuration will be written to the device. Continue? [Y/N]:y Now saving the current configuration to the slot 1 Info: Save the configuration successfully. <S-2>
S-1:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<S-1>displaystack configuration verbose ---------------Configuration on slot 1 Begin--------------- stack stack member 1 renumber 1 *stack member 1 priority 150 undostack member 1 competition-priority-first stack member 1 competition-delay 0
interface Stack-Port1/1 port member-group interface GE1/0/9 port member-group interface GE1/0/10 ----------------Configuration on slot 1 End---------------- <S-1> <S-1>
S-2:
1 2 3 4 5 6 7 8 9 10 11 12 13
<S-2>displaystack configuration verbose ---------------Configuration on slot 1 Begin--------------- stack *stack member 1 renumber 2 stack member 1 priority 100 undostack member 1 competition-priority-first stack member 1 competition-delay 0
interface Stack-Port1/2 port member-group interface GE1/0/9 port member-group interface GE1/0/10 ----------------Configuration on slot 1 End---------------- <S-2>
<S-1>displaystack ------------------------------------------------------------------------------------- MemberID Role MAC Priority DeviceType Description ------------------------------------------------------------------------------------- 1Master fac7-f460-0010100 LSW 2Standby fac7-f460-0020100 LSW ------------------------------------------------------------------------------------- <S-1> <S-1>displaystack configuration verbose ---------------Configuration on slot 1 Begin--------------- stack stack member 1 renumber 1 *stack member 1 priority 150 undostack member 1 competition-priority-first stack member 1 competition-delay 0
interface Stack-Port1/1 port member-group interface GE1/0/9 port member-group interface GE1/0/10 ----------------Configuration on slot 1 End----------------
---------------Configuration on slot 2 Begin--------------- stack stack member 2 renumber 2 stack member 2 priority 100 undostack member 2 competition-priority-first stack member 2 competition-delay 0
interface Stack-Port2/2 port member-group interface GE2/0/9 port member-group interface GE2/0/10 ----------------Configuration on slot 2 End---------------- <S-1>
[S-1]int g1/0/2 [S-1-GE1/0/2]dual-activedetectmode direct Warning: The interface will block common data packets, except BPDU packets. Continue? [Y/N]:y <S-1>save
1 2 3 4
[S-1]int g2/0/2 [S-1-GE2/0/2]dual-activedetectmode direct Warning: The interface will block common data packets, except BPDU packets. Continue? [Y/N]:y <S-1>save