Aggregates ports on
an ASR 5000 Quad Gig-E line card (QGLC), or 10 Gig-E line
cards (XGLCs), or an ASR 5500 Management Input/Output
(MIO) card and sets related parameters in accordance with IEEE 802.3ad.
Product:
WiMAX, PDSN, HA, FA,
GGSN, SGSN
Privilege:
Security Administrator,
Administrator
Syntax
link-aggregation { distribution { block | random | rotate | simple } | lacp { active | passive } [ rate { auto | fast | slow } ] [ timeout { long | short } ] | master
{ global group group_number | group group_number | local group group_number } | member { global group group_number | group group_number | local group group_number } | redundancy { standard | switched } [ hold-time sec ] [ preferred
slot { card_number | none } ] | toggle-link }
no link-aggregation [ toggle-link ]
default link-aggregation { distribution | lacp | redundancy | toggle-link }
distribution { block | random | rotate | simple }
Configures link aggregation
distribution and controls how a Link Aggregation Group (LAG) hash
map is generated. This method is required for Equal Cost Multi-Path
(ECMP) routing over LAG. Set this option on the master port for
use with the whole group. The following list defines the distribution
options (assuming port index 0,1,2,3 were selected.
block: Blocks
of the same port index (Example: 0000111122223333)
random: Based
on pseudo random number
rotate: Repetition
of rotated port index (Example: 0123123023013012…)
simple: Repetition
of all selected port indexes (Example: 0123012301230123…)
lacp { active | passive }
Configures the Link
Aggregation Control Protocol (LACP). Set this option on the master port
for use with the whole group.
active mode
sends out LACP packets periodically. (Default)
passive mode
only responds to LACP packets received.
rate { auto | fast | slow }
Configures the rate
at which the LACP sends packets.
auto: rate
is controlled by the peer
fast: 1 seconds
slow: 30
seconds (Default) [ASR 5000 only]
timeout { long | short }
Configures LACP timeout
events. Set this option on the master port for use with the whole group.
long: Set
LACP to long timeout
short: Set
LACP to short timeout
master { global
group group_number | group group_number | local group group_number }
This command creates
the Master port for the aggregated group.
global: Set
group global across slots.
group group_number:
Set link aggregation group number. group_number must
be an integer between 1 and 1023.
local: Set
group local within same slot.
member { global
group group_number | group group_number | local group group_number }
This command makes
the port a member of the aggregated group.
global: Set
group global across slots.
group group_number:
Set link aggregation group number. group_number must
be an integer from 1 through 1023.
local: Set
group local within same slot.
redundancy { standard | switched } [ hold-time sec ] [ preferred
slot { card_number | none } ]
Connects top and bottom
QGLCs, side-by-side XGLCs, or MIO cards, to different Ethernet switches.
The master port must be set to make this effective for the group.
standard:
Treats all cards in the group as one group. (Default)
switched:
Assumes cards are connected to different switches. [ASR 5000
only]
hold-time sec: Sets
the amount of time to hold (in seconds) before switching between
cards. Applies to standard and switched modes. sec must be
an integer from 0 through 3600. Default: 10
preferred slot { card_number | none }:
Specifies the preferred behavior for a LAG using two Ethernet switches.
Applies to standard and switched modes. card_number is
an integer between 1 and 48 on an ASR 5000, or 5 or 6 on
an ASR 5500.
When a card number is specified, system
behavior varies based on the card type.
-
QGLC (ASR 5000)
– the preferred slot is selected only when both the top
and bottom slots have the same number of active LACP ports.
-
XGLC (ASR 5000) – the
preferred slot is selected for the initial timeout period to make
the selection of an Ethernet switch less random.
none: Specifies
no preferred slot.
toggle-link
Set to toggle link
on port switch.
default
Restores the default
values.
no
This command deletes
the Ethernet port from any group it might be in. If the port was
the Master of a group, the whole group would be deleted.
Usage:
Configure from one
to four ports on a QGLC (vertical aggregation) or the single port
on XGLCs (horizontal aggregation), or traffic ports on an MIO card
to be in an aggregation group that links to an aggregation group
on a remote Ethernet switch. Very large files can be downloaded
across all ports in a group, which makes for a faster download when
compared to serial downloads over a single link.
Related link-aggregation commands
are described in the Card Configuration Mode Commands and Global
Configuration Mode Commands chapters of this guide. For additional
information, also refer to the System Administration
Guide.
Example:
The following example
configures the port to be the Master for Group
2:
link aggregation master
group 2