HP GbE2 Switch Blade
HP actually OEM’s two different GbE2 switches for their Blade enclosures. One is based off a Nortel (Blade Technologies) solution and the other is based off a Cisco solution. We’re using the Nortel version and we’ll be focusing on that hardware in this post. If your unfamiliar with the Alteon CLI your going to need a few minutes to catch on. It’s pretty simple but very different from either the Nortel CLI or the Cisco CLI. Another important point is that the enclosure can actually accommodate two HP GbE2 switches. There’s an “A” side and a “B” side. You only need an “A” side switch to provide connectivity for the servers that will be housed in the enclosure but for high-availability solutions you’ll definitely need two switches installed into the enclosure.
In the following post I’ll outline how to configure a HP GbE2 Switch Blade trunking both ports into a MultiLink trunk. We’ll only using one HP GbE2 switch for this example and ignore the “B” switch. You should console up to the HP GbE2 using a serial cable (straight thru cable 9600, 8, N 1). The default password is “admin”.
[Main Menu] Jul 19 8:07:04 NOTICE mgmt: admin login from host 10.101.20.1 info - Information Menu stats - Statistics Menu cfg - Configuration Menu oper - Operations Command Menu boot - Boot Options Menu maint - Maintenance Menu diff - Show pending config changes [global command] apply - Apply pending config changes [global command] save - Save updated config to FLASH [global command] revert - Revert pending or applied changes [global command] exit - Exit [global command, always available] >> Main#
Set Admin password
We’ll start out by setting the administrator password on the switch.
>> Main# /cfg/sys/access/user/admpw Changing ADMINISTRATOR password; validation required: Enter current admin password: Enter new administrator password: Re-enter new administrator password: New administrator password accepted.
Set IP Address
Next we’ll setup an IP address on one of the interfaces.
>> Main# cfg/l3/if 1 [IP Interface 1 Menu] addr - Set IP address mask - Set subnet mask vlan - Set VLAN number relay - Enable/disable BOOTP relay ena - Enable IP interface dis - Disable IP interface del - Delete IP interface cur - Display current interface configuration >> IP Interface 1#>> addr 10.101.255.118 Current IP address: 0.0.0.0 New pending IP address: 10.101.255.118 Pending new subnet mask: 255.0.0.0 >> IP Interface 1# mask 255.255.255.0 Current subnet mask: 0.0.0.0 New pending subnet mask: 255.255.255.0 >> IP Interface 1# vlan 200 Current VLAN: 1 New pending VLAN: 200 >> IP Interface 1# ena Current status: disabled New status: enabled
Set IP Default Gateway
Next we’ll setup a default gateway for the switch.
>> Main# cfg/l3/gw 1 [Default gateway 1 Menu] addr - Set IP address intr - Set interval between ping attempts retry - Set number of failed attempts to declare gateway DOWN arp - Enable/disable ARP only health checks ena - Enable default gateway dis - Disable default gateway del - Delete default gateway cur - Display current default gateway configuration >> Default gateway 1# addr 10.101.255.1 Current IP address: 0.0.0.0 New pending IP address: 10.101.255.1 >> Default gateway 1# ena Current status: disabled New status: enabled
Create Trunk Interface
We’ll create a Multilink trunk interface (Etherchannel) utilizing ports 19 and 20. Switch ports 19-22 are GBIC interfaces which are populated by 1000BaseSX SFPs.
>> Main# /cfg/l2/trunk 1 [Trunk group 2 Menu] add - Add port to trunk group rem - Remove port from trunk group ena - Enable trunk group dis - Disable trunk group del - Delete trunk group cur - Display current Trunk Group configuration >> Trunk group 2# add 19 Port 19 added. >> Trunk group 2# add 20 Port 20 added. >> Trunk group 2# ena Current status: disabled New status: enabled
Enable 802.1q (tagging) on fiber uplinks
The external uplinks are ports 19 and 20. The internal crossconnect links between the two HP GbE2 switches are on ports 17 and 18. We need to enable 802.1q VLAN tagging on the uplink ports so we can bridge multiple VLANs across the uplinks.
>> Main# /cfg/port 17 ------------------------------------------------------------ [Port 19 Menu] gig - Gig Phy Menu aclqos - Acl/Qos Configuration Menu 8021ppri - Set default 802.1p priority pvid - Set default port VLAN id name - Set port name rmon - Enable/Disable RMON for port tag - Enable/disable VLAN tagging for port tagpvid - Enable/disable tagging on pvid brate - Set BroadCast Threshold mrate - Set MultiCast Threshold drate - Set Dest. Lookup Fail Threshold ena - Enable port dis - Disable port cur - Display current port configuration >> Port 17# tag e Current VLAN tag support: disabled New VLAN tag support: enabled Port 17 changed to tagged.
I’m going to just provide the commands for the remaining ports and skip showing the enter text of the menu to help save on the length of this document.
>> Port 17# /cfg/port 18/tag e Current VLAN tag support: disabled New VLAN tag support: enabled Port 18 changed to tagged. >> Port 19# /cfg/port 19/tag e Current VLAN tag support: disabled New VLAN tag support: enabled Port 19 changed to tagged. >> Port 19# /cfg/port 20/tag e Current VLAN tag support: disabled New VLAN tag support: enabled Port 20 changed to tagged.
Create VLAN 200 for management of the switch itself.
>> Main# /cfg/l2/vlan 200 VLAN number 200 with name "VLAN 200" created. ------------------------------------------------------------ [VLAN 200 Menu] name - Set VLAN name stg - Assign VLAN to a Spanning Tree Group add - Add port to VLAN rem - Remove port from VLAN def - Define VLAN as list of ports ena - Enable VLAN dis - Disable VLAN del - Delete VLAN cur - Display current VLAN configuration >> VLAN 200# name "10-101-255-0/24” Current VLAN name: New VLAN name: 10-101-255-0/24 >> VLAN 200# add 17 Current ports for VLAN 200: empty Pending new ports for VLAN 200: 17 >> VLAN 200# add 18 Current ports for VLAN 200: empty Pending new ports for VLAN 200: 17-18 >> VLAN 200# add 19 Current ports for VLAN 200: empty Pending new ports for VLAN 200: 17-19 >> VLAN 200# add 20 Current ports for VLAN 200: empty Pending new ports for VLAN 200: 17-20
Spanning Tree Protocol (Disable STP on trunk uplinks)
>> Main# /cfg/l2/stp 1 ------------------------------------------------------------ [Spanning Tree Group 1 Menu] brg - Bridge parameter menu port - Port parameter menu add - Add VLAN(s) to Spanning Tree Group remove - Remove VLAN(s) from Spanning Tree Group clear - Remove all VLANs from Spanning Tree Group on - Globally turn Spanning Tree ON off - Globally turn Spanning Tree OFF default - Default Spanning Tree and Member parameters cur - Display current bridge parameters >> Spanning Tree Group 1# port 19 ------------------------------------------------------------ [Spanning Tree Port 19 Menu] prior - Set port Priority (0-255) cost - Set port Path Cost (1-65535 (802.1d) / 1-200000000 (MSTP/RSTP) / 0 for auto) link - Set port link type (auto, p2p, or shared; default: auto) edge - Enable/disable edge portfastfwd - Enable/disable Port Fast Forwarding modeon - Turn port's Spanning Tree ON off - Turn port's Spanning Tree OFF cur - Display current port Spanning Tree parameters >> Spanning Tree Port 19# off Current Port 19 Spanning Tree setting: ON New Port 19 Spanning Tree setting: OFF >> Main# /cfg/l2/stp 1/port 20/off Current Port 20 Spanning Tree setting: ON New Port 20 Spanning Tree setting: OFF
Network Time Protocol
>> Main# /cfg/sys/ntp ---------------------------------------------------------- [NTP Server Menu] prisrv - Set primary NTP server address secsrv - Set secondary NTP server address intrval - Set NTP server resync intervalt zone - Set NTP timezone offset from GMT dlight - Enable/Disable daylight savings time on - Turn NTP service ON off - Turn NTP service OFF cur - Display current NTP configuration >> NTP Server# prisrv 10.101.20.1 Current NTP server address: 0.0.0.0 Enter new NTP server address: 10.101.20.1 >> NTP Server# secsrv 10.111.20.1 Current NTP server address: 0.0.0.0 Enter new NTP server address: 10.111.20.1 >> NTP Server# tzone -5:00 Current GMT timezone offset: -8:00 Enter new GMT timezone offset in hours [-12:00, +12:00]: -5:00 >> NTP Server# on Current status: OFFNew status: ON >> NTP Server# dlight e Current status: disabledNew status: enable
Set PVID on Uplink Ports
>> Main# /cfg/port 17/pvid 200 >> Main# /cfg/port 18/pvid 200 >> Main# /cfg/port 19/pvid 200 >> Main# /cfg/port 20/pvid 200pre>
Remove VLAN 1 from Uplink Ports
>> Layer 2# vlan 1 ------------------------------------------------------------ [VLAN 1 Menu] name - Set VLAN name stg - Assign VLAN to a Spanning Tree Group add - Add port to VLAN rem - Remove port from VLAN def - Define VLAN as list of ports ena - Enable VLAN dis - Disable VLAN del - Delete VLAN cur - Display current VLAN configuration >> VLAN 1# rem 17 Current ports for VLAN 1: 1-18 21-24 Pending new ports for VLAN 1: 1-16 18 21-24 >> VLAN 1# rem 18 Current ports for VLAN 1: 1-18 21-24 Pending new ports for VLAN 1: 1-16 21-24 >> VLAN 1# rem 19 Current ports for VLAN 1: 1-18 21-24 Pending new ports for VLAN 1: 1-16 21-24 >> VLAN 1# rem 20 Current ports for VLAN 1: 1-18 21-24 Pending new ports for VLAN 1: 1-16 21-24
Simple Network Management Protocol (SNMP)
>> Main# /cfg/sys/ssnmp/name swA-hpenc06-rack44.acme.org Current SNMP "sysName": "" Pending new "sysName": "swA-hpenc06-rack44.acme.org" >> Main# /cfg/sys/ssnmp/rcomm readonly Current SNMP read community string: "public" Pending new read community string: "readonly" >> Main# /cfg/sys/ssnmp/wcomm readwrite Current SNMP write community string: "private" Pending new write community string: "readwrite" >> Main# /cfg/sys/ssnmp/auth dis Current SNMP "sysAuthenTrap" setting: disabled New SNMP "sysAuthenTrap" setting: disabled
Disable BOOTP
>> Main# /cfg/sys/bootp d
Warning: Enabling bootp will overwrite IP interface 1 and IP gateway 1's configurations.
Current BOOTP: enabled
New BOOTP: disabledSave Configuration & Apply Configuration
The most important part of this exercise is apply the changes we’ve made and saving the configuration. Unlike Cisco or even Nortel switches the changes we’ve made above don’t take affect until they are ‘applied’ to the switch with the “apply” command.
>> System# apply ------------------------------------------------------------------ Apply complete; don't forget to "save" updated configuration. >> Jul 19 13:26:12 INFO mgmt: new configuration applied System# save Request will first copy the FLASH "active" config to "backup",then overlay FLASH "active" with new config.Confirm saving to FLASH [y/n]: y New config successfully saved to FLASH. >>Jul 19 13:26:19 INFO mgmt: new configuration saved
Hopefully that will give you a good idea of how to configure an HP GbE2 switch in a basic configuration.
Cheers!
Related posts:


I have a question for you about your setup. I have am having some problems don’t know yet if its because of my config. But basically I have 2 ERS8600′s and 2 HP GbE2c’s . 4 fibers, 2 from the A and 2 from B. Blade SW 1 gets a A and B, same goes for SW 2. Both are MLT’ed and on the 8600. SW 1 has its own SMLT and the other has its own SMLT. I get some performance issues on one application. Is it the way I have it setup is why I see the server retransmitting. Oh BTW the server has automatic teaming set which it usually picks NFT.
Do I have to do VLACP on the 8600 and LACP on the switches to fix this?
Thanks!