关键词不能为空

当前您在: 主页 > 英语 >

华为三台堆叠-环形

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-01-29 23:19
tags:

-

2021年1月29日发(作者:trainers)



配置三台交换机堆叠示例(环形拓扑)



组网图形




1


配置环形堆叠组网图





组网需求



在一个新建的企业网络中,


要求接入设备具有充足的端口数目,


并且希望网络结构简单,



于配置和管理。




1


所示,


SwitchA



Switch B



SwitchC


三台接入交换机组 成环形堆叠系统。



配置思路





采用如下的思路配置:



1.



2.



提前规划好堆叠方案。



按照前期的规 划,完成各台交换机的堆叠配置,包括堆叠成员


ID


、堆叠优先 级、


堆叠域编号、堆叠端口等。完成后保存配置并将交换机下电。



3.



4.



连接交换机之间的堆叠线缆,然后将交换机上电。



检查堆叠组建是否成功。




说明:



本示例以先配置软件再连接线 缆的方式组建堆叠。


如果是先连接线缆再配置软件方式,


请参< /p>



配置两台交换机堆叠示例(先连线后配置方式)


的思路进行配置。



操作步骤



1.



?



提前规划堆叠方案。



规划

< p>
SwitchA


的堆叠成员


ID

< br>为


1



SwitchB


的成员


ID



2



SwitchC


的成员

ID



3




?



规划


SwitchA


作为主交换机,其堆叠优先级最高,为


150< /p>



SwitchB


的堆叠优先级为


120



SwitchC

的堆叠优先级为


90




?



规划堆叠域编号(


Domain ID


)为


10


,不与网络中其他堆叠系统的域


编号冲突。



?


< br>规划堆叠连接拓扑为环形。成员设备间用于堆叠连接的端口如


< br>2



示。




2


堆叠端口连接示意图






2.



配置堆叠属性。



#


配置


SwitchA


的堆叠优先级为

< br>150



Domain ID



10


。缺省情况下,设备的堆叠


成员< /p>


ID



1


。此处 默认


SwitchA


的堆叠成员


ID< /p>



1


,无需配置。




system- view



[


~


HUAWEI]


sysname SwitchA



[*HUAWEI]


commit



[


~


SwitchA]


stack



[


~


SwitchA-stack]


stack member 1 priority 150



[*SwitchA-stack]


stack member 1 domain 10



[*SwitchA-stack]


quit



[*SwitchA]


commit



#

< br>配置


SwitchB


的堆叠成员


ID



2


,优先级为

< br>120



Domain ID



10





system- view



[


~


HUAWEI]


sysname SwitchB



[*HUAWEI]


commit



[


~


SwitchB]


stack



[


~


SwitchB-stack]


stack member 1 priority 120



[*SwitchB-stack]


stack member 1 domain 10



[*SwitchB-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



[*SwitchB-stack]


quit



[*SwitchB]


commit




说明:




S witchB


尚未重启,当前堆叠成员


ID

还是


1


,所以此时仍使用


memb er 1


来进行


堆叠配置。



因为修改堆叠成员


ID


时指定了


inherit-config


参数,所以


Switc hB


重启后会继承


member 1


的 堆叠配置;


如果不指定


inherit-config


参数,


那么


SwitchB

重启后不会


继承


member 1


的堆叠配置,需要使用


member 2


重新进行堆叠配置。



#


配置


SwitchC


的堆叠成员


ID



3


,优先级为


90



Domain ID



10





system- view



[


~


HUAWEI]


sysname SwitchC





[*HUAWEI]


commit



[


~


SwitchC]


stack



[


~


SwitchC-stack]


stack member 1 priority 90



[*SwitchC-stack]


stack member 1 domain 10



[*SwitchC-stack]


stack member 1 renumber 3 inherit-config



Warning: The stack configuration of member ID 1 will be inherited to member ID


3 after the device resets. Continue? [Y/N]:


y



[*SwitchC-stack]


quit



[*SwitchC]


commit



3.



配置堆叠端口。



#



SwitchA


的业务口


1 0GE1/0/1



10GE1/0/2


加入堆叠端口


1/1



10GE1/ 0/3



10GE1/0/4


加入堆叠 端口


1/2




[


~


SwitchA]


interface stack-port 1/1



[*SwitchA-Stack-Port1/1]


port member-group interface 10ge 1/0/1 to 1/0/2



Warning: After the configuration is complete,


interface(s) (10GE1/0/1-1/0/4) will be converted to stack mode and be


configured with the port crc-statistics trigger error-down command if the


configuration does not exist.



interface(s)


may


go


Error-Down


(crc-statistics)


because


there


is


no


shutdown


configuration on the ue? [Y/N]:


y



[*SwitchA-Stack-Port1/1]


quit



[*SwitchA]


interface stack-port 1/2



[*SwitchA-Stack-Port1/2]


port member-group interface 10ge 1/0/3 to 1/0/4



[*SwitchA-Stack- Port1/2]


quit



[*SwitchA]


commit



[


~


SwitchA]


quit



被配置为堆叠物理成员端口后,端口下会自动配置


port crc-statistics trigger


error- down




#


SwitchB


的业务口


10G E1/0/1



10GE1/0/2


加 入堆叠端口


1/1



10GE1/0/ 3



10GE1/0/4


加入堆叠端口


1/2




[


~


SwitchB]


interface stack-port 1/1



[*SwitchB-Stack-Port1/1]


port member-group interface 10ge 1/0/1 to 1/0/2



Warning: After the configuration is complete,




interface(s) (10GE1/0/1-1/0/4) will be converted to stack mode and be


configured with the port crc-statistics trigger error-down command if the


configuration does not exist.



interface(s)


may


go


Error-Down


(crc-statistics)


because


there


is


no


shutdown


configuration on the ue? [Y/N]:


y



[*SwitchB-Stack-Port1/1]


quit



[*SwitchB]


interface stack-port 1/2



[*SwitchB-Stack-Port1/2]


port member-group interface 10ge 1/0/3 to 1/0/4



[*SwitchB-Stack- Port1/2]


quit



[*SwitchB]


commit



[


~


SwitchB]


quit



#



SwitchC


的业务口


10GE 1/0/1



10GE1/0/2


加入 堆叠端口


1/1



10GE1/0/3



10GE1/0/4


加入堆叠端口< /p>


1/2




[


~


SwitchC]


interface stack-port 1/1



[*SwitchC-Stack-Port1/1]


port member-group interface 10ge 1/0/1 to 1/0/2



Warning: After the configuration is complete,


interface(s) (10GE1/0/1-1/0/4) will be converted to stack mode and be


configured with the port crc-statistics trigger error-down command if the


configuration does not exist.



interface(s)


may


go


Error-Down


(crc-statistics)


because


there


is


no


shutdown


configuration on the ue? [Y/N]:


y



[*SwitchC-Stack-Port1/1]


quit



[*SwitchC]


interface stack-port 1/2



[*SwitchC-Stack-Port1/2]


port member-group interface 10ge 1/0/3 to 1/0/4



[*SwitchC-Stack- Port1/2]


quit



[*SwitchC]


commit



[


~


SwitchC]


quit



4.



检查堆叠配置信息。



#


上述配置完成后,执行命令


display stack co nfiguration


查看配置是否与规划的


一致,如果不一 致,需要修改配置。以查看


SwitchA


为例。




display stack configuration



Oper : Operation


Conf : Configuration


* : Offline configuration


Isolated Port : The port is in stack mode, but does not belong to any Stack-Port


-


-


-


-


-


-


-


-



本文更新与2021-01-29 23:19,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/587786.html

华为三台堆叠-环形的相关文章