H3C S5130 交换机堆叠IRF配置

配置思路
堆叠网络拓扑图.jpg
SW-DD1为主设备,编号irf-port1/1
SW-DD2为备设备,编号irf-port2/1
端口采用10G光口

最终连线如下:
XGE1/0/51<-->XGE2/0/52
XGE1/0/52<-->XGE2/0/51
配置步骤

1、配置SW-DD1

1-1、将Ten-GigabitEthernet1/0/51 ~Ten-GigabitEthernet1/0/52 端口关闭

 system-view 
[Sysname] sysname SW-DD1
[SW-DD1-if-range] interface range ten-gigabitethernet 1/0/51 to ten-gigabitethernet 1/0/52
[SW-DD1-if-range] shutdown 
[SW-DD1-if-range] quit

1-2、配置 IRF 端口 1/1,并将它与物理端口 Ten-GigabitEthernet1/0/51 和 Ten-GigabitEthernet1/0/52
绑定。

[SW-DD1] irf-port 1/1 
[SW-DD1-irf-port1/1] port group interface ten-gigabitethernet 1/0/51
[SW-DD1-irf-port1/1] port group interface ten-gigabitethernet 1/0/52
[SW-DD1] quit

1-3、开启 Ten-GigabitEthernet1/0/51~Ten-GigabitEthernet1/0/52 端口,并保存配置。

[SW-DD1] interface range ten-gigabitethernet 1/0/51 to ten-gigabitethernet 1/0/52
[SW-DD1-if-range] undo shutdown
[SW-DD1-if-range] quit
[SW-DD1] save 

1-4、激活 IRF 端口下的配置。

[SW-DD1] irf-port-configuration active 

2、配置SW-DD2

2-1、将SW-DD2的成员编号配置为 2,并重启设备使新编号生效。

 system-view
[Sysname] sysname SW-DD2
[SW-DD2] irf member 1 renumber 2
Renumbering the member ID may result in configuration change or loss. Continue? [Y/N]:y
[SW-DD2] quit
 reboot 

2-2、将Ten-GigabitEthernet2/0/51 ~Ten-GigabitEthernet2/0/52 端口关闭

[SW-DD2-if-range] interface range ten-gigabitethernet 2/0/51 to ten-gigabitethernet 2/0/52
[SW-DD2-if-range] shutdown 
[SW-DD2-if-range] quit

2-3、配置 IRF 端口 2/2,并将它与物理端口 Ten-GigabitEthernet2/0/51 和 Ten-GigabitEthernet2/0/52
绑定。

[SW-DD2] irf-port 2/2 
[SW-DD2-irf-port2/2] port group interface ten-gigabitethernet 2/0/51
[SW-DD2-irf-port2/2] port group interface ten-gigabitethernet 2/0/52
[SW-DD2] quit

2-4、开启 Ten-GigabitEthernet2/0/51~Ten-GigabitEthernet2/0/52 端口,并保存配置。

[SW-DD1] interface range ten-gigabitethernet 2/0/51 to ten-gigabitethernet 2/0/52
[SW-DD1-if-range] undo shutdown
[SW-DD1-if-range] quit
[SW-DD1] save 

2-5、激活 IRF 端口下的配置。

[SW-DD1] irf-port-configuration active 

3、SW-DD1和 SW-DD2 间将会进行主设备竞选,竞选失败的一方将重启,重启完成后,IRF 形
成。

验证配置
显示IRF中所有成员设备的相关信息   display irf
查看IRF的拓扑信息                 display irf topology
显示IRF链路信息                   display irf link
显示IRF配置信息                   display irf configuration
显示IRF链路的负载分担类型         display irf-port load-sharing mo
配置信息
SW-DD1
    
dis cu
#
 version 7.1.075, Alpha 7571
#
 sysname SW-DD1
#
 irf mac-address persistent timer
 irf auto-update enable
 undo irf link-delay
 irf member 1 priority 1
 irf member 2 priority 1
