<HP>sys
[HP]sysname Master01
Next we configure VLAN interface 1 for management access and configure SSH. This must also be completed in ‘system-view’ as with most configuration changes.
[Master01] interface vlan-interface 1
[Master01-Vlan-interface1] ip address 192.168.17.20 255.255.255.0
[Master01-Vlan-interface1] quit
[Master01] ssh server enable
[Master01] public-key local create rsa (After issuing this command you may enter modulus value or leave the default)
[Master01] user-interface vty 0 15
[Master01-ui-vty0-15] authentication-mode scheme
[Master01-ui-vty0-15] protocol inbound ssh
[Master01-ui-vty0-15] quit
[Master01] local-user administrator (create user account ‘administrator’)
[Master01-luser-administrator] password simple admin (assign password ‘admin’)
[Master01-luser-administrator] service-type ssh
[Master01-luser-administrator] authorization-attribute user-role network-admin (assign Network Admin privileges)
[Master01-luser-administrator] quit
[Master01] snmp comm read public
[Master01] snmp comm write private
[Master01] snmp sys-info version all
[Master01] ip route 0.0.0.0 0.0.0.0 192.168.17.254 (default gateway)
[Master01] quit
<Master01> save
Now that the basic switch configuration is complete we can start on setting up IRF for the two switches. The last 4 Ports must be used to form an IRF and assigned to the IRF group. Ten-gigabit ports 45-48 on both switches for the IRF group.
[Master01] irf member 1 priority 10
[Master01] int ten1/0/45
[Master01-Ten-GigabitEthernet1/0/45] shut
[Master01-Ten-GigabitEthernet1/0/45] int ten1/0/46
[Master01-Ten-GigabitEthernet1/0/46] shut
[Master01-Ten-GigabitEthernet1/0/46] int ten1/0/47
[Master01-Ten-GigabitEthernet1/0/47] shut
[Master01-Ten-GigabitEthernet1/0/47] int ten1/0/48
[Master01-Ten-GigabitEthernet1/0/48] shut
[Master01-Ten-GigabitEthernet1/0/48] quit
[Master01] irf-port 1/2
[Master01-irf-port1/2] port group interface ten1/0/45
[Master01-irf-port1/2] port group interface ten1/0/46
[Master01-irf-port1/2] port group interface ten1/0/47
[Master01-irf-port1/2] port group interface ten1/0/48
After adding the interfaces to the IRF port group, we must do the same on the second switch along with changing the member number.
Second switch only :
<HP>sys
[HP] irf member 1 renumber 2
[HP] quit
<HP> save
<HP> reboot
after rebooting…
[HP] int ten2/0/45
[HP-Ten-GigabitEthernet2/0/45] shut
[HP-Ten-GigabitEthernet2/0/45] int ten2/0/46
[HP-Ten-GigabitEthernet2/0/46] shut
[HP-Ten-GigabitEthernet2/0/46] int ten2/0/47
[HP-Ten-GigabitEthernet2/0/47] shut
[HP-Ten-GigabitEthernet2/0/48] int ten2/0/48
[HP-Ten-GigabitEthernet2/0/48] shut
[HP-Ten-GigabitEthernet2/0/48] quit
[HP] irf-port 2/1
[HP-irf-port2/1] port group interface ten2/0/45
[HP-irf-port2/1] port group interface ten2/0/46
[HP-irf-port2/1] port group interface ten2/0/47
[HP-irf-port2/1] port group interface ten2/0/48
now bring the interfaces back up and activate IRF… Leave int 2/0/45/46 shutdown as we are not using these interfaces for the IRF even thou they are assigned to the group.
[HP-irf-port2/1] quit
[HP] int ten2/0/47
[HP-Ten-GigabitEthernet2/0/47] undo shut
[HP-Ten-GigabitEthernet2/0/47] int ten2/0/48
[HP-Ten-GigabitEthernet2/0/48] undo shut
[HP-Ten-GigabitEthernet2/0/48] quit
[HP] irf-port-configuration active
Now we return to the primary switch and complete setup…
[Master01] int ten1/0/45
[Master01-Ten-GigabitEthernet1/0/47] undo shut
[Master01-Ten-GigabitEthernet1/0/47] int ten1/0/48
[Master01-Ten-GigabitEthernet1/0/48] undo shut
[Master01-Ten-GigabitEthernet1/0/48] quit
[Master01] irf-port-configuration active
Following this, the secondary switch will reboot and activate the IRF configuration. The configuration should be saved ([Master01] save) as long as there are no issues. We can now check the status of both IRF member switches.
irf console
Summary Configuration :
HP 5900 Initial Setup :
system-view
sysname W4ETSETRANSSW01-2
vlan 11
description MGMT
quit
ssh server enable
public-key local create rsa
Y
user-interface vty 0 15
authentication-mode scheme
protocol inbound ssh
quit
local-user admin
password simple h0gw4rt
service-type ssh
authorization-attribute user-role network-admin
quit
save
IRF Initial Setup : Add Interface to IRF – 4 last Interface must be part of the IRF Group
‘
SWITCH 1 :
irf member 1 priority 10
int ten1/0/45
shut
int ten1/0/46
shut
int ten1/0/47
shut
int ten1/0/48
shut
quit
irf-port 1/2
port group interface ten1/0/45
port group interface ten1/0/46
port group interface ten1/0/47
port group interface ten1/0/48
SWITCH 2 :
After adding the interfaces to the IRF port group, we must do the same on the
second switch along with changing the member number.
‘
Renumbering Ports :
sys
irf member 1 renumber 2
Y
quit
save
Y
Y
reboot
Y
‘
IRF Initial Setup : Add Interface to IRF
system-view
int ten2/0/45
shut
int ten2/0/46
shut
int ten2/0/47
shut
int ten2/0/48
shut
quit
irf-port 2/1
port group interface ten2/0/45
port group interface ten2/0/46
port group interface ten2/0/47
port group interface ten2/0/48
‘
now bring the interfaces back up and activate IRF…
error : (undo shutdown) Bind all interfaces in the same group to IRF/PEX ports or cancel the bindings on all of them.
This is why we have added all 4 interfaces to IRF group as above and only using 2/0/47/48 ports and have left 2/0/45/46 shutdown. The port 2/0/45/46 will remain redundant and will be unusable as access port as these ports are part of the IRF group.
quit
int ten2/0/47
undo shut
int ten2/0/48
undo shut
quit
irf-port-configuration active
‘
SWITCH 1 :
sys
int ten1/0/47
undo shut
int ten1/0/48
undo shut
quit
irf-port-configuration active
Comments
(There are currently no comments for this post.)