Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgSystemCSSConfig has a deprecated constructor in /var/www/web29525265/html/mrbrummel/plugins/system/cssconfig/cssconfig.php on line 29
Netzwerk

Netzwerk

HP-Switche LACP

Ist noch in Arbeit........

 

Enable LACP on an HP Procurve switch

First off, make sure your switch supports LACP. Not all of them do. If yours doesn't, or at least doesn't out of the box, check to see if there are any firmware updates on HP's site that enable LACP support, which you can find at http://www.hp.com/rnd/software/switches.htm. You also want to make sure that the device you're connecting to the switch supports LACP too, but hopefully you've already done that since you're looking how to set it up.

Ok, to enable LACP (link aggregation control protocol) is pretty easy. You have to have admin access to your switch, and also access to the CLI (command line interface) which you can get through with a simple telnet session to your switch's IP address. There is dynamic LACP, which is more of an automated configuration, but it limits your LACP link to running in the default VLAN only. I believe you can just plug the Ethernet cables into your switch and it will automatically recognize LACP is setup, as long as it is already configured on the device you are connecting. If you have multiple VLANs and need LACP to run in a VLAN other than the default, the only option is to manually set up static LACP, which is what this post is going to cover.

1. Login to the CLI on your switch, which you can do by opening a telnet session to the switch's IP address

2. Enter the username and password when prompted

3. Use the command "config t" to get into the configuration terminal. You'll know this worked when you see (config) appended to the end of your device name.

4. Use the following command to create your LACP trunk of ports: "trunk 1-4 trk1 lacp" then press Enter. This will create a new LACP trunk using ports 1, 2, 3, and 4, and name it trk1. For trk1, you can use anything from trk1-trkX, where X is the last port number on your switch. You can substitute whichever ports you want to use to create your LACP trunk. If you just want to use trunking rather than LACP, simply replace LACP at the end with the word trunk

5. Use the command "show lacp" to check the settings. You should see columns for "LACP enabled", "LACP Partner", and "LACP status". Assuming you already have the device configured for LACP and plugged into your new LACP ports, those three columns should read "Active", "Yes", and "Success" respectively. If the first column says "Passive", go to step 5b. Otherwise skip right to step 6.

5b. Enable Active LACP mode on your trunk ports. To do this, make sure you're in config mode and then use the command "interface 1-4 lacp active", substituting the port numbers you used in your trunk in the command. The command above changes ports 1, 2, 3, and 4 to active LACP mode

6. Now you have to put your new LACP trunk into the correct VLAN. Let's say I want this trunk to be in VLAN 2. To do that, I'll use the command "vlan 2 untag trk1". Substitute the VLAN number and trunk number of the actual trunks you are going to be using

7. That's it. You should now have yourself a static LACP trunk on your HP Procurve switch, and it should be in the correct VLAN for you to start using.

HP-Switche Routing

Routing im selben VLAN (Multinetting)

Um Routing in dem selben VLAN auf einem Layer 3 Switch zu ermöglichen, muss folgendes eingstellt werden. Das Beispiel bezieht sich konkret auf einen HP
Procurve 5400er Serie:

per CLI einloggen -
(möglichst über RS232 um Verbindungsabrüche bei falschen Eingaben zu vermeiden)
switch#

Konfigurationsmodus aufrufen
switch# configure

ins
entsprechende VLAN wechseln
switch(config)# vlan 1

die aktuellen IP Adressen anzeigen
switch(vlan-1)# show ip

das sollte dann so ähnlich aussehen
aussehen

Internet (IP) Service IP Routing :
Disabled
Default TTL     : 64     Arp Age         : 20   Domain Suffix :   DNS server      :

VLAN                 | IP Config  IP Address Subnet Mask     Proxy ARP
-------------------- + ------------------------- --------------- ---------

DEFAULT_VLAN         | Manual     192.168.1.10      255.255.255.0   No
UnusedPorts                | Disabled

dem VLAN eine zusätzliche IP-Adresse zuteilen
switch(vlan-1)# ip address 192.168.2.10/24

mit exit eine Stufe höher gehen und mit ip routing das Routing auf enabled setzen
switch(config)# ip routing

ein show ip sollte folgende Ansicht hervorbringen

switch(config)# show ip

Internet (IP) Service IP Routing : Enabled Default TTL     : 64     Arp Age         : 20   Domain Suffix :   DNS server      :

VLAN                 | IP Config  IP Address Subnet Mask     Proxy ARP
-------------------- + ------------------------- --------------- ---------

DEFAULT_VLAN         |Manual     192.168.1.10      255.255.255.0   No
                                     | Manual     192.168.2.10      255.255.255.0   No
UnusedPorts                | Disabled