HP 5500 Ei 5500 Si Switch Series Configuration Guide
Have a look at the manual HP 5500 Ei 5500 Si Switch Series Configuration Guide online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 1114 HP manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
40 • To aggregate Layer 3 Ethernet interfaces, create a Layer 3 link aggregation group. Configuration guidelines • You cannot assign a port to a Layer 2 aggregation group if any of the features listed in Tabl e 6 is configured on the port. Table 6 Features incompatible with Layer 2 aggregation groups Feature Reference RRPP RRPP in High Availability Configuration Guide MAC authentication MAC authentication in Security Configuration Guide Port security Port security in Security Configuration Guide IP source guard IP source guard in Security Configuration Guide 802.1X 802.1X in Security Configuration Guide Ports specified as source interfaces in portal-free rules Portal in Security Configuration Guide • You cannot assign a port to a Layer 3 aggregation group if any of the features listed in Tabl e 7 is configured on the port. Table 7 Interfaces that cannot be assigned to a Layer 3 aggregation group Interface t ype Reference Interfaces configured with IP addresses IP addressing in Layer 3—IP Services Configuration Guide Interfaces configured as DHCP/BOOTP clients DHCP in Layer 3—IP Services Configuration Guide VRRP VRRP in High Availability Configuration Guide Portal Portal in Security Configuration Guide • Removing an aggregate interface also removes th e corresponding aggregation group. At the same time, all member ports leave the aggregation group. Configuring a static aggregation group To guarantee a successful static aggregation, make sure that the ports at both ends of each link are in the same aggregation state. Configuring a Layer 2 static aggregation group Step Command Remarks 1. Enter system view. system-view N/A 2. Create a Layer 2 aggregate interface and enter Layer 2 aggregate interface view. interface bridge-aggregation interface-number When you create a Layer 2 aggregate interface, the system automatically creates a Layer 2 static aggregation group numbered the same. 3. Exit to system view. quit N/A
41 Step Command Remarks 4. Assign an Ethernet interface to the aggregation group. a. Enter Layer 2 Ethernet interface view: interface interface-type interface-number b. Assign the Ethernet interface to the aggregation group: port link-aggregation group number Repeat this step to assign more Layer 2 Ethernet interfaces to the aggregation group. 5. Assign the port an aggregation priority. link-aggregation port-priority port-priority Optional By default, the aggregation priority of a port is 32768. Changing the aggregation priority of a port might affect the aggregation state of the ports in the static aggregation group. Configuring a Layer 3 static aggregation group (available only on the 5500 EI) Step Command Remarks 1. Enter system view. system-view N/A 2. Create a Layer 3 aggregate interface and enter Layer 3 aggregate interface view. interface route-aggregation interface-number When you create a Layer 3 aggregate interface, the system automatically creates a Layer 3 static aggregation group numbered the same. 3. Exit to system view. quit N/A 4. Assign an Ethernet interface to the aggregation group. a. Enter Layer 3 Ethernet interface view: interface interface-type interface-number b. Assign the Ethernet interface to the aggregation group: port link-aggregation group number Repeat this step to assign more Layer 3 Ethernet interfaces to the aggregation group. 5. Assign the port an aggregation priority. link-aggregation port-priority port-priority Optional By default, the aggregation priority of a port is 32768. Changing the aggregation priority of a port might affect the aggregation state of the ports in the static aggregation group. Configuring a dynamic aggregation group To guarantee a successful dynamic aggregation, be su re that the peer ports of the ports aggregated at one end are also aggregated. The two ends can automatically negotiate the aggregation state of each member port.
42 Configuring a Layer 2 dynamic aggregation group Step Command Remarks 1. Enter system view. system-view N/A 2. Set the system LACP priority. lacp system-priority system-priority Optional By default, the system LACP priority is 32768. Changing the system LACP priority might affect the aggregation state of the ports in a dynamic aggregation group. 3. Create a Layer 2 aggregate interface and enter Layer 2 aggregate interface view. interface bridge-aggregation interface-number When you create a Layer 2 aggregate interface, the system automatically creates a Layer 2 static aggregation group numbered the same. 4. Configure the aggregation group to operate in dynamic aggregation mode. link-aggregation mode dynamic By default, an aggregation group operates in static aggregation mode. 5. Exit to system view. quit N/A 6. Assign an Ethernet interface to the aggregation group. a. Enter Layer 2 Ethernet interface view: interface interface-type interface-number b. Assign the Ethernet interface to the aggregation group: port link-aggregation group number Repeat this step to assign more Layer 2 Ethernet interfaces to the aggregation group. 7. Assign the port an aggregation priority. link-aggregation port-priority port-priority Optional By default, the aggregation priority of a port is 32768. Changing the aggregation priority of a port might affect the aggregation state of the ports in the dynamic aggregation group. 8. Set the LACP timeout interval on the port to the short timeout interval (1 second). lacp period short Optional By default, the LACP timeout interval on a port is the long timeout interval (30 seconds). Configuring a Layer 3 dynamic aggregatio n group (available only on the 5500 EI) Step Command Remarks 1. Enter system view. system-view N/A
43 Step Command Remarks 2. Set the system LACP priority. lacp system-priority system-priority Optional By default, the system LACP priority is 32768. Changing the system LACP priority might affect the aggregation state of the ports in the dynamic aggregation group. 3. Create a Layer 3 aggregate interface and enter Layer 3 aggregate interface view. interface route-aggregation interface-number When you create a Layer 3 aggregate interface, the system automatically creates a Layer 3 static aggregation group numbered the same. 4. Configure the aggregation group to operate in dynamic aggregation mode. link-aggregation mode dynamic By default, an aggregation group operates in static aggregation mode. 5. Exit to system view. quit N/A 6. Assign an Ethernet interface to the aggregation group. a. Enter Layer 3 Ethernet interface view: interface interface-type interface-number b. Assign the Ethernet interface to the aggregation group: port link-aggregation group number Repeat this step to assign more Layer 3 Ethernet interfaces to the aggregation group. 7. Assign the port an aggregation priority. link-aggregation port-priority port-priority Optional By default, the aggregation priority of a port is 32768. Changing the aggregation priority of a port might affect the aggregation state of ports in the dynamic aggregation group. 8. Set the LACP timeout interval on the port to the short timeout interval (1 second). lacp period short Optional By default, the LACP timeout interval on a port is the long timeout interval (30 seconds). Configuring an aggregate interface Most of the configurations that can be performed on Layer 2 or Layer 3 Ethernet interfaces can also be performed on Layer 2 or Layer 3 aggregate interfaces. Configuring the description of an aggregate interface You can configure the description of an aggregate interface for administration purposes such as describing the purpose of the interface. To configure the description of an aggregate interface:
44 Step Command Remarks 1. Enter system view. system-view N/A 2. Enter aggregate interface view. • Enter Layer 2 aggregate interface view: interface bridge-aggregation interface-number • Enter Layer 3 aggregate interface view: interface route-aggregation interface-number Use either command. 3. Configure the description of the aggregate interface. description text Optional By default, the description of an interface is in the format of interface-name Interface , such as Bridge-Aggregation1 Interface . Configuring the MTU of a Layer 3 aggregate interface (available only on the 5500 EI) The MTU of an interface affects IP packets frag mentation and reassembly on the interface. To change the MTU of a Layer 3 aggregate interface: Step Command Remarks 1. Enter system view. system-view N/A 2. Enter Layer 3 aggregate interface view. interface route-aggregation interface-number N/A 3. Configure the MTU of the Layer 3 aggregate interface. mtu size Optional 1500 bytes by default. Enabling link state traps for an aggregate interface You can configure an aggregate interface to generate linkUp trap messages when its link goes up and l i n k D own t ra p m e s s a g e s wh e n i t s l i n k g o e s d own. Fo r m o re i n fo rm a t io n, s e e Network Management and Monitoring Configuration Guide . To enable link state traps on an aggregate interface: Step Command Remarks 1. Enter system view. system-view N/A 2. Enable the trap function globally. snmp-agent trap enable [ standard [ linkdown | linkup ] * ] Optional By default, link state trapping is enabled globally and on all interfaces.
45 Step Command Remarks 3. Enter aggregate interface view. • Enter Layer 2 aggregate interface view: interface bridge-aggregation interface-number • Enter Layer 3 aggregate interface view: interface route-aggregation interface-number Use either command. 4. Enable link state traps for the aggregate interface. enable snmp trap updown Optional Enabled by default. Limiting the number of Selected ports for an aggregation group The bandwidth of an aggregate link increases along with the number of selected member ports. To avoid congestion caused by insufficient Selected ports on an aggregate link, you can set the minimum number of Selected ports required for bringing up the specific aggregate interface. This minimum threshold setting affects the aggregatio n state of both aggregation member ports and the aggregate interface in the following ways: • All member ports change to the Un selected state and the link of the aggregate interface goes down, when the number of member ports eligible fo r being selected is smaller than the minimum threshold. • When the minimum threshold is reached, the eligib le member ports change to the Selected state, and the link of the aggregate interface goes up. By default, the maximum number of Selected ports allowed in an aggregation group depends on the hardware capabilities of the member ports. Afte r you manually configure the maximum number of Selected ports in an aggregation group, the ma ximum number of Selected ports allowed in the aggregation group is the lower value of the two upper limits. You can configure redundancy betwee n two ports using the following guideline: Assign two ports to an aggregation group, and configure the maximum number of Selected ports allowed in the aggregation group as 1. In this way, only one Selected port is allowed in the aggregation group at any point in time, while the Unselected port serves as a backup port. Configuration guidelines Follow these guidelines when you configure the port threshold settings: • If you set a minimum threshold for a static aggreg ation group, also make the same setting for its peer aggregation group to guarantee correct aggregation. • Make sure the two link aggregation ends have the same minimum and maximum numbers of selected ports. Make sure you understand the following impacts of the port threshold settings: • Configuring the minimum number of Selected ports required to bring up an aggregation group may cause all the member ports in the aggregation group to become unselected. • Configuring the maximum number of Selected port s in an aggregation group may cause some of the selected member ports in the aggregation group to become unselected.
46 To limit the number of Selected ports for an aggregation group: Step Command Remarks 1. Enter system view. system-view N/A 2. Enter aggregate interface view. • Enter Layer 2 aggregate interface view: interface bridge-aggregation interface-number • Enter Layer 3 aggregate interface view: interface route-aggregation interface-number Use either command. 3. Set the minimum number of Selected ports for the aggregation group. link-aggregation selected-port minimum number Not specified by default. 4. Set the maximum number of Selected ports for the aggregation group. link-aggregation selected-port maximum number By default, the maximum number of Selected ports allowed in an aggregation group depends on only the hardware capabilities of the member ports. Shutting down an aggregate interface Shutting down or bringing up an aggregate interface affects the aggregation state and link state of ports in the corresponding aggregation group in the following ways: • When an aggregate interface is shut down, all Selected ports in the corresponding aggregation group become unselected and their link state becomes down. • When an aggregate interface is brought up, the aggregation state of ports in the corresponding aggregation group is recalculated and their link state becomes up. To shut down an aggregate interface: Step Command Remarks 1. Enter system view. system-view N/A 2. Enter aggregate interface view. • Enter Layer 2 aggregate interface view: interface bridge-aggregation interface-number • Enter Layer 3 aggregate interface view: interface route-aggregation interface-number Use either command. 3. Shut down the aggregate interface. shutdown By default, aggregate interfaces are up.
47 Restoring the default settings for an aggregate interface Step Command Remarks 1. Enter system view. system-view N/A 2. Enter aggregate interface view. • Enter Layer 2 aggregate interface view: interface bridge-aggregation interface-number • Enter Layer 3 aggregate interface view: interface route-aggregation interface-number Use either command. 3. Restore the default settings for the aggregate interface. default N/A Configuring load sharing for link aggregation groups Configuring load-sharing criteria for link aggregation groups You can determine how traffic is load-shared in a link aggregation group by configuring load-sharing criteria. The criteria can be MAC addresses, service port numbers, ingress ports, or IP addresses, or any combination. You can also let the system automati cally choose link-aggregation load-sharing criteria based on packet types (Layer 2, IPv4, or IPv6, for example). You can configure global or group-specific load-sharin g criteria. A link aggregation group preferentially uses the group-specific load-sharing criteria. If no gr oup-specific load-sharing criteria are available, the group uses the global load-sharing criteria. NOTE: The load sharing criteria configuration appli es to only unicast packets, and can chan ge the load sharing criteria for unicast packets. Broadcast packets and multicast packets always use the default load sharing criteria. Configuring the global link-aggregation load-sharing criteria To configure the global link-aggregation load-sharing criteria: Step Command Remarks 1. Enter system view. system-view N/A 2. Configure the global link-aggregation load-sharing criteria. link-aggregation load-sharing mode { { destination-ip | destination-mac | destination-port | ingress-port | source-ip | source-mac | source-port } * By default, the system selects the global load sharing criteria according to the packet type.
48 In system view, the switch supports the following load-sharing criteria and combinations: • Source IP address • Destination IP address • Source MAC address • Destination MAC address • Source IP address and destination IP address • Source IP address and source port • Destination IP address and destination port • Any combination of incoming port, source MAC address, and destination MAC address Configuring group-specific load-sharing criteria Step Command Remarks 1. Enter system view. system-view N/A 2. Enter Layer 2 aggregate interface view. interface bridge-aggregation interface-number N/A 3. Configure the load-sharing criteria for the aggregation group. link-aggregation load-sharing mode { { destination-ip | destination-mac | source-ip | source-mac } * } The default load-sharing criteria are the same as the global load-sharing criteria. In Layer 2 aggregate interface view, the switch supports the following load-sharing criteria and combinations: • Automatic load-sharing criteria determined based on the packet type • Source IP address • Destination IP address • Source MAC address • Destination MAC address • Destination IP address and source IP address • Destination MAC address and source MAC address Enabling local-first load sharing for link aggregation Use the local-first load sharing mechanism in a cross-swit ch link aggregation scenario to distribute traffic preferentially across member ports on the ingress switch rather than all member ports. When you aggregate ports on different member switch es in an IRF fabric, you can use local-first load sharing to reduce traffic on IRF links, as shown in Figure 11. F or more information about IRF, see IRF Configuration Guide .
49 Figure 11 Local-first link-aggregation load sharing To enable local-first load sharing for link aggregation: Step Command Remarks 1. Enter system view. system-view N/A 2. Enable local-first load-sharing for link aggregation. link-aggregation load-sharing mode local-first Optional Enabled by default. Enabling link-aggregation traffic redirection The link-aggregation traffic redirection function can redirect traffic between IRF member switches for a cross-device link aggregation group. Link-aggregation traffic redirection prevents traffic interruption when you reboot IRF member switch that contains link a ggregation member ports. For more information about IRF, see IRF Configuration Guide . Link-aggregation traffic redirection applies only to dynamic link aggregation groups and only to known unicast packets. After link-aggregation traffic redirection is enabled, do not add an Ethernet interface configured with physical state change suppression to an aggregation group. Otherwise, Selected ports in the aggregation group might work improperly. For mo re information about physical state change suppression, see Configuring Ethernet interfaces . T o enable link-aggregation traffic redirection: Step Command Remarks 1. Enter system view. system-view N/A 2. Enable link-aggregation traffic redirection. link-aggregation lacp traffic-redirect-notification enable Optional Disabled by default.