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:
- Enter system viewsystem-view
- Create a Layer 2 aggregate interface and enter the Layer 2 aggregate interface viewinterface bridge-aggregation interface-number
- Exit to system viewquit
- Enter Layer 2 Ethernet interface viewinterface interface-type interface-number
- Assign the Ethernet interface to the aggregation groupport 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:
- Enter system viewsystem-view
- Set the system LACP prioritylacp 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. - Create a Layer 2 aggregate interface and enter the Layer 2 aggregate interface viewinterface bridge-aggregation interface-number
- Configure the aggregation group to work in dynamic aggregation modelink-aggregation mode dynamic
- Exit to system viewquit
- Enter Layer 2 Ethernet interface viewinterface interface-type interface-number
- Assign the Ethernet interface to the aggregation groupport link number
- Assign the port an LACP prioritylacp port-priority port-priority
- 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:
- Enter system viewsystem-view
- Enter Layer 2 aggregate interface viewinterface bridge-aggregation interface-number
- Configure the description of the aggregate interfacedescription 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:
- Enter system viewsystem-view
- Enable the trap function globallysnmp-agent trap enable [ standard [ linkdown | linkup ] * ]
- Enter Layer 2 interface viewinterface bridge-aggregation interface-number
- Enable link state traps for the aggregate interfaceenable snmp trap updown
Setting the minimum number of selected ports for an
aggregation group:
CAUTION: |
|
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:
- Enter system viewsystem-view
- Enter Layer 2 aggregate interface viewinterface bridge-aggregation interface-number
- interface bridge-aggregation interface-numberlink-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:
- Enter system viewsystem-view
- Enter Layer 2 aggregate interface viewinterface bridge-aggregation interface-number
- Shut down the aggregate interfaceshutdown
Restoring the default settings for an aggregate interface:
Perform the following steps to restore the default settings for an aggregate interface:
- Enter system viewsystem-view
- Enter aggregate interface viewinterface bridge-aggregation interface-number
- Restore the default settings for the aggregate interfacedefault
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:
- Enter system viewsystem-view
- Configure the global link-aggregation load sharing criterialink-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:
- Enter system viewsystem-view
- Enter aggregate interface viewinterface bridge-aggregation interface-number
- Configure the load sharing criteria for the aggregation grouplink-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:
- Enter system viewsystem-view
- Enable local-first load-sharing for link aggregationEnable local-first load-sharing for link aggregation
Enabling link-aggregation traffic redirection
CAUTION: |
|
Displaying and maintaining Ethernet link
aggregation
Perform the following:
- Display information for an aggregate interface or multiple aggregate interfacesdisplay 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 IDdisplay lacp system-id [ | { begin | exclude | include } regular-expression ]
- Display the global or group-specific link-aggregation load sharing criteriadisplay link-aggregation load-sharing mode [ interface [ bridge-aggregation interface-number ] ] [ | { begin | exclude | include } regular-expression ]
- Display detailed link aggregation information on link aggregation member portsdisplay link-aggregation member-port [ interface-list ] [ | { begin | exclude | include } regular-expression ]
- Display the summary of all aggregation groupsdisplay link-aggregation summary [ | { begin | exclude | include } regular-expression ]
- Display detailed information about a specific or all aggregation groupsdisplay link-aggregation verbose [ bridge-aggregation [ interface-number ] ] [ | { begin | exclude | include } regular-expression ]
- Clear LACP statistics for a specific or all link aggregation member portsreset lacp statistics [ interface interface-list ]
- Clear statistics for a specific or all aggregate interfacesClear statistics for a specific or all aggregate interfaces
0 comments
Post a Comment