![]() |
SYSTEM ADMINISTRATOR GUIDE 15/1543-CRA 119 1170/1-V1 Uen B | ![]() |
Copyright
© Ericsson AB 2009–2010. All rights reserved. No part of this document may be reproduced in any form without the written permission of the copyright owner.
Disclaimer
The contents of this document are subject to revision without notice due to continued progress in methodology, design and manufacturing. Ericsson shall have no liability for any error or damage of any kind resulting from the use of this document.
Trademark List
SmartEdge | is a registered trademark of Telefonaktiebolaget LM Ericsson. | |
NetOp | is a trademark of Telefonaktiebolaget LM Ericsson. |
This document describes how to configure, monitor, and administer the following types of link aggregation: Multilink PPP (MLPPP) and Multilink Frame Relay (MFR) and Ethernet media link groups. The terms MLPPP bundle and MFR bundle refer to link-aggregated PPP- and Frame Relay-encapsulated DS-1 channels or E1 channels or ports, respectively. The term link group refers to link-aggregated Fast Ethernet (FE) or Gigabit Ethernet (GE) ports with IP over Ethernet (IPoE), Point-to-Point Protocol (PPP) over Ethernet (PPPoE), or 802.1Q encapsulation and link-aggregated ports and channels. The term standby link describes a port in the link group bundle that currently is not carrying traffic but stands by ready to carry traffic if any of the active ports fail.
Link aggregation, whether as a link group, MLPPP bundle, or Multilink Frame Relay (MFR) bundle, provides increased bandwidth and availability. When a number of ports (or channels) are bundled in a link group, the failure or replacement of one link in the bundle does not cause the link group to be taken down because the other links take on the traffic of the one that is out of service. Increased bandwidth is a result of load balancing and load distribution over the ports in the link group.
The term link group as used in this document is synonymous with link aggregation group (LAG).
The configuration for MLPPP for PPP-encapsulated DS-1 channels, E1 channels, POS ports, and E1 ports is described in the section Configure an MLPPP Bundle. MLPPP is an extension to PPP that allows a router, such as the SmartEdge router, to use more than one physical link for communication.
MLPPP in this form is often used to provide bandwidth increments between DS-1 channels and DS-3 channels or DS-3 ports, in areas where DS-3 channels or ports are unavailable, or the required bandwidth does not justify the cost of a DS-3 channel or port. For example, four DS-1 channels can be linked together using the MLPPP to provide an aggregate connection of 6 Mbps:
When using more than one physical link to connect two routers, MLPPP provides a mechanism to load balance the connection across all links in the bundle. Both ends of point-to-point links must be capable of supporting MLPPP connections. The two routers configure the data link by swapping Link Control Protocol (LCP) packets during a link establishment phase. If MLPPP is not successfully negotiated, the connection is not established and an error is logged.
The traffic load on a circuit in an MLPPP bundle is distributed packet by packet in a round-robin over the multiple links in the link bundle.
For a complete discussion of load balancing, see Load Balancing.
MLPPP of the following types are described in Configuring PPP and PPPoE:
Using this form of MLPPP, you do not create an MLPPP bundle; instead, the SmartEdge router creates it dynamically.
Using this form of MLPPP, you do not create an MLPPP bundle; instead, the SmartEdge router creates it dynamically.
Using this form of MLPPP, you do not create an MLPPP bundle; instead, the SmartEdge router creates it dynamically.
The SmartEdge router supports MFR, which allow Frame Relay-encapsulated DS-1 channels, clear-channel E1 channels, or clear-channel E1 ports to be aggregated. MFR bundles comply with FRF.16.1, Multilink Frame Relay UNI/NNI Implementation Agreement, which defines the connections between data terminal equipment (DTE) and data communications equipment (DCE) endpoints or between DCE endpoints.
The traffic load on a circuit in an MFR bundle is distributed packet by packet in a round-robin over the multiple links in the link bundle.
The configuration for MFR is described in the section, Configure an MFR Bundle.
The SmartEdge router supports the aggregation of FE or GE ports into a single, larger logical pipe, as specified in Part 3 of the IEEE 802.3ad 2000 specification, Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications. The SmartEdge router supports 802.3ad Link Groups with IPoE, PPPoE, and 802.1Q encapsulation.
The following table defines terminology used in this section.
Term |
Definition |
---|---|
Ethernet link group |
A network-facing link group that bundles IPoE-encapsulated circuits. Specified in Part 3 of the IEEE 802.3ad 2000 specification, Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications |
802.1Q link group |
A network-facing link group that bundles 802.1Q-encapsulated circuits; in other words, 802.1Q PVCs. Specified in Part 3 of the IEEE 802.3ad 2000 specification, Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications. |
Access link group |
A link group that bundles either PPPoE or 802.1Q single- or double-encapsulated (Q-in-Q) circuits. Access link groups support untagged traffic, single-tagged VLAN traffic, and double-tagged VLAN traffic. Access link group are used in subscriber-facing applications such as QOS. Specified in Part 3 of the IEEE 802.3ad 2000 specification, Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications. |
outer VLAN |
A VLAN inside which multiple VLANs have been configured. The inner VLANs are double-tagged 802.1Q PVCs; that is, the outer VLAN is given an ID and each of the inner VLANs is given its own ID. |
inner VLAN |
An 802.1Q PVC inside an outer VLAN. |
Q-in-Q |
A configuration consisting of an 802.1Q tunnel containing one or more single-tagged VLANs. |
802.1Q PVC |
802.1Q PVCs are also referred to as VLANs. |
VLAN |
A virtual LAN. Also referred to as an 802.1Q PVC. Optionally, the VLAN can be an inner VLAN. A VLAN is a separate, administratively defined, subgroup of a bridged LAN. Bridged LANs and 802.1Q encapsulation are described in the 802.1Q IEEE Standard for Local and Metropolitan Area Networks: Virtual Bridged Local Area Networks specification, which defines an architecture and bridging protocols for the partitioning of a bridged LAN into VLANs. |
Three types of non-MLPPP link groups for FE and GE ports are supported by the SmartEdge router. An overview of each follow:
Ports in an Ethernet link group must be network-facing and IPoE encapsulated and have identical configurations, but need not be configured on the same traffic card. You cannot mix FE ports with GE ports in the same link group. You cannot mix ports on different the types of GE traffic cards.
The ports of an Ethernet link group can be bridged. Details and restrictions are in Section 2. A typical application of bridged link groups is shown in Figure 1.
The outgoing traffic load in an 802.1Q or Ethernet link group is distributed stream by stream; that is using the source and destination MAC addresses of each traffic stream, a hash algorithm assigns streams to circuits in the link group bundle. Incoming traffic can arrive on any active link. For details, see Load Balancing.
Ports in an 802.1Q link group must be network-facing and be 802.1Q encapsulated and have identical configurations, but need not be configured on the same traffic card. You cannot mix FE ports with GE ports in the same link group. You cannot mix ports on different the types of GE traffic cards.
The ports and circuits of an 802.1Q link group can be bridged. Details and restrictions are in Section 2.
The outgoing traffic load in an 802.1Q or Ethernet link group is distributed stream by stream; that is using the source and destination MAC addresses of each traffic stream, a hash algorithm assigns streams to circuits in the link group bundle. Incoming traffic can arrive on any active link. For details, see Load Balancing.
The ports and circuits of an access link group can be bridged. Details and restrictions are in Section 2.
The outgoing traffic in an access link group is distributed among the active ports but not is load-balanced; that is, the various links in the link bundle, as determined by session and circuit parameters, are assigned subgroup IDs sub-protection group IDs (SPG-IDs) and distributed for each ID (not by source and destination address as in load balancing) so that all traffic in the same subgroup goes through the same port. Incoming traffic can arrive on any active link.
Figure 1 shows a typical application of bridged link groups:
Link groups can be formed by the aggregation of High-Level Data Link Control (HDLC) encapsulated Packet over SONET/SDH (POS) ports on the following traffic cards:
The following restrictions apply:
HDLC link groups support the following protocols:
The following protocols are not supported:
For information on load balancing and load distribution, see Load Balancing.
The SmartEdge router supports the following link aggregation recommendations and standards:
Other documents with related tasks and commands include:
This section provides tasks and examples for configuring and operating link aggregation.
To configure an MLPPP bundle, perform the tasks in the following sections.
All DS-1 channels, E1 channels, POS ports, or E1 ports in an MLPPP bundle must be configured on the same traffic card, must have identical configurations, and must have PPP encapsulation. Fragmentation and reassembly are not supported in this release; the default maximum received reconstructed unit (MRRU) is set to 1,524 bytes. MRRU is configured by the mp mrru command. Fragmentation must be disabled at the remote peer.
To configure an MLPPP bundle for PPP-encapsulated DS-1 channels, E1 channels, POS ports, or E1 ports, perform the tasks described in Table 2.
Step |
Task |
Root Command |
Notes |
---|---|---|---|
1. |
Specify the context and access the context configuration mode. |
Enter this command in global configuration mode. | |
2. |
Create an interface for the MLPPP bundle and access the interface configuration mode. |
Enter this command in context configuration mode. | |
3. |
Assign an IP address to the interface for the MLPPP bundle. |
Enter this command in interface configuration mode. | |
4. |
Create an empty MLPPP bundle for PPP-encapsulated DS-1 channels, E1 channels, or E1 ports. |
Enter this command in global configuration mode. Specify the mp keyword. Enter this command for each port or channel added to the link group. Enter the command in port configuration mode. | |
5. |
Specify the minimum number of links that should be in the up state for the link group to be active. |
||
6. |
Specify the type of endpoint discriminator to be used for negotiation with an MLPPP bundle. |
The default value is the system host-name. | |
7. |
Sets the MRRU to be used for negotiation with an MLPPP bundle. |
||
8. |
Bind the MLPPP bundle to the interface. |
You configure the constituent DS-1 channels, E1 channels, POS ports, or E1 ports for an MLPPP bundle as described in Configuring Channels and Clear-Channel and Channelized Ports but with these restrictions:
To configure and add a DS-1 channel, E1 channel, POS port, or E1 port to an MLPPP bundle, perform the task described in Table 3. For DS-1 channels, E1 channels, or E1 ports, enter this command in DS-1 or E1 configuration mode. For POS ports, enter this command in POS port configuration mode.
Task |
Root Command |
---|---|
Add a constituent DS-1 channel, E1 channel, or E1 port to an MLPPP bundle. |
This section provides a sample configuration of an MLPPP bundle.
The following example shows how to create an interface, multi, in the local context, assigns an IP address to it, creates an MLPPP bundle, lg-multi, specifies the IP address of the interface as the endpoint discriminator and binds the bundle to the interface; then, the example shows how to configure two DS-1 channels with PPP encapsulation and includes them in the bundle
Create the MLPPP bundle interface and assign an IP address to it:
[local]Redback(config)#context local [local]Redback(config-ctx)#interface multi [local]Redback(config-if)#ip address 172.16.1.1/30 [local]Redback(config-if)#exit [local]Redback(config-ctx)#exit
Create an MLPPP bundle and bind it to an interface:
[local]Redback(config)#link-group lg-multi mp [local]Redback(config-link-group)#mp endpoint-discriminator ip [local]Redback(config-link-group)#bind interface multi local [local]Redback(config-link-group)#exit
Configure a DS-1 channel on DS-3 port 1 and add it to the bundle:
[local]Redback(config)#port channelized-ds3 1/1 [local]Redback(config-ds3)#no shutdown [local]Redback(config-ds3)#exit [local]Redback(config)#port ds1 1/1:1 [local]Redback(config-ds1)#encapsulation ppp [local]Redback(config-ds1)#no shutdown [local]Redback(config-ds1)#link-group lg-multi [local]Redback(config-ds1)#exit
Configure a DS-1 channel on DS-3 port 2 and add it to the bundle:
[local]Redback(config)#port channelized-ds3 1/2 [local]Redback(config-ds3)#no shutdown [local]Redback(config-ds3)#exit [local]Redback(config)#port ds1 1/2:1 [local]Redback(config-ds1)#encapsulation ppp [local]Redback(config-ds1)#no shutdown [local]Redback(config-ds1)#link-group lg-multi [local]Redback(config-ds1)#exit
All DS-1 channels, E1 channels, or E1 ports in an MFR bundle must be configured on the same traffic card, must have identical configurations, and have Frame Relay encapsulation. MFR bundles can include DS-1 channels, E1 channels, or E1 ports. Fragmentation and reassembly as described in FRF.12, Frame Relay Fragmentation Agreement, are not supported in this release. Fragmentation must be disabled at the remote peer.
The number of MFR bundles that you can configure with DS-1 channels or E1 channels or ports on a card and the Frame Relay PVCs in those bundles is restricted in this release. The maximum number of MFR bundles and Frame Relay PVCs must be less than 164 per card according to the following formula:
3 x MFR bundles + MFR PVCs £ 164
For Frame Relay to operate, you must configure the Local Management Interface (LMI) type and the Frame Relay LMI.
To configure an MFR bundle, perform the tasks described in Table 4.
Step |
Task |
Root Command |
Notes |
---|---|---|---|
1. |
Create an empty MFR bundle for DS-1 channels or E1 channels or ports with Frame Relay encapsulation. |
Enter this command in global configuration mode. Specify the mfr keyword. | |
2. |
Specify the interface type. |
Enter this command in link group configuration mode. The default value is DTE. | |
3. |
Specify the Frame Relay LMI type. |
||
4. |
Specify the minimum number of links that should be in the up state for the link group to be active. |
||
5. |
Enable the automatic detection of the LMI type. |
This is the default condition; use the no form to disable automatic detection. | |
6. |
Specify attributes for a DCE interface: | ||
- Specify the interval for the polling verification timer. |
|||
- Specify the error threshold before LMI is considered to have failed. |
|||
- Specify the monitored event count. |
|||
7. |
Specify attributes for a DTE interface: | ||
- Specify the number of keepalive messages sent before the status message request is sent. |
|||
- Specify the interval for the polling verification timer. |
|||
- Specify the monitored event count. |
|||
- Enable the keepalive function and specify the interval value. |
By default, the keepalive function is enabled, with a 10-second interval. | ||
8. |
Disable the MFR bundle. |
By default, the MFR bundle is enabled (operational). |
You create an aggregated Frame Relay PVC to represent the PVCs with the same Data Link Connection Identifier (DLCI) on the DS-1 channels, E1 channels, or E1 ports that you intend to add to the MFR bundle. To configure an aggregated Frame Relay PVC, perform the tasks described in Table 5.
Step |
Task |
Root Command |
Notes |
---|---|---|---|
1. |
Specify the context for the aggregated Frame Relay PVC and access the context configuration mode. |
Enter this command in global configuration mode. | |
Create an interface for the PVC and access the interface configuration mode. |
Enter this command in context configuration mode. | ||
3. |
Assign an IP address to the interface for the PVC. |
Enter this command in interface configuration mode. | |
4. |
Select an existing MFR bundle. |
Enter this command in global configuration mode. | |
5. |
Create or select a Frame Relay PVC and access the Frame Relay PVC configuration mode. |
Enter this command in link group configuration mode. | |
6. |
Bind the Frame Relay PVC to the interface created in step 2. |
||
7. |
Disable the PVC (stop operations on it) until you are ready to begin operations on it. |
By default, all circuits are enabled (operational). |
You configure a constituent DS-1 channel, E1 channel, or E1 port with its Frame Relay encapsulation as described in Configuring Channels and Clear-Channel and Channelized Ports, but with these restrictions:
To configure and add a constituent DS-1 channel, E1 channel, or E1 port to an MFR bundle, perform the additional tasks described in Table 6.
Step |
Task |
Root Command |
Notes |
---|---|---|---|
1. |
Add a DS-1 channel, E1 channel, or E1 port with Frame Relay encapsulation to the MFR bundle. |
Enter this command in DS-1 or E1 configuration mode. | |
2. |
Specify timing values for FRF.16 Hello and acknowledgement messages. |
Enter this command multiple times to specify each parameter. |
Caution! | ||
Risk of data loss. Adding a DS-1 channel, E1 channel, or E1 port
to an MFR bundle, deletes any Frame Relay PVCs that you have created
on it. To reduce the risk, do not create Frame Relay PVCs on any DS-1
channel, E1 channel, or E1 port that you intend to add to an MFR bundle.
|
This section provides an MFR bundle configuration sample.
The following example shows how to create an MFR bundle, lg-mfr, with a data terminal equipment (DTE) interface and an ITU Local Management Interface (LMI) type and disables it until ready to begin operations. It creates the interfaces, frpvc30 and frpvc40, in the local context for the aggregated Frame Relay PVCs and assigns an IP address to each one. Then it creates two aggregated Frame Relay PVCs and binds them to the frpvc30 and frpvc40 interfaces. Finally, the DS-1 channels are configured and added to the MFR bundle
Create the MFR bundle and configure the Frame Relay LMI:
[local]Redback(config)#link-group lg-mfr mfr [local]Redback(config-link-group)#frame-relay intf-type dte [local]Redback(config-link-group)#frame-relay lmi-type itu [local]Redback(config-link-group)#frame-relay keepalive 6 [local]Redback(config-link-group)#frame-relay lmi-n391dte 10 [local]Redback(config-link-group)#frame-relay lmi-n392dte 4 [local]Redback(config-link-group)#no shutdown [local]Redback(config-link-group)#exit
Create the Frame Relay PVC interfaces; assign an IP address to each one:
[local]Redback(config)#context local [local]Redback(config-ctx)#interface frpvc30 [local]Redback(config-if)#ip address 172.16.3.1/24 [local]Redback(config-if)#exit [local]Redback(config-ctx)#interface frpvc40 [local]Redback(config-if)#ip address 172.16.4.1/24 [local]Redback(config-if)#exit [local]Redback(config-ctx)#exit
Create Frame Relay PVC 30 and bind it to its interface:
[local]Redback(config)#link-group lg-mfr mfr [local]Redback(config-link-group)#frame-relay pvc 30 [local]Redback(config-link-pvc)#bind interface frpvc30 local [local]Redback(config-link-pvc)#exit
Create Frame Relay PVC 40 and bind it to its interface:
[local]Redback(config-link-group)#frame-relay pvc 40 [local]Redback(config-link-pvc)#bind interface frpvc40 local [local]Redback(config-link-pvc)#exit [local]Redback(config-link-group)#exit [local]Redback(config-config)#
Configure a DS-1 channel on DS-3 port 3 and add it to the bundle:
[local]Redback(config)#port channelized-ds3 1/3 [local]Redback(config-ds3)#no shutdown [local]Redback(config-ds3)#exit [local]Redback(config)#port ds1 1/3:1 [local]Redback(config-ds1)#encapsulation frame-relay [local]Redback(config-ds1)#no shutdown [local]Redback(config-ds1)#link-group lg-mfr [local]Redback(config-ds1)#frame-relay multilink ack-timer 12 [local]Redback(config-ds1)#frame-relay multilink hello-interval 6 [local]Redback(config-ds1)#frame-relay multilink retries 3 [local]Redback(config-ds1)#exit
Configure a DS-1 channel on DS-3 port 4 and add it to the bundle:
[local]Redback(config)#port channelized-ds3 1/4 [local]Redback(config-ds3)#no shutdown [local]Redback(config-ds3)#exit [local]Redback(config)#port ds1 1/4:1 [local]Redback(config-ds1)#encapsulation frame-relay [local]Redback(config-ds1)#no shutdown [local]Redback(config-ds1)#link-group lg-mfr [local]Redback(config-ds1)#frame-relay multilink ack-timer 12 [local]Redback(config-ds1)#frame-relay multilink hello-interval 6 [local]Redback(config-ds1)#frame-relay multilink retries 3 [local]Redback(config-ds1)#exit
This section includes the following topics:
Ports in an Ethernet link group must be network-facing and IPoE-encapsulated, and have identical configurations, but need not be configured on the same traffic card. You cannot mix FE ports with GE ports in the same link group. You cannot mix ports on different the types of GE traffic cards.
To configure an Ethernet link group, perform the tasks described in Table 7. Enter all commands in link group configuration mode, unless otherwise noted.
Step |
Task |
Root Command |
Notes |
---|---|---|---|
1. |
Specify the context and access the context configuration mode. |
Enter this command in global configuration mode. | |
2. |
Create an interface for the link group and access the interface configuration mode. |
Enter this command in context configuration mode. | |
3. |
Assign an IP address to the interface for the Ethernet link group. |
This command applies only when the link group is not bound to a bridged interface. Enter this command in interface configuration mode. | |
4. |
Create an empty Ethernet link group. |
Enter this command in global configuration mode. Specify the ether keyword. | |
5. |
Enter the following commands ( step 6 through step 15) in link group configuration mode to set the parameters of the Ethernet link group:(1) | ||
Bind the link group to an interface. |
You can bind to an IP interface or to a bridged interface. To create bridged LAG ports, bind to a bridged interface. | ||
7. |
Specify the static MAC addresses. |
This command applies only when bound to a bridged interface. Enter this command for the MAC address of each station known to be on this link group. The bridge dynamically learns the addresses of other stations as they connect to the link group. | |
8. |
Assign a bridge profile. |
This command applies only when bound to a bridged interface. The default trunk bridge profile is assigned automatically if you do not enter this command.(2) | |
9. |
Associate a description with the link group. |
||
10. |
Specify the forward output or policy. |
||
11. |
Enable LACP for the link group. |
For all practical link-group configurations, LACP must be enabled. You can turn off LACP for debugging purposes. Use the lacp command in link group configuration mode to enable LACP and set its parameters. | |
12. |
Specify a MAC address for the link group. |
||
13. |
Specify the maximum number of links that can be in the active state. |
If the number of links (ports) in the link group bundle exceeds the maximum-links setting, those links are set in standby mode, should any of the active links fail. The default is eight. | |
14. |
Specify the minimum number of links that should be in the up state for the link group to be active. |
The default is one. | |
Assign a spanning-tree profile. |
This command applies only when not bound to a bridged interface. |
(1) The rate circuit and qos commands are not
supported for Ethernet link groups.
(2) Supported only if the bridge
is a trunk type. Not supported if the bridge is a tributary type.
You configure the constituent FE or GE ports for a link group as described in Configuring ATM, Ethernet, and POS Ports but with these restrictions:
To add a constituent port to an Ethernet link group, perform the task in Table 8. Enter this command in port configuration mode.
Task |
Root Command |
---|---|
Add an FE or a GE port to an Ethernet link group. |
Each Ethernet link group is limited to eight ports. You cannot mix FE ports with GE ports in the same access link group or GE3, GE1020, or 10GE ports with any other type of GE ports. You can mix ports on FE traffic cards if the ports on the FE traffic cards are configured to run at 100 Mbps.
The following example shows how to create an interface, etherx, in the local context, assign an IP address to each one, create an Ethernet link group, lg-ether and bind it to the interface, etherx. Then the FE or GE ports are configured and added to the link group
Create the link group interface and assign an IP address to it:
[local]Redback(config)#context local [local]Redback(config-ctx)#interface etherx [local]Redback(config-if)#ip address 172.16.0.1/24 [local]Redback(config-if)#exit
Create the link group and bind it to its interface:
[local]Redback(config)#link-group lg-ether ether [local]Redback(config-link-group)#bind interface etherx local
Configure an FE port and add it to the link group:
[local]Redback(config-config)#port ethernet 5/4 [local]Redback(config-port)#no shutdown [local]Redback(config-port)#link-group lg-ether [local]Redback(config-port)#exit
Configure another FE port and add it to the link group:
[local]Redback(config-config)#port ethernet 5/5 [local]Redback(config-port)#no shutdown [local]Redback(config-port)#link-group lg-ether [local]Redback(config-port)#exit
This section describes how to configure network-facing ports with 802.1Q encapsulation.
Ports in an 802.1Q link group must be network-facing and 802.1Q encapsulated and have identical configurations, but need not be configured on the same traffic card. You cannot mix FE ports with GE ports in the same link group. You cannot mix ports on different the types of GE traffic cards.
To configure an 802.1Q link group for 802.1Q-encapsulated FE or GE ports, perform the tasks described in Table 9. Enter all commands in link group configuration mode, unless otherwise noted.
Step |
Task |
Root Command |
Notes |
---|---|---|---|
1. |
Specify the context and access the context configuration mode. |
Enter this command in global configuration mode. | |
2. |
Create an interface for the link group and access the interface configuration mode. |
Enter this command in context configuration mode. | |
3. |
Assign an IP address to the interface for the link group. |
This command applies only when not bound to a bridged interface. Enter this command in interface configuration mode. | |
4. |
Create an empty 802.1Q link group. |
Enter this command in global configuration mode. Specify the dot1q keyword. | |
5. |
Enter the commands in step 6 through step 15 link group configuration mode to set the parameters of the 802.1Q link group.(1) | ||
Bind the link group to an interface. |
You can bind to an IP interface or a bridged interface. To create bridged LAG ports, bind to a bridged interface. | ||
7. |
Specify the static MAC addresses. |
This command applies only when bound to a bridged interface. Enter this command for the MAC address of each station known to be on this link group. The bridge dynamically learns the addresses of other stations as they connect to the link group. | |
8. |
Assign a bridge profile. |
This command applies only when bound to a bridged interface. The default trunk bridge profile is assigned automatically if you do not enter this command. Supported only if the bridge is a trunk type. Not supported if the bridge is a tributary type. | |
9. |
Associate a description with the link group. |
||
10. |
Specify the forward output or policy. |
||
11. |
Enable LACP for the link group. |
For all practical link group configurations, LACP must be enabled. You can turn off LACP for debugging purposes. Use the lacp command in link group configuration mode to enable LACP and set its parameters. | |
12. |
Specify a MAC address for the link group. |
||
13. |
Specify the maximum number of links that can be in the active state. |
If the number of links (ports) in the link group bundle exceeds the maximum-links setting, those links are set in standby mode, should any of the active links fail. The default is eight. | |
14. |
Specify the minimum number of links that should be in the up state for the link group to be active. |
The default is one. | |
Assign a spanning-tree profile. |
This command applies only when bound to a bridged interface. |
(1) The rate circuit and qos commands are not
supported for 802.1Q link groups.
Ports in an 802.1Q link group must be 802.1Q encapsulated and have identical configurations, but need not be configured on the same traffic card. You cannot mix FE ports with GE ports in the same link group. You cannot mix ports on different the types of GE traffic cards.
For FE or GE ports configured with 802.1Q encapsulation, the 802.1Q PVCs and the untagged traffic on each port are referred to as the constituent PVCs. If the constituent PVCs are aggregated in a link group as separate logical pipes, they are referred to as aggregated PVCs.
You create an aggregated 802.1Q PVC to represent the PVCs with the same tag value on the FE or GE ports that you intend to add to the 802.1Q link group.
To configure an aggregated 802.1Q PVC in the 802.1Q link group, perform the tasks described in Table 10; enter all commands in link PVC configuration mode, unless otherwise noted.
Step |
Task |
Root Command |
Notes |
---|---|---|---|
1. |
Select an existing 802.1Q link group and access the link group configuration mode. |
Enter this command in global configuration mode. Specify the dot1q keyword and the name of an existing 802.1Q link group. | |
2. |
Enter the commands in step 3 through step 13 in link group configuration mode to set the parameters of the 802.1Q link group.(1) | ||
Specify the static MAC addresses. |
This command applies only when bound to a bridged interface. Enter this command for the MAC address of each station known to be on this link group. The bridge dynamically learns the addresses of other stations as they connect to the link group. | ||
4. |
Assign a bridge profile. |
This command applies only when bound to a bridged interface. The default trunk bridge profile is assigned automatically if you do not enter this command. Supported only if the bridge is a trunk type. Not supported if the bridge is a tributary type. | |
5. |
Associate a description with the link group. |
Enter this command in dot1q configuration mode. | |
6. |
Assign a spanning-tree profile. |
This command applies only when bound to a bridged interface. | |
7. |
Specify the forward output or policy. |
||
8. |
Enable LACP for the link group. |
For all practical link group configurations, LACP must be enabled. You can turn off LACP for debugging purposes. Use the lacp command in link group configuration mode to enable LACP and set its parameters. | |
9. |
Specify a MAC address for the link group. |
||
10. |
Specify the maximum number of links that can be in the active state. |
If the number of links (ports) in the link group bundle exceeds the maximum-links setting, those links are set in standby mode, should any of the active links fail. The default is eight. | |
11. |
Specify the minimum number of links that should be in the up state for the link group to be active. |
The default is one. | |
12. |
Create an aggregated 802.1Q PVC in the link group and access the link PVC configuration mode. |
Multiple PVC can be created in the 802.1Q link group. | |
Bind the aggregated 802.1Q PVC to its interface. |
Enter in link PVC configuration mode. Bind each PVC created in the previous step. You can bind to an IP interface or a bridged interface. To create bridged LAG 802.1Q PVCs, bind to a bridged interface.(2) |
(1) The rate circuit and qos commands are not
supported for 802.1Q link groups.
(2) The SmartEdge router does not support binding
an aggregated 802.1Q PVC in an 802.1Q link group to a bridged interface.
You configure the FE or GE ports for a link group as described in Configuring ATM, Ethernet, and POS Ports but with these restrictions:
To add a constituent port to an 802.1Q link group, perform the task described in Table 11. Enter this command in port configuration mode.
Task |
Root Command |
---|---|
Add an FE or a GE port to an 802.1Q link group. |
Each 802.1Q link group is limited to eight ports. You cannot mix FE ports with GE ports in the same access link group or GE3, GE1020, or 10GE ports with any other type of GE ports. You can mix ports on FE traffic cards if the ports on the FE traffic cards are configured to run at 100 Mbps.
The following example shows how to create the interfaces, vlans, vlan10, and vlan20, in the local context, assigns an IP address to each one, creates an 802.1Q link group, lg-vlans and binds it to the vlans interface. Then, the example shows how to configure two 802.1Q PVCs and binds them to the vlan10 and vlan20 interfaces. Finally, the FE or GE ports are configured and added to the link group
Create the link group interface and assign an IP address to it:
[local]Redback(config)#context local [local]Redback(config-ctx)#interface vlans [local]Redback(config-if)#ip address 172.16.0.1/24 [local]Redback(config-if)#exit
Create the link group and bind it to its interface:
[local]Redback(config)#link-group lg-vlans dot1q [local]Redback(config-link-group)#bind interface vlans local
Create the PVC interfaces and assign an IP address to each one:
[local]Redback(config)#context local [local]Redback(config-ctx)#interface vlan10 [local]Redback(config-if)#ip address 172.16.1.1/24 [local]Redback(config-if)#exit [local]Redback(config-ctx)#interface vlan20 [local]Redback(config-if)#ip address 172.16.2.1/24 [local]Redback(config-if)#exit [local]Redback(config-ctx)#exit
Create PVC 10 and bind it to its interface:
[local]Redback(config)#link-group lg-vlans dot1q [local]Redback(config-link-group)#dot1q pvc 10 [local]Redback(config-link-pvc)#bind interface vlan10 local [local]Redback(config-link-pvc)#exit
Create PVC 20 and bind it to its interface:
[local]Redback(config-link-group)#dot1q pvc 20 [local]Redback(config-link-pvc)#bind interface vlan20 local [local]Redback(config-link-pvc)#exit [local]Redback(config-link-group)#exit
Configure another FE port and add it to the link group:
[local]Redback(config-config)#port ethernet 5/2 [local]Redback(config-port)#encapsulation dot1q [local]Redback(config-port)#no shutdown [local]Redback(config-port)#link-group lg-vlans [local]Redback(config-port)#exit
Configure another FE port and add it to the link group:
[local]Redback(config-config)#port ethernet 5/3 [local]Redback(config-port)#encapsulation dot1q [local]Redback(config-port)#no shutdown [local]Redback(config-port)#link-group lg-vlans [local]Redback(config-port)#exit
This section describes how to configure subscriber-facing ports with PPPoE or 802.1Q encapsulation.
Consider the following guidelines when configuring access link groups:
Circuit Inside Access Link Group |
Circuit Outside Access Link Group |
---|---|
802.1Q PVC |
802.1Q PVC |
802.1Q PVC inside an 802.1Q tunnel |
802.1Q PVC inside an 802.1Q tunnel |
802.1Q PVC |
802.1Q PVC inside an 802.1Q tunnel |
802.1Q PVC inside an 802.1Q tunnel |
802.1Q PVC |
802.1Q PVC |
ATM RFC 1483 bridged PVC |
802.1Q PVC inside an 802.1Q tunnel |
ATM RFC 1483 bridged PVC |
Use Table 13 to configure an access link group for FE or GE ports with no aggregated 802.1Q PVCs or tunnels. Use Table 15 to configure an access link group with aggregated 802.1Q PVCs or tunnels.
Step |
Task |
Root Command |
Notes |
---|---|---|---|
1. |
Specify the context and access the context configuration mode. |
Enter this command in global configuration mode. | |
2. |
Create an interface for the link group and access the interface configuration mode. |
Enter this command in context configuration mode. | |
3. |
Assign an IP address to the interface for the link group. |
This command does not apply to bridge link groups. Enter this command in interface configuration mode. | |
4. |
Create an access link group. |
Enter this command in global configuration mode. Specify the access keyword. | |
5. |
Enable LACP for the link group. |
For all practical link group configurations, LACP must be enabled. You can turn off LACP for debugging purposes. Use the lacp command in link group configuration mode to enable LACP and set its parameters. | |
6. |
Configure the link group to operate in strict hierarchical mode. |
Enter this command in link group configuration mode. For access link group configurations on PPA2 (TM cards), QoS hierarchical mode strict is required. | |
7. |
Use Table 14 to set the optional parameters of the link group. | ||
8. |
To bind the access link group, enter one of the following commands in link group configuration mode: | ||
- Create a static binding to the interface. |
Applies if the link group encapsulation command is set to dot1q (802.1Q) or IPoE (the default). You can bind to an IP interface or a bridged interface. To create bridged LAG ports, bind to a bridged interface. | ||
- Create a dynamic binding to the interface. |
Applies if the link group encapsulation command is set to pppoe. You must specify a value greater than 1 for the max-ses argument. | ||
- Create a static binding through a subscriber record to the interface. |
Applies if the link group encapsulation command is set to pppoe. |
Use Table 14 to configure the optional parameters of an access link group for FE or GE ports. Enter all commands in link group configuration mode unless otherwise noted.
Step |
Task |
Root Command |
Notes |
---|---|---|---|
1. |
Optional. Specify an encapsulation type for the link group. |
The default encapsulation is IPoE. | |
2. |
Optional. Specify the static MAC addresses. |
This command applies only when the link group is bound to a bridged interface. Enter this command for the MAC address of each station known to be on this bridge. The bridge dynamically learns the addresses of other stations as they connect to the link group. | |
3. |
Optional. Assign a bridge profile. |
This command applies only to link groups bound to a bridged interface. The default tributary bridge profile is assigned automatically if you do not enter this command.(1) | |
4. |
Optional. Specify a text string description of the access link group. |
This string is used as the prefix to the NAS-PORT-ID attribute in RADIUS if the command radius attribute nas-port-id format modified-agent-circuit-id prefix-lg-description has been entered. This step applies only to link group subscribers. | |
5. |
Optional. Specify the forward output or policy. |
||
6. |
Optional. Enable L2VPN bindings on this link group. |
||
7. |
Optional. Specify a MAC address for the link group. |
||
8. |
Optional. Specify the maximum number of links that can be in the active state. |
If the number of links (ports) in the link group bundle exceeds the maximum-links setting, those links are set in standby mode, should any of the active links fail. The default is eight. | |
9. |
Optional. Specify the minimum number of links that should be in the up state for the link group to be active. |
The default is one. | |
10. |
Optional. Specify the algorithm by which the port for outgoing subscriber traffic is chosen. |
||
11. |
Optional. Configure the optional QoS parameters of the 802.1Q PVC. |
See the document, Configuring Circuits for QoS for use of the qos commands. |
For access link group configurations on PPA2 (TM cards), QoS hierarchical mode strict is required. |
12. |
Optional. Configure a different rate for a circuit that has a QoS metering, policing, or priority weighted fair queuing (PWFQ) policy attached to it. |
||
13. |
Optional. Enable clientless IP service selection (CLIPS). |
See Configuring CLIPS for the full set of CLIPS configuration commands. | |
14. |
Optional. Assign a spanning-tree profile. |
This command applies only when bound to a bridged interface. |
(1) Supported only if the bridge
is a tributary type. Not supported if the bridge is a trunk type.
Use Table 15 to configure an access link group with aggregated 802.1Q PVCs or tunnels. 802.1Q PVCs are also called VLANs. Use Table 13 to configure an access link group for FE or GE ports with no aggregated 802.1Q PVCs or tunnels.
Step |
Task |
Root Command |
Notes |
---|---|---|---|
1. |
Specify the context and access the context configuration mode. |
Enter this command in global configuration mode. | |
2. |
Create an interface for the link group and access the interface configuration mode. |
Enter this command in context configuration mode. | |
3. |
Assign an IP address to the interface for the link group. |
This command does not apply to bridge link groups. Enter this command in interface configuration mode. | |
Create an access link group. |
Enter this command in global configuration mode. Specify the access keyword. See Table 18 for economical link groups. | ||
5. |
Enable LACP for the link group. |
For all practical link group configurations, LACP must be enabled. You can turn off LACP for debugging purposes. Use the lacp command in link group configuration mode to enable LACP and set its parameters. | |
6. |
Configure the link group for hierarchical mode strict. |
Enter this command in link group configuration mode. For access link group configurations on PPA2 (TM cards), QoS hierarchical mode strict is required. | |
7. |
Specify 802.1Q encapsulation type for the link group. |
Enter the encapsulation command with the dot1q keyword in link group configuration mode. | |
8. |
Optional. Associate a description with the link group. |
Enter this command in link group configuration mode. | |
9. |
Optional. Specify the tunnel type for this link group. Applies only if configuring an 802.1Q tunnel in the next step. |
Enter this command in link group configuration mode. | |
10 |
Create an aggregated 802.1Q PVC or tunnel in the link group and access the link PVC configuration mode. |
Enter this command in link group configuration mode:
| |
11. |
Use Table 16 to set the optional parameters of the aggregated 802.1Q PVC or 802.1Q tunnel. | ||
12. |
Bind the aggregated 802.1Q PVC with one of the following tasks: Unless otherwise stated, enter these commands in link PVC configuration mode. | ||
- Create a static binding to an interface. |
This binding is supported on PVCs with:
Enter this command only if you are not cross-connecting the PVC. You can bind to an IP interface or a bridged interface. To create bridged aggregated 802.1Q PVCs, bind to a bridged interface. The SmartEdge router does not support binding an aggregated 802.1Q PVC in an access link group to a bridged interface when the interface encapsulation is PPPoE or multibind. | ||
- Create a restricted or an unrestricted dynamic binding. |
This binding is supported on PVCs with PPPoE encapsulation. You must specify the context to create a restricted dynamic binding. This binding is also supported on child circuits in dot1q child protocol configuration mode, but it is not supported on ipv6oe child circuit encapsulation. | ||
- Create a static binding through a subscriber record or records to an interface. |
Enter either of these commands only if you are not cross-connecting the PVC. This binding is supported on PVCs with:
This binding is also supported on child circuits in dot1q child protocol configuration mode, but it is not supported on ipv6oe child circuit encapsulation. You must specify the context to create a restricted dynamic binding. | ||
- Bind the PVC to a bypass for cross-connecting. |
This binding is supported on all PVC encapsulations. Enter this command only if you are cross-connecting the PVC and have no child circuits on it. If the PVC has child circuits, you can bind them to a bypass. |
Use Table 16 to configure the optional parameters of an aggregated 802.1Q PVC of an access link group. Enter all commands in link PVC configuration mode unless otherwise noted.
Step |
Task |
Root Command |
Notes |
---|---|---|---|
1. |
Optional. Configure the access-line parameters. |
access-line access-node-id, access-line adjust, access-line agent-circuit-id, access-line rate, |
|
2. |
Optional. Specify the static MAC addresses. |
This command applies only when the aggregated 802.1Q PVC is bound to a bridged interface. Enter this command for the MAC address of each station known to be on this bridge. The bridge dynamically learns the addresses of other stations as they connect to the bridge. Not supported when the interface encapsulation is PPPoE or multibind. | |
3. |
Optional. Assign a bridge profile. |
This command applies only when bound to a bridged interface. The default tributary bridge profile is assigned automatically if you do not enter this command. Supported only if the bridge is a tributary type. Not supported if the bridge is a trunk type. Not supported when the interface encapsulation is PPPoE or multibind. | |
4. |
Optional. Create a child circuit on a multiprotocol 802.1Q PVC, specify an encapsulation for it, and enter dot1q child protocol configuration mode. |
Enter this command only if you have encapsulated the PVC by using the multi keyword in the dot1q pvc command. | |
5. |
Create a binding for cross-connecting the child circuit created in the previous step. |
Enter this command only if you are cross-connecting the child circuit. | |
6. |
Optional. Specify that the PVCs in the link group being configured are members of the specified circuit group. |
||
7. |
Optional. Associate a description with the aggregated 802.1Q PVC or tunnel. |
||
8. |
Optional. Specify the forward output or policy. |
||
9. |
Optional. Enable a watchdog timer for PVCs created on demand. |
This command applies only to PVCs created by using the on-demand keyword. | |
10. |
Optional Specify IP ACL filters, if any. |
||
11. |
Optional. Associate the PVC with the IP address of the remote host on the circuit. |
Perform this task only for a PVC that you intend to bind directly to an interface. You cannot perform this task if you have created the PVC as part of a range of PVCs. | |
12. |
Optional. Enable L2VPN bindings on this PVC. |
||
13. |
Optional. Specify a MAC address for the PVC. |
||
14. |
Optional. Configure the optional QoS parameters of the 802.1Q PVC. |
See the document, Configuring Circuits for QoS for use of the qos commands. |
For access link group configurations on PPA2 (TM cards), QoS hierarchical mode strict is required. |
15. |
Optional. Configure a different rate for a circuit that has a QoS metering, policing, or priority weighted fair queuing (PWFQ) policy attached to it. |
||
16. |
Optional. Enable clientless IP service selection (CLIPS). |
See Configuring CLIPS for the CLIPS configuration commands. | |
17. |
Optional. Assign a spanning-tree profile. |
This command applies only when bound to a bridged interface. |
If the FE or GE ports are configured with 802.1Q encapsulation, the 802.1Q PVCs and the untagged traffic on each port, referred to as the constituent PVCs, are aggregated in separate logical pipes, referred to as aggregated PVCs.
You configure the FE or GE ports for an access link group as described in Configuring ATM, Ethernet, and POS Ports but with these restrictions:
To add a constituent FE or GE port to an access link group, perform the task described in Table 17. Enter this command in port configuration mode.
Task |
Root Command |
Notes |
---|---|---|
Add an FE or a GE port to an existing access link group. |
The number of ports you can add to an access link group depends on the type of port and is described in the reference page for this command. Enter in port configuration mode. |
You cannot mix FE ports with GE ports in the same access link group or GE3, GE1020, or 10GE ports with any other type of GE ports. You can mix ports on FE traffic cards if the ports on the FE traffic cards are configured to run at 100 Mbps.
To configuration economical hierarchical nodes in access link groups follow the steps in Table 18. This table does not describe other features of access link groups, but this information can be found in other tables in this section.
Step |
Task |
Root Command |
Notes |
---|---|---|---|
1. |
Create an economical access link group. |
In global configuration mode, enter the link-group command with the access and economical keywords. For a description of the restrictions and uses of economical access link groups see the link-group command page. | |
2. |
Enable LACP for the link group. |
For all practical link group configurations, LACP must be enabled. You can turn off LACP for debugging purposes. Use the lacp command in link group configuration mode to enable LACP and set its parameters. | |
3. |
Configure the link group for hierarchical mode strict. |
Enter this command in link group configuration mode. For access link group configurations on PPA2 (TM cards), QoS hierarchical mode strict is required. | |
4. |
Optionally, create aggregated 802.1Q tunnel circuits and replicate their features on the active links in the bundle. |
In link group configuration mode, enter the dot1q pvc command with the encapsulation 1qtunnel and replicate keywords. The dot1q pvc command description contains important information on the restrictions and uses of the replicate keyword. |
The following example shows how to create an access link group that aggregates two GE ports on a ge3-4-port traffic cards. On-demand PVCs are created for the link group as they are needed to support link redundancy:
[local]Redback#config Enter configuration commands, one per line, 'end' to exit [local]Redback(config)#link-group test1 access [local]Redback(config-link-group)#encapsulation dot1q [local]Redback(config-link-group)#dot1q pvc on-demand 10 through 19 [local]Redback(config-dot1q-pvc)#end [local]Redback#config Enter configuration commands, one per line, 'end' to exit [local]Redback(config)#port ethernet 5/2 [local]Redback(config-port)#encapsulation dot1q [local]Redback(config-port)#link-group test1 [local]Redback(config-port)#end [local]Redback#config Enter configuration commands, one per line, 'end' to exit [local]Redback(config)#port ethernet 5/3 [local]Redback(config-port)#encapsulation dot1q [local]Redback(config-port)#link-group test1 [local]Redback(config-port)#end
After configuring the test1 link group, use the show link-group... detail command to display the details of its configuration. Notice that the link group ID is 26. The SmartEdge router automatically sets the link group ID value as shown in the following:
[local]Redback#show link-group test1 detail Link-Group: test1, ID : 26, State : Down ------------------------------------------------------------------------------ Ccct count : 2 Grouping : LoadShare Card Type : ether-12-port Type : access Bindings : Unbound Minimum-links : 1 Maximum-links : 1 Prot-Group-Type : round-robin Internal Handle : 255/22:1:27/1/1/20 Description : Constituent Circuits: 1. 5/2 (Down)| 0.00% 2. 5/3 (Down)| 0.00%
The following example shows the creation of an aggregated 802.1Q tunnel configured in a cross connected access link group. An IP ACL filter is applied to the 802.1Q PVC in the tunnel:
[local]Redback(config)#link-group LGXC7 access [local]Redback(config-link-group)#encapsulation dot1q [local]Redback(config-link-group)#qos hierarchical mode strict [local]Redback(config-link-group)#dot1q pvc 200 encapsulation 1qtunnel [local]Redback(config-dot1q-pvc)#exit [local]Redback(config-link-group)#dot1q pvc 200:1 [local]Redback(config-dot1q-pvc)#ip access-group ACL_1 context CTX_1 in count [local]Redback(config-dot1q-pvc)#bind bypass ! [local]Redback(config)#link-group LGXC8 access [local]Redback(config-link-group)#encapsulation dot1q [local]Redback(config-link-group)#qos hierarchical mode strict [local]Redback(config-link-group)#dot1q pvc 200 encapsulation 1qtunnel [local]Redback(config-dot1q-pvc)#exit [local]Redback(config-link-group)#dot1q pvc 100:1 [local]Redback(config-dot1q-pvc)#bind bypass ! [local]Redback(config)#port ethernet 11/2 local]Redback(config-port)#encapsulation dot1q local]Redback(config-port)#link-group LGXC7 ! Cannot add NON-TM card based port to an access link-group when qos hierarchical mode ! strict is set ! [local]Redback(config)#port ethernet 11/3 local]Redback(config-port)#encapsulation dot1q local]Redback(config-port)#link-group LGXC8 ! Cannot add NON-TM card based port to an access link-group when qos hierarchical mode ! strict is set ! [local]Redback(config)#xc-group xcg4 [local]Redback(config-xc-group)xc lg LGXC8 vlan-id 100:1 to lg LGXC7 vlan-id 200:1
The following example shows the configuration of an economical access link group. In an economical access link group, replicas of the circuit features of active ports are not maintained on the standby ports; therefore, when an active port fails and its standby port becomes active, a small number of packets are lost in the transition. The economic behavior reduces the SmartEdge router resources used by the access link group, allowing more of these resources to become available to other applications. The replicate keyword applies to economical access link groups and specifies whether the circuit features of active ports are replicated on the other active ports as shown in the following:
[local]Redback(config)#link-group abc access economical [local]Redback(config-link-group)#qos hierarchical mode strict [local]Redback(config-link-group)#maximum-links 8 [local]Redback(config-link-group)#encapsulation dot1q [local]Redback(config-link-group)#dot1q pvc 100 encapsulation 1qtunnel replicate [local]Redback(config-dot1q-pvc)#qos policy queuing pwfq1 [local]Redback(config-dot1q-pvc)#dot1q pvc 100:1 encapsulation pppoe [local]Redback(config-dot1q-pvc)#qos policy metering mymeter1 inherit [local]Redback(config-dot1q-pvc)#qos rate maximum 300 [local]Redback(config-dot1q-pvc)#bind auth chap max 10
This section contains the following:
To configure a link group for HDLC-encapsulated OC-3 or OC-12 ports, perform the tasks described in Table 19. Enter all commands in link group configuration mode, unless otherwise noted.
Step |
Task |
Root Command |
Notes |
---|---|---|---|
1. |
Specify the context and access the context configuration mode. |
Enter this command in global configuration mode. | |
2. |
Create an interface for the HDLC link group and access the interface configuration mode. |
Enter this command in context configuration mode. | |
3. |
Assign an IP address to the interface for the HDLC link group. |
Enter this command in interface configuration mode. | |
4. |
Create an empty HDLC link group. |
Enter this command in global configuration mode. Specify the hdlc keyword. | |
5. |
Optional. Specify the minimum number of links that should be in the up state for the link group to be active. |
||
6. |
Bind the HDLC link group to an interface. |
||
7. |
Add POS ports to the HDLC link group. |
Enter this command for each POS port added to the HDLC link group. Enter the command in port configuration mode. |
The following configuration shows how to bundle three POS ports to the lg1 link group and apply the QoS policing policy slow1 to each port. The link group lg1 is bound to the interface pos1 to which an access-list filter, named filter1, acts on inbound packets:
[local]Redback(config)#context local [local]Redback(config-ctx)#ip access-list filter1
The following portion of this example shows the configuration of access-list:
!... [local]Redback(config-ctx)#interface pos1 [local]Redback(config-if)#ip address 10.1.1.1/24 [local]Redback(config-if)#ip access-group filter1 in [local]Redback(config-if)#end !... [local]Redback(config)#link-group lg1 hdlc [local]Redback(config-link-group)#bind interface pos1 local [local]Redback(config-link-group)#end !...
Ports should be unchannelized POS and use HDLC encapsulation (defaults). OC-3 ports and OC-12 ports cannot be bundled together. A maximum of eight ports is allowed per link group:
[local]Redback(config)#port pos 11/2 [local]Redback(config-port)#no shutdown [local]Redback(config-port)#qos policy policing slow1 [local]Redback(config-port)#link-group lg1 [local]Redback(config-link-group)#end !... [local]Redback(config)#port pos 12/1 [local]Redback(config-port)#no shutdown [local]Redback(config-port)#qos policy policing slow1 [local]Redback(config-port)#link-group lg1 [local]Redback(config-link-group)#end !... [local]Redback(config)#port pos 12/2 [local]Redback(config-port)#no shutdown [local]Redback(config-port)#qos policy policing slow1 [local]Redback(config-port)#link-group lg1 [local]Redback(config-link-group)#end
To monitor and troubleshoot link groups, perform the appropriate task listed in Table 20. Enter the debug commands in exec mode; enter the show commands in any mode.
Task |
Root Command |
---|---|
Enable the generation of debug messages for Frame Relay PVCs on DS-1 or E1 channels in an MFR bundle. |
|
Enable the generation of debug messages for link group events. |
|
Enable the generation of debug messages for MLPPP-related events. |
|
Display link groups, circuits, and bindings. |
|
Display LACP links on subscriber-facing Ethernet ports. |
|
Display the counters for all LACP links on the system. |
|
Display the LACP link group with a given identification number. |
|
Display LACP information for a link group with the specified name. |
|
Display the partner information for all the LACP circuits or the LACP circuit with a specified circuit handle. |
|
Display the counters for all LACP links on the system. |
|
Display state and statistics information for one or all MLPPP bundles. |
In the following scenario, four link groups are created. Two network link groups, lg1 and lg3, are bound to the ac1 and ac3 interfaces, respectively. Two access link groups, lg2 and lg4, are bound to the ac2 and ac4 interfaces, respectively. The ac1 and ac2 interfaces are part of the SE1 bridge, while the ac3 and ac4 interfaces are part of the SE2 bridge.
Configure a network-facing bridge profile, bp1:
[local]Redback#config Enter configuration commands, one per line, 'end' to exit [local]Redback(config)#service multiple-service [local]Redback(config)#bridge profile bp1 [local]Redback(config-bridge-profile)#trunk [local]Redback(config-bridge-profile)#exit
Configure a subscriber-facing bridge profile, bp2:
[local]Redback(config)#bridge profile bp2 [local]Redback(config-bridge-profile)#mac-limit 10 [local]Redback(config-bridge-profile)#broadcast rate-limit 10 burst 333 [local]Redback(config-bridge-profile)#exit
Configure two bridge groups in the local context, bridgeSE1 and bridgeSE2:
[local]Redback(config)#context local [local]Redback(config-ctx)#bridge bridgeSE1 [local]Redback(config-ctx)#exit [local]Redback(config-ctx)#bridge bridgeSE2 [local]Redback(config-ctx)#exit
In the local context, configure four bridged interfaces named ac1, ac2, ac3, and ac4. Attach two interfaces to each bridge; specifically, attach ac1 and ac2 to bridgeSE1 bridge and attach ac3 and ac4 to bridgeSE2 bridge:
[local]Redback(config-ctx)#interface ac1 bridge [local]Redback(config-if)#bridge name bridgeSE1 [local]Redback(config-if)#exit [local]Redback(config-ctx)#interface ac2 bridge [local]Redback(config-if)#bridge name bridgeSE1 [local]Redback(config-if)#exit [local]Redback(config-ctx)#interface ac3 bridge [local]Redback(config-if)#bridge name bridgeSE2 [local]Redback(config-if)#exit [local]Redback(config-ctx)#interface ac4 bridge [local]Redback(config-if)#bridge name bridgeSE2 [local]Redback(config-if)#exit [local]Redback(config-ctx)#exit
Configure lg1 as an Ethernet link group. Because Ethernet link groups must be network-facing, lg1 is provisioned by bp1 (a network-facing bridge profile), and bound to ac1 (an interface to the bridgeSE1 bridge group:
[local]Redback(config)#link-group lg1 ether [local]Redback(config-link-group)#bind interface ac1 local [local]Redback(config-link-group)#bridge profile bp1 [local]Redback(config-bridge-profile)#exit
Configure lg2 as an access link group. Because access link groups must be subscriber facing, lg2 is provisioned by bp2 (a subscriber-facing bridge profile) and bound to ac2 (an interface to the bridgeSE1 bridge group). The bridgeSE1 bridge group has two interfaces, one that is network facing and the other that is subscriber facing:
[local]Redback(config)#link-group lg2 access [local]Redback(config-link-group)#bind interface ac2 local [local]Redback(config-link-group)#bridge profile bp2 [local]Redback(config-bridge-profile)#exit
Configure lg3 as an 802.1Q link group. Because 802.1Q link groups must be network-facing, lg3 is provisioned by bp1 (a network-facing bridge profile), and bound to ac3 (an interface to the bridgeSE2 bridge group:
[local]Redback(config)#link-group lg3 dot1q [local]Redback(config-link-group)#dot1q pvc 1 [local]Redback(config-link-pvc)#bind interface ac3 local [local]Redback(config-link-pvc)#bridge profile bp1 [local]Redback(config-bridge-profile)#exit
Configure lg4 as an access link group. Because access link groups must be subscriber facing, lg4 is provisioned by bp2 (a subscriber-facing bridge profile) and bound to ac4 (an interface to the bridgeSE2 bridge group). The bridgeSE2 bridge group has two interfaces, one that is network- facing and the other that is subscriber facing:
[local]Redback(config)#link-group lg4 access [local]Redback(config-link-group)#encap dot1q [local]Redback(config-link-group)#dot1q pvc 1 [local]Redback(config-dot1q-pvc)#bind interface ac4 local [local]Redback(config-dot1q-pvc)#bridge profile bp2 [local]Redback(config-dot1q-pvc)#exit [local]Redback(config-link-group)#exit
The following lines show the resulting configuration:
[local]Redback#show config link-group Building configuration... Current configuration: ! link-group lg2 access bind interface ac2 local ! link-group lg4 access encapsulation dot1q dot1q pvc 1 bind interface ac4 local ! link-group lg1 ether bind interface ac1 local ! link-group lg3 dot1q dot1q pvc 1 bind interface ac3 local ! ! end [local]Redback#show config interface Building configuration... Current configuration: context local ! interface ac1 bridge bridge name bridgeSE1 ! interface ac2 bridge bridge name bridgeSE1 ! interface ac3 bridge bridge name bridgeSE2 ! interface ac4 bridge bridge name bridgeSE2 ! interface mgmt ip address 10.18.17.102/24 !
This section provides an example of multichassis link aggregation, where two system share a common endpoint in a SmartEdge router. LACP manages the connections in an access link group bundle so that only one link to one satellite chassis is active at any time:
The following example shows how to configure the preceding illustrated system. The first set of commands create and configure the access link group named LAG-1, which bundles the two links to the two external chassis:
[local]Redback(config)#system lacp priority 1 [local]Redback(config)#link-group LAG-1 access [local]Redback(config-link-group)#bind interface LAG-1 local [local]Redback(config-link-group)#mac-address auto [local]Redback(config-link-group)#lacp active [local]Redback(config-link-group)#lacp ignore-system-id [local]Redback(config-link-group)#maximum-links 1
The second set of commands adds the SmartEdge router port that interfaces to Switch A into the link group bundle:
[local]Redback(config)#port ethernet 2/6 [local]Redback(config-port)#link-group LAG-1 [local]Redback(config-link-group)#lacp priority 20
The third set of commands adds the SmartEdge router port that interfaces to Switch B into the link group bundle:
[local]Redback(config)#port ethernet 3/6 [local]Redback(config-port)#link-group LAG-1 [local]Redback(config-link-group)#lacp priority 20
The following configuration guidelines apply to configuration of the multichassis access link groups:
system lacp priority command (global configuration mode)
The satellite LACP systems should have system priorities set to 2 or higher (lower priority than the SmartEdge router). The default value is 2.
Multichassis link aggregation is supported only in access, Ethernet, and dot1q link groups.
maximum-links command (link group configuration mode)
lacp ignore-system-id command (link group configuration mode)