#堆叠线缆连接

CE6800-1 40ge 1/0/1 to CE6800-2 40ge 1/0/1

CE6800-1 40ge 1/0/2 to CE6800-2 40ge 1/0/2

#通过CONSOLE口配置CE6800-1的堆叠参数

<HUAWEI> system-view

#配置堆叠优先级、堆叠ID和域编号。

[~HUAWEI] stack

[~HUAWEI-stack] stack member 1 priority 200

[*HUAWEI-stack] stack member 1 domain 10

[*HUAWEI-stack] quit

[*HUAWEI] commit

#创建堆叠端口。

[~HUAWEI] interface stack-port 1/1

#将堆叠物理成员端口加入堆叠端口。堆叠端口的起止编号需与物理连线一致。

[*HUAWEI-Stack-Port1/1] port member-group interface 40ge 1/0/1 to 1/0/2

[*HUAWEI-Stack-Port1/1] quit

[*HUAWEI] commit

[~HUAWEI] quit

#保存配置脚本

<HUAWEI> save

Warning: The current configuration will be written to the device. Continue? [Y/N]:Y

#按Enter键

Info: Please input the file name(*.cfg, *.zip, *.dat)[vrpcfg.zip]:

Now saving the current configuration to the slot 1

Info: Save the configuration successfully.

#重启交换机,耗时约5分钟。

<HUAWEI> reboot

Warning: The system will reboot. Continue? [Y/N]:Y

#关闭堆叠接口。

<HUAWEI> system-view

[~HUAWEI] interface stack-port 1/1

[*HUAWEI-Stack-Port1/1] shutdown

[*HUAWEI-Stack-Port1/1] quit

[*HUAWEI] commit

[~HUAWEI] quit

<HUAWEI> save

Warning: The current configuration will be written to the device. Continue? [Y/N]:y

#通过CONSOLE口配置CE6800-2的堆叠参数

#进入系统视图。

<HUAWEI> system-view

#配置堆叠ID和堆叠域编号。

[~HUAWEI] stack

[~HUAWEI-stack] stack member 1 renumber 2 inherit-config

Warning: The stack configuration of member ID 1 will be inherited to member ID 2 after the device resets. Continue? [Y/N]:Y

[*HUAWEI-stack] stack member 1 domain 10

Info: The operation takes effect only after the save command is executed. The device with a lower priority then will be reset in stack merging scenario.

[*HUAWEI-stack] quit

[*HUAWEI] commit

#创建堆叠端口。

[~HUAWEI] interface stack-port 1/1

#将堆叠物理成员端口加入堆叠端口。堆叠端口的起止编号需与物理连线一致。

[*HUAWEI-Stack-Port1/1] port member-group interface 40ge 1/0/1 to 1/0/2

[*HUAWEI-Stack-Port1/1] quit

[*HUAWEI] commit

[~HUAWEI] quit

<HUAWEI> save

Warning: The current configuration will be written to the device. Continue? [Y/N]:Y

#按Enter键

Info: Please input the file name(*.cfg, *.zip, *.dat)[vrpcfg.zip]:

Now saving the current configuration to the slot 1

Info: Save the configuration successfully.

#重启交换机

<HUAWEI> reboot

Warning: The system will reboot. Continue? [Y/N]:Y

待CE6800-2启动成功后,登录CE6800-1,执行如下命令。

<HUAWEI> system-view

[~HUAWEI] interface stack-port 1/1

[*HUAWEI-Stack-Port1/1] undo shutdown

[*HUAWEI-Stack-Port1/1] quit

[*HUAWEI] commit

[~HUAWEI] quit

<HUAWEI> save

Warning: The current configuration will be written to the device. Continue? [Y/N]:y

#验证配置结果

<HUAWEI> display stack

—————————————————————-

MemberID Role     MAC              Priority   Device Type

—————————————————————-

1        Master   30d1-7e72-9650   200        CE6800

2        Standby  30d1-7e72-9600   100        CE6800

—————————————————————-

<HUAWEI> display stack topology

Stack Topology:

———————————————-

Stack-Port 1      Stack-Port 2

MemberID   Status Neighbor   Status Neighbor

———————————————-

1          up     2          —     —

2          up     1          —     —

———————————————-

Stack Link:

—————————————————————————-

Stack-Port       Port               Status     PeerPort           PeerStatus

—————————————————————————-

Stack-Port1/1    40GE1/0/1          up         40GE2/0/1          up

Stack-Port1/1    40GE1/0/2          up         40GE2/0/2          up

Stack-Port2/1    40GE2/0/1          up         40GE1/0/1          up

Stack-Port2/1    40GE2/0/2          up         40GE1/0/2          up

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。