Cisco Catalyst 9800 Series Wireless Controller Software Configuration Guide, Cisco IOS XE 26.1.x

PDF

Cisco Catalyst 9800 Series Wireless Controller Software Configuration Guide, Cisco IOS XE 26.1.x

Configure link aggression group

Want to summarize with AI?

Log in

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 Configuration > Interface > Logical.

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:

  1. In the Port Channel Number field, enter the port channel number. The valid values are between one to 64.

  2. In the Description field, enter the port channel description.

  3. Click the Admin Status toggle button to set the admin status as UP or DOWN.

  4. Click the Enable Layer 3 Address toggle button to enable the Layer 3 address.

  5. In the Port Members section, select the port members from the Available list box and add them to the Associated list.

  6. Choose a switch mode for the interface from the Switchport Mode drop-down list.

    • If you select access as the switch mode, enter the access VLAN ID in the Access VLAN field.

    • If you select trunk as the switch mode, enter the VLAN IDs that you want to assign as trunk links. To allow all VLAN IDs as trunk links, set Allowed VLANs to All. Specify a native VLAN.

    • If you choose dynamic auto or dynamic desirable as the switch mode, enter the access VLAN ID. Enter the VLAN IDs you want to assign as trunk links. To allow all VLAN IDs as trunk links, set the Allowed VLANs to All. Specify a native VLAN.

  7. Click Update & Apply to Device.


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:

Device# configure terminal
2.

Configure the port channel and enter interface configuration mode.

Example:

Device(config)# interface port-channel port-channel 2

The valid values for the port channel number ranges from one to 64.

3.

Configure the port as trunk.

Example:

Device(config-if)# switchport mode trunk
4.

Enable the interface.

Example:

Device(config-if)# no shutdown

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:

Device# configure terminal
2.

Configure the port.

Example:

Device(config)# interface TenGigabitEthernet port-slot 0/0/0
3.

Configure the port as trunk.

Example:

Device(config-if)# switchport mode trunk
4.

Disable the interface.

Example:

Device(config-if)# no shutdown
5.

Assign the port to a channel group, and specify the ON mode.

Example:

Device(config-if)# channel-group group-number 3 mode on

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:

Device(config-if)# switchport trunk allowed vlan vlan-id 16,17

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:

Device# configure terminal
2.

Configure the port.

Example:

Device(config)# interface TenGigabitEthernet port-slot 0/0/0
3.

Assign the port to a channel group, and specify the LACP mode.

Example:

Device(config-if)# channel-group group-number 1 mode {active | passive}

The valid values for the port channel number ranges from 1 to 64.

4.

Configure the port as trunk.

Example:

Device(config-if)# switchport mode trunk

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:

Device# configure terminal
2.

Configure the TenGigabit Ethernet interface.

Example:

Device(config)# interface TenGigabitEthernet port-slot 0/0/0
3.

Assign the port to a channel group, and specify the PAgP mode.

Example:

Device(config-if)# channel-group group-number 1 mode {auto | desirable}

The valid values for the port channel number ranges from one to 64.

4.

Configure the port as trunk.

Example:

Device(config-if)# switchport mode trunk

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:

Device# configure terminal
2.

Configure the port channel.

Example:

Device(config)# interface port-channel port-channel 1

The valid values for the port channel number range from one to 64.

3.

Add VLANs to the list of allowed VLANs.

Example:

Device(config-if)# switchport trunk allowed vlan vlan-id 10,30,50

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:

Device# configure terminal
2.

Enter the TenGigabit Ethernet interface.

Example:

Device(config)# interface TenGigabitEthernet port-slot 0/0/0
3.

Remove the port channel group from the physical port.

Example:

Device(config-if)# no channel-group
4.

Exit the interface configuration mode.

Example:

Device(config-if)# end

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