#
 lldp global enable
#
 system-working-mode standard
 xbar load-single
 password-recovery enable
 lpu-type f-series
#
vlan 1
#
irf-port 1/1
 port group interface Ten-GigabitEthernet1/0/51
 port group interface Ten-GigabitEthernet1/0/52
#
irf-port 2/2
 port group interface Ten-GigabitEthernet2/0/51
 port group interface Ten-GigabitEthernet2/0/52
#
 stp global enable
#
interface NULL0
#
interface FortyGigE1/0/53
 port link-mode bridge
#
interface FortyGigE1/0/54
 port link-mode bridge
#
interface FortyGigE2/0/53
 port link-mode bridge
#
interface FortyGigE2/0/54
 port link-mode bridge
#
interface GigabitEthernet1/0/1
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/2
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/3
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/4
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/5
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/6
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/7
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/8
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/9
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/10
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/11
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/12
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/13
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/14
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/15
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/16
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/17
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/18
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/19
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/20
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/21
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/22
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/23
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/24
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/25
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/26
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/27
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/28
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/29
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/30
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/31
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/32
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/33
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/34
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/35
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/36
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/37
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/38
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/39
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/40
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/41
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/42
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/43
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/44
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/45
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/46
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/47
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet1/0/48
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/1
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/2
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/3
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/4
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/5
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/6
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/7
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/8
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/9
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/10
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/11
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/12
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/13
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/14
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/15
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/16
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/17
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/18
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/19
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/20
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/21
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/22
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/23
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/24
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/25
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/26
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/27
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/28
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/29
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/30
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/31
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/32
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/33
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/34
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/35
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/36
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/37
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/38
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/39
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/40
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/41
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/42
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/43
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/44
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/45
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/46
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/47
 port link-mode bridge
 combo enable fiber
#
interface GigabitEthernet2/0/48
 port link-mode bridge
 combo enable fiber
#
interface M-GigabitEthernet0/0/0
#
interface Ten-GigabitEthernet1/0/49
 port link-mode bridge
 combo enable fiber
#
interface Ten-GigabitEthernet1/0/50
 port link-mode bridge
 combo enable fiber
#
interface Ten-GigabitEthernet2/0/49
 port link-mode bridge
 combo enable fiber
#
interface Ten-GigabitEthernet2/0/50
 port link-mode bridge
 combo enable fiber
#
interface Ten-GigabitEthernet1/0/51
 combo enable fiber
#
interface Ten-GigabitEthernet1/0/52
 combo enable fiber
#
interface Ten-GigabitEthernet2/0/51
 combo enable fiber
#
interface Ten-GigabitEthernet2/0/52
 combo enable fiber
#
 scheduler logfile size 16
#
line class aux
 user-role network-operator
#
line class console
 user-role network-admin
#
line class tty
 user-role network-operator
#
line class vty
 user-role network-operator
#
line aux 0 1
 user-role network-operator
#
line con 0 1
 user-role network-admin
#
line vty 0 63
 user-role network-operator
#
radius scheme system
 user-name-format without-domain
#
domain name system
#
 domain default enable system
#
role name level-0
 description Predefined level-0 role
#
role name level-1
 description Predefined level-1 role
#
role name level-2
 description Predefined level-2 role
#
role name level-3
 description Predefined level-3 role
#
role name level-4
 description Predefined level-4 role
#
role name level-5
 description Predefined level-5 role
#
role name level-6
 description Predefined level-6 role
#
role name level-7
 description Predefined level-7 role
#
role name level-8
 description Predefined level-8 role
#
role name level-9
 description Predefined level-9 role
#
role name level-10
 description Predefined level-10 role
#
role name level-11
 description Predefined level-11 role
#
role name level-12
 description Predefined level-12 role
#
role name level-13
 description Predefined level-13 role
#
role name level-14
 description Predefined level-14 role
#
user-group system
#
return

你可能感兴趣的:(H3C S5130 交换机堆叠IRF配置)