Professional Documents
Culture Documents
IRF
http://www.h3c.com.cn
55PW113-20100925
S12500-CMW520-R1238P02
Copyright ? 2009-2010
3
H3C Aolynk H Care TOP G IRF NetPilot Neocean
NeoVTL SecPro SecPoint SecEngine SecPath Comware Secware Storware NQA
2 n
VVG V GV G PSPT XGbus N-Bus TiGem InnoVision HUASAN
H3C
H3C
H3C
z
z
z
z
z
1.
[] [ ]
{ x | y | ... }
[ x | y | ... ]
{ x | y | ... } *
[ x | y | ... ] *
&<1-n> & 1n
# #
2.
[] [ ] [ ]
/ [ / / ] [ ] [ ]
/
[ ]
3.
4.
H3C S12500
S12500
S12500
datasheet S12500
S12500
S12500
S12500
S12500
H3C N68
N68 N68
H3C
SFP/SFP+/XFP
SFP[SFP+][XFP]
H3C H3C
LSTM1PEMC LSTM1PEM2N
S12500
S12500
S12500
S12500 Trap
S12500
QoS
H3C www.h3c.com.cn
H3C
z [ / ]
z [ ]
z [ ]
z [ / ]
customer_service@h3c.com
400-810-0504
http://www.h3c.com.cn
E-mail info@h3c.com
i
1.9.8 IRF .................................................................................................... 1-20
ii
1 IRF
1.1 IRF
1.1.1 IRF
IRF IRF
1.1.2 IRF
IRF
z IRF IRF
IRF
z IRF
z IRF IRF Master
IRF Slave Master
Master IRF
1:N IRF IRF
IRF
1.1.3 IRF
IRF 1-1
1-1
1-1 IRF
IP network IP network
Master Slave
IRF
IRF
1.2
1-2 IRF
1-2
1-2 1 2 IRF IRF
1.
z IRF
z IRF IRF
2.
IRF
z Master IRF IRF
Master
z Slave Master Master
IRF Master Slave
1.3.3
3.
IRF Member ID IRF
IRF
GigabitEthernet3/0/1 IRF 2
GigabitEthernet2/3/0/1
IRF
IRF IRF
IRF IRF
z 1 2
z
4.
IRF A
B B
IRF 1.10
IRF
5.
1-3
IRF
z
z IRF
6.
7.
IRF IRF Master
8.
IRF IRF
9. IRF
IRF IRF-Port1 IRF-Port2
10. IRF
IRF
IRF IRF IRF
IRF
11. IRF
IRF IRF IRF merge
1-3
1-3 IRF
12. IRF
IRF IRF IRF IRF
split 1-4
1-4
1-4 IRF
IRF IRF
UP IRF IRF
13.
Master 1 IRF
Master
1.3 IRF
IRF IRF
IRF IRF
IRF
1.3.1
1.
IRF IRF IRF
z IRF IRF
IRF
IRF
z IRF
2.
IRF-Port1 IRF IRF-Port2 IRF
IRF-Port2 IRF IRF-Port1 IRF
1-5 IRF
1-5
1-5 IRF
1.3.2
1.3.3
Master Slave
IRF Master
IRF
(1) Master IRF Master Master
(2)
(3)
(4)
Master Slave
IRF IRF
1-6
z IRF IRF IRF
Slave IRF IRF
IRF
IRF 1.9.6 IRF
z IRF IRF Slave Master
Slave Master IRF Master
Slave IRF
Slave
1.3.4 IRF
IRF
1. IRF
A down IRF down A
IRF IRF
Master Slave Master IRF
Slave IRF IRF
2. IRF MAD
IRF IRF IRF IRF IP
IRF
IRF IRF MAD
Multi-Active Detection Active
1-7
(3) MAD IRF IRF Active IRF
IRF IRF MAD Active
Recovery IRF
IRF IRF MAD Active IRF
Recovery IRF IRF
MAD
LACP -
BFD -IP BFD
1.4 IRF
1.4.1
z IRF
Master
z IRF IRF
z IRF IRF
IRF
z acl ipv6 acl ipv6 enable acl ipv6 disable
IRF acl ipv6 ACL QoS ACL
z vpn popgo vpn popgo undo vpn popgo
IRF vpn popgo MPLS MPLS L3VPN
IRF
IRF
1.4.2
IRF
IRF IRF
IRF IRF
IRF Master IRF
IRF IRF IRF
1-8
1-1 IRF
IRF 1.5.1
IRF 1.5.2
1.5.3
1.6
1.3.1
IRF
IRF 1.7
Master 1.8.1
IRF
Slave 1.8.2
IRF 1.9.6
IRF 1.9.9
MAD 1.9.10
1.4.3
IRF IRF
IRF Master IRF
IRF IRF IRF
1-2 IRF
IRF 1.5.2
1.6
IRF 1.7
Master 1.8.1
IRF
Slave 1.8.2
1-9
IRF 1.9.2
1.9.3
1.9.4
IRF 1.9.9
MAD 1.9.10
IRF 1.10
1.5 IRF
IRF IRF
IRF
IRF IRF
1.5.1 IRF
1-3 IRF
system-view -
IRF
IRF IRF
irf-port port-number IRF
IRF
port group interface interface-type
IRF IRF
interface-number
1-10
IRF
1.5.2
z
IRF display irf configuration
MemberID --
z IRF IRF
1-4
system-view -
irf member member-id
1 2
z IRF
z IRF
display irf configuration
MemberID -- irf member
1.5.3
Master
1-5
system-view -
irf priority priority 1
priority
1-11
IRF
1.6
1-6
save [ safely ]
1.7 IRF
1.7.1 IRF
IRF
z IRF IRF
IRF
z IRF IRF
IRF IRF
1.7.2
slot slot-number IRF
chassis chassis-number slot slot-number chassis
chassis-number slot slot-number
<Y>
IRF
1-12
1.7.3 IRF
1-7 IRF
system-view -
1.8 IRF
1.8.1 Master
IRF
z AUX Console
z VLAN IP Telnet
WEB SNMP
IRF Master Master IRF
Master Master Slave
1.8.2 Slave
1-13
z terminal trapping
quit Master Master
1-8 Slave
IRF 6
AUX Console VTY
1.9.1 IRF
1. IRF
IRF IRF
IRF
IRF IRF
1-6 Device A Device B IRF1 Switch A Switch B IRF2 IRF1 IRF2
MAD IRF1 IRF2 MAD IRF
IRF IRF
1-14
1-6 IRF
Core network
Device A
IRF1 (domain 10)
Device B
IRF
Access network
2. IRF
1-9 IRF
system-view -
IRF irf domain domain-id
IRF 0
1.9.2 IRF
1-10 IRF
system-view -
interface interface-type
-
interface-number
1-15
shutdown
quit -
IRF IRF
IRF irf-port member-id /port-number IRF
IRF
IRF port group interface interface-type
IRF
interface-number
quit -
undo shutdown
quit -
z IRF
z port group interface IRF IRF IRF
/ IRF
z IRF IRF IRF
shutdown IRF
undo shutdown IRF
shutdown
z IRF shutdown description shutdown description
-
z IRF
1.9.3
1-11
system-view -
IRF
irf member member-id renumber
new-member-id 1
1-16
z member-id
z IRF IRF
IRF
IRF IRF
1.9.4
1-12
system-view -
IRF
irf member member-id priority priority
1
system-view -
1-17
Master IRF
irf mac-address persistent always
IRF MAC
Master IRF
IRF MAC 6 irf mac-address persistent timer Master
IRF IRF MAC
Master IRF
IRF MAC undo irf mac-address persistent
z MAC
z IRF MAC IRF
z IRF VRRP IRF MAC
IRF MAC VRRP
VRRP
1.9.6 IRF
1-14 IRF
system-view -
IRF IRF
irf auto-merge enable IRF
1-18
z IRF IRF DOWN DIS IRF IRF
IRF UP IRF IRF
save
IRF
IRF
z IRF IRF IRF
IRF IRF IRF IRF UP
IRF IRF
IRF
z IRF IRF IRF
1.9.7 IRF
IRF Master
IRF
IRF Master
Master IRF
1-15 IRF
system-view -
IRF
irf auto-update enable
z IRF
z Master
IRF Master
z Slave Master Slave
z Slave FLASH CF
1-19
1.9.8 IRF
1-16 IRF
system-view -
IRF irf link-delay interval IRF
0
1.9.9 IRF
IRF IRF
IRF IRF
1-17 IRF
system-view -
IRF irf link-status detect enable IRF
IRF
IRF irf link-status auto-recovery enable
IRF
1-20
z IRF IRF IRF
IRF 10 log IRF member port
1.9.10 MAD
1-21
1-7 LACP MAD
Device
LACP MAD
IRF
IRF
LACP MAD
IRF
Master Slave
Internet
LACP MAD
system-view -
interface bridge-aggregation
interface-number
1-22
link-aggregation mode dynamic
LACP MAD
LACP MAD mad enable
LACP MAD
LACP
quit -
interface interface-type
-
interface-number
2. BFD MAD
(1) BFD MAD
BFD MAD BFD BFD MAD
BFD MAD MAD IP MAD IP IP
MAD IP IRF
1-23
1-8 BFD MAD 1
Device
IRF
BFD MAD
Vlan2 Vlan2
192.168.1.2/24 192.168.1.3/24
IRF
Master Slave
Internet
system-view -
VLAN BFD
vlan vlan-id
MAD VLAN 1
quit -
interface interface-type
-
interface-number
1-24
quit -
interface vlan-interface
VLAN -
interface-number
BFD MAD mad bfd enable BFD MAD
mad ip address ip-address { mask
MAD IP | mask-length } chassis MAD
chassis-number IP
3.
IRF Active Recovery
up Telnet MAD
IRF
1-20
system-view -
mad exclude interface interface-type Recovery
Recovery
interface-number
1-25
4. MAD
IRF IRF IRF Active Active
IRF Master IRF Recovery
IRF IRF IRF
IRF Active IRF Recovery
IRF IRF Recovery IRF Recovery
IRF IRF 1-9
Active IRF IRF mad
restore Recovery IRF IRF
1-9
1-9 MAD
IP network IP network
IRF 1 IRF 2
(Recovery)
IRF
(Active)
IRF
IP network IP network
1-10 MAD
IP network IP network
IRF 2 IRF 2
IRF 1
(Active) (Recovery) (Active)
IRF 1
mad
restore
IP network IP network
1-26
1-21 Recovery
system-view -
1.10 IRF
IRF IRF
IRF IRF
1.10.1
z IRF
z IRF IRF
a.cfg
1.10.2
z 1 1 1 2 2 1
(1) 2 1-22
1
(2) 1 2 1
(3)
z 2 2 1 1
(1) 2 2
(2) 2 a.cfg a.cfg
(3) 2 1-22
1
(4) 1 2 1
1-22
IRF
set irf chassis chassis-number slot slot-number IRF
member-id member-id
1-27
1.11 IRF
display IRF
1-23 IRF
IRF
display irf configuration
1.12 IRF
VLAN DOWN
undo shutdown UP
1.
Device A
1-28
2.
IRF
Device A Device B
XGE1/3/0/1 XGE2/3/0/1
(IRF-port1/2) IRF (IRF-port2/1)
GE1/4/0/1 GE2/4/0/1
BFD
3.
z Device A Device B Device A
Device B IRF
z IRF IRF IRF MAD
BFD MAD IRF
4.
(1) Device A
# Device A 1 12 IRF 2
Ten-GigabitEthernet3/0/1
<Sysname> system-view
[Sysname] irf member 1
[Sysname] irf priority 12
[Sysname] irf-port 2
[Sysname-irf-port 2] port group interface Ten-Gigabitethernet 3/0/1
[Sysname-irf-port 2] quit
z
[Sysname] quit
<Sysname> save
z IRF
<Sysname> system-view
[Sysname] chassis convert mode irf
The device will switch to IRF mode and reboot. You are recommended to save the current running
configuration and specify the configuration file for the next startup. Continue? [Y/N]:y
Do you want to convert the content of the next startup configuration file flash:/startup.cfg
1-29
to make it available in IRF mode? [Y/N]:y
Please wait...
Saving the converted configuration file to the main board succeeded.
Slot 1:
Saving the converted configuration file succeeded.
Now rebooting, please wait...
Device A IRF
(2) Device B
# Device B 2 26 IRF 1
Ten-GigabitEthernet3/0/1
<Sysname> system-view
[Sysname] irf member 2
[Sysname] irf priority 26
[Sysname] irf-port 1
[Sysname-irf-port 1] port group interface Ten-Gigabitethernet 3/0/1
[Sysname-irf-port 1] quit
#
[Sysname] quit
<Sysname> save
# 1-11
# IRF
<Sysname> system-view
[Sysname] chassis convert mode irf
The device will switch to IRF mode and reboot. You are recommended to save the current running
configuration and specify the configuration file for the next startup. Continue? [Y/N]:y
Do you want to convert the content of the next startup configuration file flash:/startup.cfg
to make it available in IRF mode? [Y/N]:y
Please wait...
Saving the converted configuration file to the main board succeeded.
Slot 1:
Saving the converted configuration file succeeded.
Now rebooting, please wait...
B A IRF
(3) BFD MAD
# VLAN 3 Device A 1 1/4/0/1 Device B 2
2/4/0/1 VLAN
<Sysname> system-view
[Sysname] vlan 3
[Sysname-vlan3] port Gigabitethernet 1/4/0/1 Gigabitethernet 2/4/0/1
[Sysname-vlan3] quit
# VLAN 3 MAD IP
[Sysname] interface vlan-interface 3
[Sysname-Vlan-interface3] mad bfd enable
[Sysname-Vlan-interface3] mad ip add 192.168.2.1 24 chassis 1
[Sysname-Vlan-interface3] mad ip add 192.168.2.2 24 chassis 2
[Sysname-Vlan-interface3] quit
1-30
[Sysname] interface Gigabitethernet 1/4/0/1
[Sysname-Gigabitethernet1/4/0/1] undo stp enable
[Sysname-Gigabitethernet1/4/0/1] quit
[Sysname] interface Gigabitethernet 2/4/0/1
[Sysname-Gigabitethernet2/4/0/1] undo stp enable
1.
Device A
2.
IP network
GE4/0/1 GE4/0/2
GE1/4/0/2 GE2/4/0/2
XGE1/3/0/1 XGE2/3/0/1
IRF LACP
3.
z Device A Device B Device A
Device B IRF
z IRF IRF IRF MAD
LACP MAD IRF
4.
(1) Device A
# Device A IRF
<Sysname> system-view
[Sysname] irf member 1
[Sysname] chassis convert mode irf
The device will switch to IRF mode and reboot. You are recommended to save the current running
configuration and specify the configuration file for the next startup. Continue? [Y/N]:y
Do you want to convert the content of the next startup configuration file flash:/startup.cfg
to make it available in IRF mode? [Y/N]:y
Please wait...
Saving the converted configuration file to the main board succeeded.
1-31
Slot 1:
Saving the converted configuration file succeeded.
Now rebooting, please wait...
(2) Device B
# Device B IRF
<Sysname> system-view
[Sysname] irf member 2
[Sysname] chassis convert mode irf
The device will switch to IRF mode and reboot. You are recommended to save the current running
configuration and specify the configuration file for the next startup. Continue? [Y/N]:y
Do you want to convert the content of the next startup configuration file flash:/startup.cfg
to make it available in IRF mode? [Y/N]:y
Please wait...
Saving the converted configuration file to the main board succeeded.
Slot 1:
Saving the converted configuration file succeeded.
Now rebooting, please wait...
(5) Device C
(6) Device C LACP LACP
Device A Device B Active LACP
1-32
#
<Sysname> system-view
[Sysname] interface bridge-aggregation 2
[Sysname-Bridge-Aggregation2] link-aggregation mode dynamic
[Sysname-Bridge-Aggregation2] quit
1.12.3 IRF
1.
1-13 IRF Device A Device B IRF
Device A Device B IRF
2.
1-13 IRF
Device C
IP network
GE4/0/1 GE4/0/2
IRF
GE1/4/0/2 GE2/4/0/2
XGE1/3/0/1 XGE2/3/0/1
(IRF-port1/2) (IRF-port2/1)
Device A Device B
3.
(1) IRF IRF Master
IRF
(2) IRF IRF
1-33
4.
(1) Master
<IRF> display irf
Switch Slot Role Priority CPU-Mac Description
*+1 0 Master 1 00e0-fc0a-15e0 DeviceA
1 1 Slave 1 00e0-fc0f-8c02 DeviceA
2 0 Slave 1 00e0-fc0f-15e1 DeviceB
2 1 Slave 1 00e0-fc0f-15e2 DeviceB
--------------------------------------------------
Device A Master
(2) IRF Master Device A IRF Ten-Gigabitethernet 1/3/0/1
IRF IRF
<IRF> system-view
[IRF] interface ten-gigabitethernet 1/3/0/1
[IRF-Ten-Gigabitethernet1/3/0/1] shutdown
[IRF-Ten-Gigabitethernet1/3/0/1] quit
(3) Device A
[IRF] undo chassis convert mode
The device will switch to stand-alone mode and reboot. You are recommended to save the current
running configuration and specify the configuration file for the next startup. Continue?
[Y/N]:y
Do you want to convert the content of the next startup configuration file flash:/vrpcfg.cfg
to make it available in stand-alone mode? [Y/N]:y
Please wait.............
Saving the converted configuration file to main board succeeded.
Chassis 1 Slot 1:
Saving the converted configuration file succeeded.
Now rebooting, please wait...
Device A
(4) Device B Device B
<IRF> system-view
[IRF] undo chassis convert mode
The device will switch to stand-alone mode and reboot. You are recommended to save the current
running configuration and specify the configuration file for the next startup. Continue?
[Y/N]:y
Do you want to convert the content of the next startup configuration file flash:/vrpcfg.cfg
to make it available in stand-alone mode? [Y/N]:y
Please wait.............
Saving the converted configuration file to main board succeeded.
Chassis 2 Slot 1:
Saving the converted configuration file succeeded.
Now rebooting, please wait...
1-34
Device B
1-35