| 0 comments ]

Ethernet link aggregation configuration task list
Task Remarks
Configuring an aggregation group Configuring a static aggregation group Select either task
Configuring a dynamic aggregation group
Configuring an aggregate interface Configuring the description of an aggregate interface Optional
Enabling link state traps for an aggregate interface Optional
Setting the minimum number of selected ports for an aggregation group Optional
Shutting down an aggregate interface Optional
Restoring the default settings for an aggregate interface Optional
Configuring load sharing for link aggregation groups Configuring load sharing criteria for link aggregation groups Optional
Enabling local-first load sharing for link aggregation Optional
Enabling link-aggregation traffic redirection Optional
Enabling link-aggregation traffic redirection
CAUTION: Removing an aggregate interface also removes th e corresponding aggregation group. At the same time, all member ports leave the aggregation group.
The user cannot assign a port to a Layer 2 aggregation group if any of the features listed below is configured on the port:
  • RRPP
  • MAC authentication
  • Port security
  • IP source guard
  • 802.1X
If a port is used as a reflector port for port mirroring, do not assign it to any aggregation group.
To achieve better load sharing results for data traffic among the member ports of a link aggregation group, assign ports of the same type (such as all 100 Mb/s ports or all GE ports and so on) to the link aggregation group.
Configuring a static aggregation group
To guarantee a successful static aggregation, ensure that the ports at both ends of each link are in the same aggregation state.
Perform the following to configure a Layer 2 static aggregation group:
  1. Enter system view
    system-view
  2. Create a Layer 2 aggregate interface and enter the Layer 2 aggregate interface view
    interface bridge-aggregation interface-number
  3. Exit to system view
    quit
  4. Enter Layer 2 Ethernet interface view
    interface interface-type interface-number
  5. Assign the Ethernet interface to the aggregation group
    port link-aggregation group number
Configuring a dynamic aggregation group
To guarantee a successful dynamic aggregation, make sure that the peer ports of the ports aggregated at one end are also aggregated. The two ends can negotiate the aggregation state of each member port automatically.
Perform the following to configure a Layer 2 dynamic aggregation group:
  1. Enter system view
    system-view
  2. Set the system LACP priority
    lacp system-priority system-priority

    NOTE: By default, the system LACP priority is 32,768. Changing the system LACP priority may affect the aggregation state of the ports in a dynamic aggregation group.
  3. Create a Layer 2 aggregate interface and enter the Layer 2 aggregate interface view
    interface bridge-aggregation interface-number
  4. Configure the aggregation group to work in dynamic aggregation mode
    link-aggregation mode dynamic
  5. Exit to system view
    quit
  6. Enter Layer 2 Ethernet interface view
    interface interface-type interface-number
  7. Assign the Ethernet interface to the aggregation group
    port link number
  8. Assign the port an LACP priority
    lacp port-priority port-priority
  9. Set the LACP timeout interval on the port to the short timeout interval (1 second)
    lacp period short
Configuring an aggregate interface
Most configurations that can be performed on Layer 2 Ethernet interfaces can also be performed on Layer 2 aggregate interfaces.
Configuring the description of an aggregate interface:
Configure the description of an aggregate interface for administration purposes such as describing the purpose of the interface.
Perform the following to configure the description of an aggregate interface:
  1. Enter system view
    system-view
  2. Enter Layer 2 aggregate interface view
    interface bridge-aggregation interface-number
  3. Configure the description of the aggregate interface
    description text
Enabling link state traps for an aggregate interface:
Configure an aggregate interface to generate linkUp trap messages when its link goes up and linkDown trap messages when its link goes down.
Perform the following to enable link state traps on an aggregate interface:
  1. Enter system view
    system-view
  2. Enable the trap function globally
    snmp-agent trap enable [ standard [ linkdown | linkup ] * ]
  3. Enter Layer 2 interface view
    interface bridge-aggregation interface-number
  4. Enable link state traps for the aggregate interface
    enable snmp trap updown
Setting the minimum number of selected ports for an aggregation group:
CAUTION:
  • If you set this minimum threshold for a static aggregation group, you must also make the same setting for its peer aggregation group to guarantee correct aggregation.
  • Configuring the minimum number of selected ports required to bring up an aggregation group may cause all member ports in the current aggregation group to become unselected.
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, the user can set the minimum number of selected ports required for bringing up the specific aggregate interface.
This minimum threshold setting affects the aggregation state of both aggregation member ports and the aggregate interface in the following ways:
  • All member ports change to the unselected state and the link of the aggregate interface goes down, when the number of member ports eligible for being selected is smaller than the minimum threshold.
  • When the minimum threshold is reached, the eligible member ports change to the selected state, and the link of the aggregate interface goes up.
Perform the following steps to set the minimum number of select ed ports for an aggregation group:
  1. Enter system view
    system-view
  2. Enter Layer 2 aggregate interface view
    interface bridge-aggregation interface-number
  3. interface bridge-aggregation interface-number
    link-aggregation selected-port minimum number
