Configure MTU on Port Channel

You can provide an MTU value on each port channel when you create or update a port channel.

About this task

Follow this procedure to configure a port channel.

If you do not provide an MTU value, depending on the global MTU configuration, SLX determines a default value of MTU on port channel. If the global MTU is configured, then the MTU value of a port channel inherits the global MTU value. If you have not configured a global MTU, SLX determines a default value of MTU on port channel..

Note

Note

When you configure an ethernet port as a port channel member with an MTU value, the create or update operation of port channel with this ethernet port fails with an appropriate error. Remove the MTU configuration from the ethernet port and then re-attempt the port channel create or update operation.

Procedure

  1. To configure an MTU when you create a port channel, run the following command:
    efa tenant po update --name <po-name> --tenant <tenant-name> 
       --operation <port-add|port-delete|lacp-timeout|description|min-link-count|mtu-add|mtu-delete>
       --port <list-of-po-members> --lacp-timeout string <short|long> --min-link-count <min-link-count> 
       --description <po-description> --mtu <1500-9216>
  2. Verify the switch configuration on SLX devices.
    Rack1-Device1# show run interface Port-channel
    interface Port-channel 1 
     mtu 9000
     no shutdown 
    !
    interface Port-channel 2
     mtu 7000
     no shutdown 
    !
    Rack1-Device1#
    Rack1-Device2# show run interface Port-channel
    interface Port-channel 1
     mtu 9000
     no shutdown
    !
    interface Port-channel 2
     mtu 7000
     no shutdown
    !
    Rack1-Device2#

Example

efa tenant po create --name ten1po1 --tenant ten1 --port 10.20.246.15[0/1],10.20.246.16[0/1] --speed 10Gbps --negotiation active --mtu 9000

efa tenant po create --name ten1po2 --tenant ten1 --port 10.20.246.15[0/2],10.20.246.16[0/2] --speed 10Gbps --negotiation active

efa tenant po update --name ten1po2 --tenant ten1 --operation mtu-add –-mtu 5000

efa tenant po update --name ten1po2 --tenant ten1 --operation mtu-delete

efa tenant po update --name ten1po2 --tenant ten1 --operation mtu-add –-mtu 7000
efa tenant po show --name ten1po1 --tenant ten1 –detail
===================================
Name            : ten1po1
Tenant          : ten1
ID              : 1
MTU             : 9000
Speed           : 10Gbps
Negotiation     : active
Min Link Count  : 1
Lacp Timeout    : long
Ports           : 10.20.246.15[0/1]   
                : 10.20.246.16[0/1]
State           : po-created
Dev State       : provisioned
App State       : cfg-in-sync
==================================
efa tenant po show --name ten1po2 --tenant ten1 –detail
=================================
Name            : ten1po2
Tenant          : ten1
ID              : 2
MTU             : 7000
Speed           : 10Gbps
Negotiation     : active
Min Link Count  : 1
Lacp Timeout    : long
Ports           : 10.20.246.15[0/2]
                : 10.20.246.16[0/2]
State           : po-created
Dev State       : provisioned
App State       : cfg-in-sync
SLX configuration example
  1. The following is an example configuration on SLX device after creating ten1po1 and ten1po2:
    SLX# sh run int po
    interface Port-channel 1
     mtu 9000
     description EFA Port-channel ten1po1
     no shutdown
    !
    interface Port-channel 2
     description EFA Port-channel ten1po2
     no shutdown
    !
  2. The following is an example configuration on SLX device after updating ten1po2 to 5000:
    SLX# sh run int po
    interface Port-channel 1
     mtu 9000
     description EFA Port-channel ten1po1
     no shutdown
    !
    interface Port-channel 2
     mtu 5000
     description EFA Port-channel ten1po2
     no shutdown
    !
  3. The following is an example configuration on SLX device after updating ten1po2 delete MTU:
    SLX# sh run int po
    interface Port-channel 1
     mtu 9000
     description EFA Port-channel ten1po1
     no shutdown
    !
    interface Port-channel 2
     description EFA Port-channel ten1po2
     no shutdown
    !
  4. The following is an example configuration on SLX device after updating ten1po2 to 7000:
    SLX# sh run int po
    interface Port-channel 1
     mtu 9000
     description EFA Port-channel ten1po1
     no shutdown
    !
    interface Port-channel 2
     mtu 7000
     description EFA Port-channel ten1po2
     no shutdown
    !