H3C-S5120-28C-EI与H3C-S5120-52C-EI交换机堆叠步骤:
IRF(Intelligent Resilient Framework,智能弹性架构)是H3C 自主研发的软件虚拟化技术。它的核心思想是将多台设备通过IRF 物理端口连接在一起,进行必要的配置后,虚拟化成一台“分布式设备”
Master和Slave组成IRF,对上、下层设备来说,它们就是一台设备——IRF
一 各自交换机先不通电。
将短距双端口 10GE CX4 接口模块扩展卡分别插入到各交换机后部的MOD1堆叠口;
二 H3C-S5120-28C-EI作为主交换机,加电后输入命令如下:
[h3c]irf member 1 irf-port 1 port 1 2
[h3c]irf member 1 priority 2 (优先权设为2,开机先加电自动为MASTER)
三 H3C-S5120-52C-EI作为从交换机,加电后输入命令如下:
[h3c]irf member 1 irf-port 2 port 1 2
(优先权缺省为1,开机后加电自动为SLAVE)
【注:若交换机以前曾做过IRF堆叠设置,可能会在输入irf member 1 irf-port 2 port 1 2命令后,若会出现以下报错提示。
ERROR: The device is not in the current IRF.
此时,先执行反安装,输入以下命令:
[h3c]undo irf member 1 irf-port 2
然后重启,再输入:
[h3c]irf member 1 irf-port 2
再重启就可以
四 交换机连接:
关闭两台交换机电源,连接线缆(上下交换机既可直接对应连接,也可交叉连接。见下安装照片);每条线路流量10G, 两条聚合流量可达20G.
【 注: 堆叠聚合成功后,若其中一条线缆出故障,网路仍通畅,仅流量减少一半。】
照片:线缆交叉连接1-2、2-1
五 交换机加电自动形成堆叠:
1 主交换机先加电;5秒后
2 5秒后从属交换机后加电。
3 此时可以输入XLAN系统的交换机基本设置(如:网关、组播、路由等命令)。
四 堆叠后输入有关命令显示的结果如下:
1 查看堆叠基本设置
dis irf
Switch Role Priority CPU-Mac
*+1 Master 2 3ce5-a637-6b74
2 Slave 1 3ce5-a677-d463
--------------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
The Bridge MAC of the IRF is: 3ce5-a637-6b6f
Auto upgrade : yes
Mac persistent : 6 min
2 查看堆叠拓扑信息:
dis irf topology
Topology Info
-------------------------------------------------------------------------------
IRF-Port1 IRF-Port2
Switch Link member neighbor Link member neighbor Belong To
2 DIS -- -- UP 1,2 1 3ce5-a637-6b74
*+1 UP 1,2 2 DIS -- -- 3ce5-a637-6b74
-------------------------------------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
3 显示本IRF 中所有设备的预配置信息:
dis irf configuration
MemberID NewID IRF-Port1 IRF-Port2
*+1 1 1,2 disable
2 2 disable 1,2
--------------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
4 显示各接口的信息:
dis br int
The brief information of interface(s) under route mode:
Interface Link Protocol-link Protocol type Main IP
NULL0 UP UP(spoofing) NULL --
Vlan1 DOWN DOWN ETHERNET --
The brief information of interface(s) under bridge mode:
Interface Link Speed Duplex Link-type PVID
GE1/0/1 DOWN auto auto access 1
GE1/0/2 DOWN auto auto access 1
GE1/0/3 DOWN auto auto access 1
GE1/0/4 DOWN auto auto access 1
GE1/0/5 DOWN auto auto access 1
GE1/0/6 DOWN auto auto access 1
GE1/0/7 DOWN auto auto access 1
GE1/0/8 DOWN auto auto access 1
GE1/0/9 DOWN auto auto access 1
GE1/0/10 DOWN auto auto access 1
GE1/0/11 DOWN auto auto access 1
GE1/0/12 DOWN auto auto access 1
GE1/0/13 DOWN auto auto access 1
GE1/0/14 DOWN auto auto access 1
GE1/0/15 DOWN auto auto access 1
GE1/0/16 DOWN auto auto access 1
GE1/0/17 DOWN auto auto access 1
GE1/0/18 DOWN auto auto access 1
GE1/0/19 DOWN auto auto access 1
GE1/0/20 DOWN auto auto access 1
GE1/0/21 DOWN auto auto access 1
GE1/0/22 DOWN auto auto access 1
GE1/0/23 DOWN auto auto access 1
GE1/0/24 DOWN auto auto access 1
GE1/0/25 ADM DOWN auto auto access 1
GE1/0/26 ADM DOWN auto auto access 1
GE1/0/27 ADM DOWN auto auto access 1
GE1/0/28 ADM DOWN auto auto access 1
GE2/0/1 DOWN auto auto access 1
GE2/0/2 DOWN auto auto access 1
GE2/0/3 DOWN auto auto access 1
GE2/0/4 DOWN auto auto access 1
GE2/0/5 DOWN auto auto access 1
GE2/0/6 DOWN auto auto access 1
GE2/0/7 DOWN auto auto access 1
GE2/0/8 DOWN auto auto access 1
GE2/0/9 DOWN auto auto access 1
GE2/0/10 DOWN auto auto access 1
GE2/0/11 DOWN auto auto access 1
GE2/0/12 DOWN auto auto access 1
GE2/0/13 DOWN auto auto access 1
GE2/0/14 DOWN auto auto access 1
GE2/0/15 DOWN auto auto access 1
GE2/0/16 DOWN auto auto access 1
GE2/0/17 DOWN auto auto access 1
GE2/0/18 DOWN auto auto access 1
GE2/0/19 DOWN auto auto access 1
GE2/0/20 DOWN auto auto access 1
GE2/0/21 DOWN auto auto access 1
GE2/0/22 DOWN auto auto access 1
GE2/0/23 DOWN auto auto access 1
GE2/0/24 DOWN auto auto access 1
GE2/0/25 DOWN auto auto access 1
GE2/0/26 DOWN auto auto access 1
GE2/0/27 DOWN auto auto access 1
GE2/0/28 DOWN auto auto access 1
GE2/0/29 DOWN auto auto access 1
GE2/0/30 DOWN auto auto access 1
GE2/0/31 DOWN auto auto access 1
GE2/0/32 DOWN auto auto access 1
GE2/0/33 DOWN auto auto access 1
GE2/0/34 DOWN auto auto access 1
GE2/0/35 DOWN auto auto access 1
GE2/0/36 DOWN auto auto access 1
GE2/0/37 DOWN auto auto access 1
GE2/0/38 DOWN auto auto access 1
GE2/0/39 DOWN auto auto access 1
GE2/0/40 DOWN auto auto access 1
GE2/0/41 DOWN auto auto access 1
GE2/0/42 DOWN auto auto access 1
GE2/0/43 DOWN auto auto access 1
GE2/0/44 DOWN auto auto access 1
GE2/0/45 DOWN auto auto access 1
GE2/0/46 DOWN auto auto access 1
GE2/0/47 DOWN auto auto access 1
GE2/0/48 DOWN auto auto access 1
GE2/0/49 ADM DOWN auto auto access 1
GE2/0/50 ADM DOWN auto auto access 1
GE2/0/51 ADM DOWN auto auto access 1
GE2/0/52 ADM DOWN auto auto access 1
5 显示两台交换机堆叠后的配置
dis cu
#
version 5.20, Release 2202P06
#
sysname H3C
#
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
#
domain default enable system
#
telnet server enable
#
undo ip ttl-expires
#
igmp-snooping
#
vlan 1
igmp-snooping enable
igmp-snooping drop-unknown
igmp-snooping querier
igmp-snooping general-query source-ip 172.16.129.254
#
radius scheme system
server-type extended
primary authentication 127.0.0.1 1645
primary accounting 127.0.0.1 1646
user-name-format without-domain
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
user-group system
#
interface NULL0
#
interface Vlan-interface1
ip address 172.16.129.254 255.255.255.0
#
interface GigabitEthernet1/0/1
#
interface GigabitEthernet1/0/2
#
interface GigabitEthernet1/0/3
#
interface GigabitEthernet1/0/4
#
interface GigabitEthernet1/0/5
#
interface GigabitEthernet1/0/6
#
interface GigabitEthernet1/0/7
#
interface GigabitEthernet1/0/8
#
interface GigabitEthernet1/0/9
#
interface GigabitEthernet1/0/10
#
interface GigabitEthernet1/0/11
#
interface GigabitEthernet1/0/12
#
interface GigabitEthernet1/0/13
#
interface GigabitEthernet1/0/14
#
interface GigabitEthernet1/0/15
#
interface GigabitEthernet1/0/16
#
interface GigabitEthernet1/0/17
#
interface GigabitEthernet1/0/18
#
interface GigabitEthernet1/0/19
#
interface GigabitEthernet1/0/20
#
interface GigabitEthernet1/0/21
#
interface GigabitEthernet1/0/22
#
interface GigabitEthernet1/0/23
#
interface GigabitEthernet1/0/24
#
interface GigabitEthernet1/0/25
shutdown
#
interface GigabitEthernet1/0/26
shutdown
#
interface GigabitEthernet1/0/27
shutdown
#
interface GigabitEthernet1/0/28
shutdown
#
interface GigabitEthernet2/0/1
#
interface GigabitEthernet2/0/2
#
interface GigabitEthernet2/0/3
#
interface GigabitEthernet2/0/4
#
interface GigabitEthernet2/0/5
#
interface GigabitEthernet2/0/6
#
interface GigabitEthernet2/0/7
#
interface GigabitEthernet2/0/8
#
interface GigabitEthernet2/0/9
#
interface GigabitEthernet2/0/10
#
interface GigabitEthernet2/0/11
#
interface GigabitEthernet2/0/12
#
interface GigabitEthernet2/0/13
#
interface GigabitEthernet2/0/14
#
interface GigabitEthernet2/0/15
#
interface GigabitEthernet2/0/16
#
interface GigabitEthernet2/0/17
#
interface GigabitEthernet2/0/18
#
interface GigabitEthernet2/0/19
#
interface GigabitEthernet2/0/20
#
interface GigabitEthernet2/0/21
#
interface GigabitEthernet2/0/22
#
interface GigabitEthernet2/0/23
#
interface GigabitEthernet2/0/24
#
interface GigabitEthernet2/0/25
#
interface GigabitEthernet2/0/26
#
interface GigabitEthernet2/0/27
#
interface GigabitEthernet2/0/28
#
interface GigabitEthernet2/0/29
#
interface GigabitEthernet2/0/30
#
interface GigabitEthernet2/0/31
#
interface GigabitEthernet2/0/32
#
interface GigabitEthernet2/0/33
#
interface GigabitEthernet2/0/34
#
interface GigabitEthernet2/0/35
#
interface GigabitEthernet2/0/36
#
interface GigabitEthernet2/0/37
#
interface GigabitEthernet2/0/38
#
interface GigabitEthernet2/0/39
#
interface GigabitEthernet2/0/40
#
interface GigabitEthernet2/0/41
#
interface GigabitEthernet2/0/42
#
interface GigabitEthernet2/0/43
#
interface GigabitEthernet2/0/44
#
interface GigabitEthernet2/0/45
#
interface GigabitEthernet2/0/46
#
interface GigabitEthernet2/0/47
#
interface GigabitEthernet2/0/48
#
interface GigabitEthernet2/0/49
shutdown
#
interface GigabitEthernet2/0/50
shutdown
#
interface GigabitEthernet2/0/51
shutdown
#
interface GigabitEthernet2/0/52
shutdown
#
user-interface aux 0 3
user-interface vty 0 4
#
return
本文档为【5120-2202P6版交换机堆叠】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑,
图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。