Vous êtes sur la page 1sur 16

Configuring HP Networking IRF - Intelligent Resilient Framework (IRF)

---------------------------------------------------------------------

http://allhpnetworking.blogspot.my/2010/10/hp-networking-series-example.html

Step 1: Login to the switch through the console port


Step 2: Ensure that both switches are running the same software version

<H3C>system view
[H3C]display version

Step 3: Reset the configuration of the switches.

<H3C>reset saved-configuration
<H3C>reboot

Step 4: Assign a unit number to each S5800. Switch 1 or 2. (Later you will see the unit number on the right side the switch on t

On unit 1:
[H3C]irf member 1 renumber 1
Warning: Renumbering the switch number may result in configuration change or loss. Continue?[Y/N]:y

On unit 2:
[H3C]irf member 1 renumber 2
Warning: Renumbering the switch number may result in configuration change or loss. Continue?[Y/N]:y

Step 5: Save the configuration and reboot the switches


[H3C]quit
<H3C>save irf.cfg
<H3C>startup saved-configuration irf.cfg
<H3C>reboot

Step 6: Setting priority on Master S5800.


On unit 1:
[H3C]irf member 1 priority 32

Step 7: Shutdown the 10 Gbps port that will form the IRF Group (on both switches)

On Unit 1:
[H3C] int TenGigabitEthernet 1/0/25
[H3C-Ten-GigabitEthernet1/0/25] shutdown
[H3C] int TenGigabitEthernet 1/0/26
[H3C-Ten-GigabitEthernet1/0/26] shutdown

On Unit 2:
[H3C] int TenGigabitEthernet 2/0/27
[H3C-Ten-GigabitEthernet2/0/27] shutdown
[H3C] int TenGigabitEthernet 2/0/28
[H3C-Ten-GigabitEthernet2/0/28] shutdown

Step 8: Assign the 10 Gbps port to an IRF port group


On Unit 1:
[H3C]irf-port 1/1
[H3C-irf-port]port group interface TenGigabitEthernet 1/0/25
[H3C-irf-port]port group interface TenGigabitEthernet 1/0/26
[H3C-irf-port]quit

On Unit 2:
[H3C]irf-port 2/2
[H3C-irf-port]port group interface TenGigabitEthernet 2/0/27
[H3C-irf-port]port group interface TenGigabitEthernet 2/0/28
[H3C-irf-port]quit

Step 9: Enable the 10 Gbps ports that will form the IRF (on both switches)
On unit 1:
[H3C]int TenGigabitEthernet 1/0/25
[H3C-Ten-GigabitEthernet1/0/25]undo shutdown
[H3C]int TenGigabitEthernet 1/0/26
[H3C-Ten-GigabitEthernet1/0/26]undo shutdown

On unit 2:
[H3C]int TenGigabitEthernet 2/0/27
[H3C-Ten-GigabitEthernet2/0/25]undo shutdown
[H3C]int TenGigabitEthernet 2/0/28
[H3C-Ten-GigabitEthernet2/0/26]undo shutdown

Step 10: Activate the IRF Port Configuration (on both switches)
[H3C]irf-port-configuration active

Step 11: Save the configuration


[H3C]quit
<H3C>save

Step 12: Connect the 2 10GbE Direct Attach Cables (DACs) as Shown in the IRF Diagram
NOTE: The secondary switch (unit 2) will now reboot automatically.

Step 13: The IRF stack should now be formed. Verify IRF operation
[H3C]display irf
[H3C]display irf configuration
[H3C]display irf topology
[H3C]display devices

Step 14: Save the configuration


[H3C]quit
<H3C>save
Configure LACP MAD on the IRF fabric:
# Set the domain ID of the IRF fabric to 1.
<Sysname> system-view
[Sysname] irf domain 1
# Create a dynamic aggregate interface and enable LACP MAD.
[Sysname] interface bridge-aggregation 2
[Sysname-Bridge-Aggregation2] link-aggregation mode dynamic
[Sysname-Bridge-Aggregation2] mad enable
You need to assign a domain ID (range: 0-4294967295)
[Current domain is: 1]:
The assigned domain ID is: 1
Info: MAD LACP only enable on dynamic aggregation interface.
[Sysname-Bridge-Aggregation2] quit
interface bridge-aggregation 1
description TO CORE
link-aggregation mode dynamic

interface ten 1/0/49


port link-aggregation group 1
interface ten 1/0/50
port link-aggregation group 1

interface bridge-aggregation 1
port link-type trunk
port trunk permit vlan all

display link-aggregation summary


display link-aggregation verbose
display link-aggregation member-port
display vlan 220
CORE TOR1-2 TOR3-4
1 Enable MAD on Bridge Interface N/A N/A N/A
2 Set Username Password DONE DONE DONE
3 Management IP Address DONE DONE DONE
4 Create VLAN for MAMPU Segment DONE DONE DONE
5 Test Connectivity DONE DONE DONE
6 Assign VLAN for all ports DONE
display device manuinfo
display fan
display environment
display power
display device verbose
display diagnostic-information
display lldp neighbor-information brief
display brief interface
display vlan all
display vlan
super password role network-admin simple F0rm1s F0rm1s
super password level-15 cipher F0rm1s

local-user admin
password simple F0rm1s
authorization-attribute user-role network-admin
service-type terminal ssh telnet

user-interface aux 0
authentication-mode scheme
user-interface vty 0 4
authentication-mode scheme
protocol inbound ssh
interface vlan 1 CORE SWITCH
ip address 172.32.32.1 23

interface vlan 1 TOR1-2


ip address 172.32.32.10 23

interface vlan 1 TOR3-4


ip address 172.32.32.11 23

ip route 0.0.0.0 0.0.0.0 172.32.32.1

vlan 120
name MAMPU
interface vlan 120
ip address 10.29.112.1 23
undo shut
Clock setting display dchp relay all
clock timezone MYT add 08:00:00 display dchp relay server-group 1
display clock
RSTP
SSH/Telnet stp enable
public-key local create rsa stp mode rstp
ssh server enable stp priority 0

undo telnet server enable interface gi1/0/1


display ssh server status stp edged-port enable
display ssh server session stp cost 10000
display public-key local rsa public stp port priority 96

DHCP Service display stp


dhcp enable display stp brief
dhcp relay server-group 1 ip x.x.x.x

interface vlan 200


dhcp select relay
dhcp relay server-select 1

Vous aimerez peut-être aussi