Shutting down an aggregate interface:
Shutting down or bringing up an aggregate interface affects the aggregation stat e 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 aggregation group become unselected and their link state becomes down.
  • When an aggregate interface is brought up, the aggregation state of ports in the aggregation group is recalculated and their link state becomes up.
Perform the following steps to shut down an aggregate interface:
  1. Enter system view
    system-view
  2. Enter Layer 2 aggregate interface view
    interface bridge-aggregation interface-number
  3. Shut down the aggregate interface
    shutdown
Restoring the default settings for an aggregate interface:
Perform the following steps to restore the default settings for an aggregate interface:
  1. Enter system view
    system-view
  2. Enter aggregate interface view
    interface bridge-aggregation interface-number
  3. Restore the default settings for the aggregate interface
    default
Configuring load sharing for link aggregation groups
CAUTION: By default, an aggregation group uses the global link-aggregation load sharing criterion or criteria. Configure the group-specific link-aggregation load sharing criteria to overwrite the global ones, except those specified with the destination-port , source-port , or ingress-port keywords.
Determine how traffic is load-shared across a link aggregation group by configuring load sharing criteria. The criteria can be service port numbers, IP addresses, MAC addresses, receiving ports, or any combination.
The switch supports configuring global and group-specific aggregation load sharing criteria. A link aggregation group preferentially uses group-specific load sharing criteria. If no group-specific load sharing criteria is available, the group uses the global load sharing criteria.
Configuring the global link-aggregation load sharing criteria:
Perform the following steps to configure global link-aggregation load sharing criteria:
  1. Enter system view
    system-view
  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 }
Set the following global aggregation load sharing criteria:
  • 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 number
  • Destination IP address and destination port number
  • Any two or all three of these elements – ingress port number, source MAC address, and destination MAC address
Configuring group-specific load sharing criteria:
Perform the following steps to configure load sharing criteria for a link aggregation group:
  1. Enter system view
    system-view
  2. Enter aggregate interface view
    interface bridge-aggregation interface-number
  3. Configure the load sharing criteria for the aggregation group
    link-aggregation load-sharing mode { destination-ip | destination-mac | source-ip | source-mac } *
Set the following group-specific load sharing criteria:
  • Source IP address
  • Destination IP address
  • Source IP address and destination IP address
  • Source MAC address
  • Destination MAC 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-card or cross-switch link aggregation scenario to distribute traffic preferentially across all member ports on the ingress card or switch rather than all member ports.
When the user aggregates ports on different member switches in an IRF virtual device, use local-first load sharing to reduce traffic on IRF links, as shown in Figure 1 - Local-first link-aggregation load sharing.
Figure 1: Local-first link-aggregation load sharing
Perform the following steps to enable local-first load sharing for link aggregation:
  1. Enter system view
    system-view
  2. Enable local-first load-sharing for link aggregation
    Enable local-first load-sharing for link aggregation
Enabling link-aggregation traffic redirection
CAUTION:
  • Link-aggregation traffic redirection applies only to dynamic link aggregation groups.
  • To prevent traffic interruption, enable link-aggregation traffic redirection on devices at both ends of the aggregate link.
  • To prevent packet loss that might occur at a reboot, disable both MSTP and link-aggregation traffic redirection.
  • In an IRF virtual device that adopts the ring connection, slight packet loss can occur when the IRF member device enabled with link-aggregation traffic redirection reboots. To prevent packet loss, you can enable local-first load-sharing for link aggregation on all IRF member devices
The link-aggregation traffic redirection function is available on IRF member devices. It can redirect traffic between IRF member devices for a cross-device link aggregation group. Link-aggregation traffic redirection prevents traffic interruption when the user reboots an IRF member device that contains link aggregation member ports.Perform the following steps to enable link-aggregation traffic redirection:
  1. Enter system view
    system-view
  2. Enable link-aggregation traffic redirection
    link-aggregation lacp traffic-redirect-notification enable
Displaying and maintaining Ethernet link aggregation
Perform the following:
  • Display information for an aggregate interface or multiple aggregate interfaces
    display interface bridge-aggregation [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ]
    display interface bridge-aggregation interface-number [ brief ] [ | { begin | exclude | include } regular-expression ]
  • Display the local system ID
    display lacp system-id [ | { begin | exclude | include } regular-expression ]
  • Display the global or group-specific link-aggregation load sharing criteria
    display link-aggregation load-sharing mode [ interface [ bridge-aggregation interface-number ] ] [ | { begin | exclude | include } regular-expression ]
  • Display detailed link aggregation information on link aggregation member ports
    display link-aggregation member-port [ interface-list ] [ | { begin | exclude | include } regular-expression ]
  • Display the summary of all aggregation groups
    display link-aggregation summary [ | { begin | exclude | include } regular-expression ]
  • Display detailed information about a specific or all aggregation groups
    display link-aggregation verbose [ bridge-aggregation [ interface-number ] ] [ | { begin | exclude | include } regular-expression ]
  • Clear LACP statistics for a specific or all link aggregation member ports
    reset lacp statistics [ interface interface-list ]
  • Clear statistics for a specific or all aggregate interfaces
    Clear statistics for a specific or all aggregate interfaces

0 comments

Post a Comment