Configure a link aggregation group to increase bandwidth and provide redundancy by combining multiple physical links.
Configure a port channel interface (GUI)
Add and configure a logical port channel interface using the device GUI.
Procedure
| 1. | Choose . |
|
| 2. | Click the Port Channel tab to configure the Port Channel interface. The Port Channel tab lists all the logical port-channel interfaces on the device. |
|
| 3. | Click Add to create a new logical port channel interface. The Add Port Channel Interface window is displayed. |
|
| 4. | In the Add Port Channel Interface window, complete the following procedure: |
Create a port-channel interface (CLI)
Configure a port-channel interface to aggregate multiple network interfaces for increased bandwidth or redundancy.
Procedure
| 1. | Enter the global configuration mode. Example:
|
|
| 2. | Configure the port channel and enter interface configuration mode. Example:
The valid values for the port channel number ranges from one to 64. |
|
| 3. | Configure the port as trunk. Example:
|
|
| 4. | Enable the interface. Example:
|
Configure LAG in ON mode (CLI)
Group multiple physical interfaces for increased bandwidth and redundancy using LAG in ON mode.
Procedure
| 1. | Enter the global configuration mode. Example:
|
|
| 2. | Configure the port. Example:
|
|
| 3. | Configure the port as trunk. Example:
|
|
| 4. | Disable the interface. Example:
|
|
| 5. | Assign the port to a channel group, and specify the ON mode. Example:
The valid values for the port channel number ranges from 1 to 64. |
|
| 6. | Assign the allowed VLAN ID to the port when it is in trunking mode. Example:
|
Add an interface to a port channel (LACP) (CLI)
Assign an Ethernet interface to a port channel using LACP mode to aggregate bandwidth and provide redundancy.
Procedure
| 1. | Enter the global configuration mode. Example:
|
|
| 2. | Configure the port. Example:
|
|
| 3. | Assign the port to a channel group, and specify the LACP mode. Example:
The valid values for the port channel number ranges from 1 to 64. |
|
| 4. | Configure the port as trunk. Example:
|
Add an interface to a port channel (PAgP) (CLI)
Add and configure an interface as a member of a port channel using PAgP.
Procedure
| 1. | Enter the global configuration mode. Example:
|
|
| 2. | Configure the TenGigabit Ethernet interface. Example:
|
|
| 3. | Assign the port to a channel group, and specify the PAgP mode. Example:
The valid values for the port channel number ranges from one to 64. |
|
| 4. | Configure the port as trunk. Example:
|
Add a VLAN to a port channel (CLI)
Add one or more VLANs to the list of allowed VLANs on a port channel.
Procedure
| 1. | Enter the global configuration mode. Example:
|
|
| 2. | Configure the port channel. Example:
The valid values for the port channel number range from one to 64. |
|
| 3. | Add VLANs to the list of allowed VLANs. Example:
|
Remove a port channel group from a physical interface (CLI)
Remove a port channel group binding from a specified physical interface to release it from port channel configuration.
Procedure
| 1. | Enter the global configuration mode. Example:
|
|
| 2. | Enter the TenGigabit Ethernet interface. Example:
|
|
| 3. | Remove the port channel group from the physical port. Example:
|
|
| 4. | Exit the interface configuration mode. Example:
|
Verify the LAG configuration
To view a port channel's state, use the following command:
Device# show etherchannel summary
Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
M - not in use, minimum links not met
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
A - formed by Auto LAG
Number of channel-groups in use: 1
Number of aggregators: 1
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
3 Po3(SU) LACP Tw0/0/0(P) Tw0/0/1(P)
4 Po4(SU) LACP Tw0/0/2(P) Tw0/0/3(P)
To verify an LACP or PAgP configuration, use the following commands:
Device# show running-config interface tenGigabitEthernet 0/0/0
Building configuration...
Current configuration : 114 bytes
!
interface TwoGigabitEthernet0/0/0
switchport trunk allowed vlan 16,17
switchport mode trunk
speed 1000
no negotiation auto
no snmp trap link-status
channel-group 3 mode on
Device# show running-config interface port-channel 1
Building configuration...
Current configuration : 54 bytes
!
interface Port-channel1
switchport mode trunk
switchport trunk allowed vlan 10,30,50
end