Optimizing Port Usage Through Traffic Control and

Optimizing Port Usage Through Traffic Control and Port Trunking

Port Trunking

Fault Tolerance: If a link in a port trunk fails, the switch redistributes traffic originally destined for that link to the remaining links in the trunk. The trunk remains operable as long as there is at least one link in operation. If a link is restored, that link is automatically included in the traffic distribution again. The LACP option also offers a standby link capability, which enables you to keep links in reserve for service if one or more of the original active links fails. See “Trunk Group Operation Using LACP” on page 6-24.)

Trunk Configuration Methods

Dynamic LACP Trunk: The switch automatically negotiates trunked links between LACP-configured ports on separate devices, and offers one dynamic trunk option: LACP. To configure the switch to initiate a dynamic LACP trunk with another device, use the interface ethernet command in the CLI to set the default LACP option to Active on the ports you want to use for the trunk. For example, the following command sets ports 1-4 to LACP active:

HP2512(config) int e 1-4 lacp active

Note that the above example works if the ports are not already operating in a trunk. To change the LACP option on ports already operating as a trunk, you must first remove them from the trunk. For example, if ports 1 - 4 were LACP- active and operating in a trunk with another device, you would do the following to change them to LACP-passive:

HP2512(config)#

no int e 1-4 lacp

Removes the ports from

 

 

the trunk.

HP2512(config)#

int e 1-4

Configures LACP

 

lacp passive

passive.

Static Trunk: The switch uses the links you configure with the Port/Trunk Settings screen in the menu interface or the trunk command in the CLI to create a static port trunk. The switch offers three types of static trunks: LACP, Trunk, and FEC.

Table 6-3. Trunk Types Used in Static and Dynamic Trunk Groups

Trunking LACP Trunk FEC

Method

Dynamic Yes No No

Static

Yes

Yes

Yes

 

 

 

 

6-12

Page 122
Image 122
HP 2500 manual Trunk Configuration Methods, HP2512config# Int e, Lacp passive