Port-Channel/LAG (802.3ad) Commands
Use these commands to configure port-channels, which are defined in the 802.3ad specification, and that are also known as link aggregation groups (LAGs).
Link aggregation allows you to combine multiple full-duplex Ethernet links into a single logical link. Network devices treat the aggregation as if it were a single link, which increases fault tolerance and provides load sharing. The LAG feature initially load shares traffic based upon the source and destination MAC address. Assign the port-channel (LAG) VLAN membership after you create a port-channel. If you do not assign VLAN membership, the port-channel might become a member of the management VLAN which can result in learning and switching issues.
A port-channel interface, also referred to as a link aggregation group (LAG) or an EtherChannel, can be either static or dynamic, but not both. All members of a port channel must participate in the same protocols. A static port-channel interface does not require a partner system to be able to aggregate its member ports.
port-channel auto
M4250
M4350
This command globally enables the Auto-LAG feature. An Auto-LAG is a LAG that can form automatically between two devices that support the Auto-LAG feature. An Auto-LAG is a dynamic Layer 2 LAG that is based on the Link Aggregation Control Protocol (LACP).
The switch can detect the physical links with a partner device and automatically configure a LAG (that is, an Auto-LAG) on interconnected and capable ports at both ends. The switch can form one Auto-LAG only with each partner device.
Both the Auto-LAG and Auto-Trunk features must be supported and globally enabled on the switch and the partner device. At least two links must be established between the switch and the partner device, and these links must be in the default switch port mode and support the same speed and duplex mode.
| Default | Enabled |
| Format | port-channel auto |
| Mode | Global Config |
no port-channel auto
This command globally disables the Auto-LAG feature.
| Format | no port-channel auto |
| Mode | Global Config |
port-channel auto load-balance (M4250 series switch)
M4250
This command globally configures the hash mode for load-balancing on Auto-LAGs.
| Default | 2 |
| Format | port-channel auto load-balance {1 | 2 | 3 | 4 | 5 | 6} |
| Mode | Global Config |
| Term | Definition |
|---|---|
| 1 | Source MAC, VLAN, EtherType, and incoming port associated with the packet |
| 2 | Destination MAC, VLAN, EtherType, and incoming port associated with the packet |
| 3 | Source/Destination MAC, VLAN, EtherType, and incoming port associated with the packet |
| 4 | Source IP and Source TCP/UDP Port fields of the packet |
| 5 | Destination IP and Destination TCP/UDP Port fields of the packet |
| 6 | Source/Destination IP and source/destination TCP/UDP Port fields of the packet |
no port-channel auto load-balance (M4250 series switch)
This command globally configures the default hash value (2) for load-balancing on Auto-LAGs.
| Format | no port-channel auto load-balance |
| Mode | Global Config |
port-channel auto load-balance (M4350 series switch)
M4350
This command globally configures the hash mode for load-balancing on Auto-LAGs.
| Default | 2 |
| Format | port-channel auto load-balance {1 | 2 | 3 | 4 | 5 | 6 | 7} |
| Mode | Global Config |
| Term | Definition |
|---|---|
| 1 | Source MAC, VLAN, EtherType, and incoming port associated with the packet |
| 2 | Destination MAC, VLAN, EtherType, and incoming port associated with the packet |
| 3 | Source/Destination MAC, VLAN, EtherType, and incoming port associated with the packet |
| 4 | Source IP and Source TCP/UDP Port fields of the packet |
| 5 | Destination IP and Destination TCP/UDP Port fields of the packet |
| 6 | Source/Destination IP and source/destination TCP/UDP Port fields of the packet |
| 7 | Enhanced hashing mode |
no port-channel auto load-balance (M4350 series switch)
This command globally configures the default hash value (2) for load-balancing on Auto-LAGs.
| Format | no port-channel auto load-balance |
| Mode | Global Config |
port-channel auto avb-profile
M4250
M4350
This command globally configures the AVB profile mode for all Auto-LAGs.
| Default | Disabled |
| Format | port-channel auto avb-profile |
| Mode | Global Config |
no port-channel auto avb-profile
This command globally disables the AVB profile mode for all Auto-LAGs.
| Format | no port-channel auto avb-profile |
| Mode | Global Config |
show port-channel auto
M4250
M4350
This command displays information for either all LAGs on which the Auto-LAG feature is enabled or a select LAG on which the Auto-LAG feature is enabled.
| Format | show port-channel auto {all | lag-intf-num} |
| Mode | Privileged EXEC |
Command example:
(NETGEAR Switch)#show port-channel auto all
Auto LAG Admin Mode............................ Enabled
Auto LAG Global Hash Mode...................... 2
Log. Channel Admin Load Mbr Device/ Port Port
Intf Name Min Link Mode Type Balance Ports Timeout Speed Active
------- --------------- ---- ------ ------ ---- -------- ------- ------------- --------- -------
lag 1 ch1 2 Up En. auto 2 0/6 actor/long Auto True
partner/long
0/10 actor/long Auto True
partner/long
partner/long
Command example:
(NETGEAR Switch)#show port-channel auto 1
Auto LAG Admin Mode............................ Enabled
Local Interface................................ lag 1
Channel Name................................... ch1
Link State..................................... Up
Admin Mode..................................... Enabled
Type........................................... auto
Port-channel Min-links......................... 2
Load Balance Option............................ 2
(Dest MAC, VLAN, EType, incoming port)
Mbr Device/ Port Port
Ports Timeout Speed Active
------- ------------- --------- -------
0/6 actor/long Auto True
partner/long
0/10 actor/long Auto True
partner/long
port-channel name
M4250
M4350
This command configures a new port-channel (LAG) and generates a logical number for the port-channel.
The name field is a character string which allows the dash “-” character as well as alphanumeric characters. Use the show port-channel command to display the number for the logical interface.
To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
You can also use lag lag-intf-num to specify the LAG interface, in which lag-intf-num is the LAG port number.
| Format | port-channel [unit/slot/port | lag lag-intf-num] name |
| Mode | Global Config |
no port-channel name
Use this command to remove a port channel and the associated name.
| Format | no port-channel [unit/slot/port | lag lag-intf-num] |
| Mode | Global Config |
addport
M4250
M4350
To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command description and format.
This command adds one port to the port-channel (LAG). The first interface is a logical number of a configured port-channel. You can add a range of ports by specifying the port range when you enter Interface Config mode (for example: interface 1/0/1-1/0/4). You can also use lag lag-intf-num to specify the LAG interface, in which lag-intf-num is the LAG port number.
| Format | addport unit/slot/port |
| Mode | Interface Config |
deleteport (Interface Config)
M4250
M4350
To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command description and format.
This command deletes a port or a range of ports from the port-channel (LAG). The interface is a logical unit/slot/port number of a configured port-channel (or range of port-channels). Instead of unit/slot/port, lag lag-intf-num can be used as an alternate way to specify the LAG interface, in which lag-intf-num is the LAG port number.
| Format | deleteport unit/slot/port |
| Mode | Interface Config |
deleteport (Global Config)
M4250
M4350
To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command description and format.
This command deletes all configured ports from the port-channel (LAG). The interface is a logical unit/slot/port number of a configured port-channel. Instead of unit/slot/port, lag lag-intf-num can be used as an alternate way to specify the LAG interface, in which lag-intf-num is the LAG port number.
| Format | deleteport {unit/slot/port | all} |
| Mode | Global Config |
lacp admin key
M4250
M4350
Use this command to configure the administrative value of the key for the port-channel. The range for key is 0 to 65535.
| Default | 0x8000 |
| Format | lacp admin key key |
| Mode | Interface Config |
This command can be used to configure a single interface or a range of interfaces.
no lacp admin key
Use this command to configure the default administrative value of the key for the port-channel.
| Format | no lacp admin key |
| Mode | Interface Config |
lacp collector max delay
M4250
M4350
Use this command to configure the port-channel collector max delay. This command can be used to configure a single interface or a range of interfaces. The range of delay is 0-65535.
| Default | 0x8000 |
| Format | lacp collector max delay delay |
| Mode | Interface Config |
no lacp collector max delay
Use this command to configure the default port-channel collector max delay.
| Format | no lacp collector max delay |
| Mode | Interface Config |
lacp actor admin key
M4250
M4350
Use this command to configure the administrative value of the LACP actor admin key on an interface or range of interfaces. The range for key is 0-65535.
| Default | Internal Interface Number of this Physical Port |
| Format | lacp actor admin key key |
| Mode | Interface Config |
no lacp actor admin key
Use this command to configure the default administrative value of the key.
| Format | no lacp actor admin key |
| Mode | Interface Config |
lacp actor admin state
M4250
M4350
Use this command to configure the administrative value of the actor state in LACPDUs. You can set the state to individual, long time-out, or passive. You can use this command to configure a single interface or a range of interfaces.
| Default | 0x07 |
| Format | lacp actor admin state {individual | longtimeout | passive} |
| Mode | Interface Config |
no lacp actor admin state
Use this command to configure the default administrative values of the actor state in LACPDUs.
| Format | no lacp actor admin state {individual | longtimeout | passive} |
| Mode | Interface Config |
lacp actor port priority
M4250
M4350
Use this command to configure the priority value assigned to the aggregation port for an interface or range of interfaces. The valid range for priority is 0 to 65535.
| Default | 0x80 |
| Format | lacp actor port priority priority |
| Mode | Interface Config |
no lacp actor port priority
Use this command to configure the default priority value assigned to the aggregation port.
| Format | no lacp actor port priority |
| Mode | Interface Config |
lacp partner admin key
M4250
M4350
Use this command to configure the administrative value of the Key for the protocol partner. This command can be used to configure a single interface or a range of interfaces. The valid range for key is 0 to 65535.
| Default | 0x0 |
| Format | lacp partner admin key key |
| Mode | Interface Config |
no lacp partner admin key
Use this command to set the administrative value of the key for the protocol partner to the default.
| Format | no lacp partner admin key |
| Mode | Interface Config |
lacp partner admin state individual
M4250
M4350
Use this command to set LACP partner admin state to individual.
| Format | lacp partner admin state individual |
| Mode | Interface Config |
no lacp partner admin state individual
Use this command to set the LACP partner admin state to aggregation.
| Format | no lacp partner admin state individual |
| Mode | Interface Config |
lacp partner admin state longtimeout
M4250
M4350
Use this command to set LACP partner admin state to long time-out.
| Format | lacp partner admin state longtimeout |
| Mode | Interface Config |
no lacp partner admin state longtimeout
Use this command to set the LACP partner admin state to short time-out.
| Format | no lacp partner admin state longtimeout |
| Mode | Interface Config |
lacp partner admin state passive
M4250
M4350
Use this command to set the LACP partner admin state to passive.
| Format | lacp partner admin state passive |
| Mode | Interface Config |
no lacp partner admin state passive
Use this command to set the LACP partner admin state to active.
| Format | no lacp partner admin state passive |
| Mode | Interface Config |
lacp partner port-id
M4250
M4350
Use this command to configure the LACP partner port id. This command can be used to configure a single interface or a range of interfaces. The valid range for port-id is 0 to 65535.
| Default | 0x80 |
| Format | lacp partner port-id port-id |
| Mode | Interface Config |
no lacp partner port-id
Use this command to set the LACP partner port id to the default.
| Format | no lacp partner port-id |
| Mode | Interface Config |
lacp partner port priority
M4250
M4350
Use this command to configure the LACP partner port priority. This command can be used to configure a single interface or a range of interfaces. The valid range for priority is 0 to 65535.
| Default | 0x0 |
| Format | lacp partner port priority priority |
| Mode | Interface Config |
no lacp partner port priority
Use this command to configure the default LACP partner port priority.
| Format | no lacp partner port priority |
| Mode | Interface Config |
lacp partner system id
M4250
M4350
Use this command to configure the 6-octet MAC Address value representing the administrative value of the Aggregation Port’s protocol Partner’s System ID. This command can be used to configure a single interface or a range of interfaces. The valid range of system-id is 00:00:00:00:00:00 - FF:FF:FF:FF:FF.
| Default | 00:00:00:00:00:00 |
| Format | lacp partner system id system-id |
| Mode | Interface Config |
no lacp partner system id
Use this command to configure the default value representing the administrative value of the Aggregation Port’s protocol Partner’s System ID.
| Format | no lacp partner system id |
| Mode | Interface Config |
lacp partner system priority
M4250
M4350
Use this command to configure the administrative value of the priority associated with the Partner’s System ID. This command can be used to configure a single interface or a range of interfaces. The valid range for priority is 0 to 65535.
| Default | 0x0 |
| Format | lacp partner system priority priority |
| Mode | Interface Config |
no lacp partner system priority
Use this command to configure the default administrative value of priority associated with the Partner’s System ID.
| Format | no lacp partner system priority |
| Mode | Interface Config |
interface lag
M4250
M4350
Use this command to enter Interface configuration mode for the specified LAG.
| Format | interface lag lag-interface-number |
| Mode | Global Config |
port-channel static
M4250
M4350
This command enables the static mode on a port-channel (LAG) interface or range of interfaces. By default the static mode for a new port-channel is enabled, which means the port-channel is static. If the maximum number of allowable dynamic port-channels are already present in the system, the static mode for a new port-channel is enabled, which means the port-channel is static. You can only use this command on port-channel interfaces.
| Default | Disabled |
| Format | port-channel static |
| Mode | Interface (LAG) Config |
no port-channel static
This command sets the static mode on a particular port-channel (LAG) interface to the default value. This command will be executed only for interfaces of type port-channel (LAG).
| Format | no port-channel static |
| Mode | Interface (LAG) Config |
port lacpmode
M4250
M4350
This command enables Link Aggregation Control Protocol (LACP) on a port or range of ports.
| Default | Enabled |
| Format | port lacpmode |
| Mode | Interface Config |
no port lacpmode
This command disables Link Aggregation Control Protocol (LACP) on a port.
| Format | no port lacpmode |
| Mode | Interface Config |
port lacpmode enable all
M4250
M4350
This command enables Link Aggregation Control Protocol (LACP) on all ports.
| Format | port lacpmode enable all |
| Mode | Global Config |
no port lacpmode enable all
This command disables Link Aggregation Control Protocol (LACP) on all ports.
| Format | no port lacpmode enable all |
| Mode | Global Config |
port lacptimeout (Interface Config)
M4250
M4350
This command sets the time-out on a physical interface or range of interfaces of a particular device type (actor or partner) to either long (90 seconds) or short (3 seconds) time-out.
| Default | long |
| Format | port lacptimeout {actor | partner} {long | short} |
| Mode | Interface Config |
no port lacptimeout
This command sets the time-out back to a long time-out on a physical interface of a particular device type (actor or partner).
| Format | no port lacptimeout {actor | partner} |
| Mode | Interface Config |
port lacptimeout (Global Config)
M4250
M4350
This command sets the time-out for all interfaces of a particular device type (actor or partner) to either long (90 seconds) or short (3 seconds) time-out.
| Default | long |
| Format | port lacptimeout {actor | partner} {long | short} |
| Mode | Global Config |
no port lacptimeout
This command sets the time-out for all physical interfaces of a particular device type (actor or partner) back to a long time-out.
| Format | no port lacptimeout {actor | partner} |
| Mode | Global Config |
port-channel adminmode
M4250
M4350
This command enables all configured port-channels with the same administrative mode setting.
| Format | port-channel adminmode all |
| Mode | Global Config |
no port-channel adminmode
This command disables all configured port-channels with the same administrative mode setting.
| Format | no port-channel adminmode all |
| Mode | Global Config |
port-channel linktrap
M4250
M4350
To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command description and format.
This command enables link trap notifications for the port-channel (LAG). The interface is a logical unit/slot/port for a configured port-channel. The option all sets every configured port-channel with the same administrative mode setting. Instead of unit/slot/port, lag lag-intf-num can be used as an alternate way to specify the LAG interface, in which lag-intf-num is the LAG port number.
| Default | Disabled |
| Format | port-channel linktrap {unit/slot/port | all} |
| Mode | Global Config |
no port-channel linktrap
This command disables link trap notifications for the port-channel (LAG). The interface is a logical slot and port for a configured port-channel. The option all sets every configured port-channel with the same administrative mode setting.
| Format | no port-channel linktrap {unit/slot/port | all} |
| Mode | Global Config |
port-channel load-balance (M4250 series switch)
M4250
This command selects the load-balancing option used on a port-channel (LAG). Traffic is balanced on a port-channel (LAG) by selecting one of the links in the channel over which to transmit specific packets. The link is selected by creating a binary pattern from selected fields in a packet, and associating that pattern with a particular link.
Load-balancing is not supported on every device. The range of options for load-balancing may vary per device.
This command can be configured for a single interface, a range of interfaces, or all interfaces. Instead of slot/port, lag lag-intf-num can be used as an alternate way to specify the LAG interface, in which lag-intf-num is the LAG port number.
| Default | 3 |
| Format | port-channel load-balance {1 | 2 | 3 | 4 | 5 | 6} {slot/port | all | lag lag-int-num} |
| Mode |
Interface (LAG) Config Global Config |
| Term | Definition |
|---|---|
| 1 | Source MAC, VLAN, EtherType, and incoming port associated with the packet. |
| 2 | Destination MAC, VLAN, EtherType, and incoming port associated with the packet. |
| 3 | Source/Destination MAC, VLAN, EtherType, and incoming port associated with the packet. |
| 4 | Source IP and Source TCP/UDP fields of the packet. |
| 5 | Destination IP and Destination TCP/UDP Port fields of the packet. |
| 6 | Source/Destination IP and source/destination TCP/UDP Port fields of the packet. |
| slot/port | Global Config Mode only: The interface is a logical slot/port number of a configured port-channel. |
| all | Global Config Mode only: all applies the command to all currently configured port-channels. |
| lag-int-num | Global Config Mode only: The interface is a LAG interface number. |
no port-channel load-balance (M4250 series switch)
This command reverts to the default load balancing configuration.
| Format | no port-channel load-balance {slot/port | all | lag lag-int-num} |
| Mode |
Interface (LAG) Config Global Config |
| Term | Definition |
|---|---|
| slot/port | Global Config Mode only: The interface is a logical unit/slot/port number of a configured port-channel. |
| all | Global Config Mode only: all applies the command to all currently configured port-channels. |
| lag-int-num | Global Config Mode only: The interface is a LAG interface number. |
port-channel load-balance (M4350 series switch)
M4350
This command selects the load-balancing option used on a port-channel (LAG). Traffic is balanced on a port-channel (LAG) by selecting one of the links in the channel over which to transmit specific packets. The link is selected by creating a binary pattern from selected fields in a packet, and associating that pattern with a particular link.
Load-balancing is not supported on every device. The range of options for load-balancing may vary per device.
This command can be configured for a single interface, a range of interfaces, or all interfaces. Instead of unit/slot/port, lag lag-intf-num can be used as an alternate way to specify the LAG interface, in which lag-intf-num is the LAG port number.
| Default | 3 |
| Format | port-channel load-balance {1 | 2 | 3 | 4 | 5 | 6 | 7} {unit/slot/port | all | lag lag-int-num} |
| Mode |
Interface (LAG) Config Global Config |
| Term | Definition |
|---|---|
| 1 | Source MAC, VLAN, EtherType, and incoming port associated with the packet. |
| 2 | Destination MAC, VLAN, EtherType, and incoming port associated with the packet. |
| 3 | Source/Destination MAC, VLAN, EtherType, and incoming port associated with the packet. |
| 4 | Source IP and Source TCP/UDP fields of the packet. |
| 5 | Destination IP and Destination TCP/UDP Port fields of the packet. |
| 6 | Source/Destination IP and source/destination TCP/UDP Port fields of the packet. |
| 7 | Enhanced hashing mode. |
| unit/slot/port | Global Config Mode only: The interface is a logical unit/slot/port number of a configured port-channel. |
| all | Global Config Mode only: all applies the command to all currently configured port-channels. |
| lag-int-num | Global Config Mode only: The interface is a LAG interface number. |
no port-channel load-balance (M4350 series switch)
This command reverts to the default load balancing configuration.
| Format | no port-channel load-balance {unit/slot/port | all | lag lag-int-num} |
| Mode |
Interface (LAG) Config Global Config |
| Term | Definition |
|---|---|
| unit/slot/port | Global Config Mode only: The interface is a logical unit/slot/port number of a configured port-channel. |
| all | Global Config Mode only: all applies the command to all currently configured port-channels. |
| lag-int-num | Global Config Mode only: The interface is a LAG interface number. |
port-channel load-balance 0
M4250
M4350
This command selects the non-unicast global hash mode load-balancing option used on a port-channel (LAG). With this mode, you can select one, several, or all of the options from 1 to 4.
| Default | 2 and 3 |
| Format | port-channel load-balance 0 [1] [2] [3] [4] |
| Mode | Global Config |
| Term | Definition |
|---|---|
| 1 | Non-unicast global hash mode that is based on the source port. |
| 2 | Non-unicast global hash mode that is based on the source MAC address and IP address. |
| 3 | Non-unicast global hash mode that is based on the destination MAC address and IP address. |
| 4 | Non-unicast global enhanced hash mode. |
no port-channel load-balance 0
This command reverts to the default load balancing configuration.
| Format | no port-channel load-balance 0 |
| Mode | Global Config |
port-channel local-preference
M4350
This command enables the local-preference mode on a port-channel (LAG) interface or range of interfaces. By default, the local-preference mode for a port-channel is disabled. This command can be used only on port-channel interfaces.
| Default | Disabled |
| Format | port-channel local-preference |
| Mode | Interface (LAG) Config |
no port-channel local-preference
This command disables the local-preference mode on a port-channel.
| Format | no port-channel local-preference |
| Mode | Interface (LAG) Config |
port-channel min-links
M4250
M4350
This command configures the port-channel’s minimum links value for LAG interfaces. The number parameter can be in the range 1–8. The default is 1.
| Default | 1 |
| Format | port-channel min-links number |
| Mode | Interface (LAG) Config |
no port-channel min-links
This command resets the port-channel’s minimum links value for LAG interfaces to the default value of 1.
| Format | no port-channel local-preference |
| Mode | Interface (LAG) Config |
port-channel system priority
M4250
M4350
Use this command to configure port-channel system priority. The valid range of priority is 0-65535.
| Default | 0x8000 |
| Format | port-channel system priority priority |
| Mode | Global Config |
no port-channel system priority
Use this command to configure the default port-channel system priority value.
| Format | no port-channel system priority |
| Mode | Global Config |
show lacp actor
M4250
M4350
To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command description and format.
Use this command to display LACP actor attributes. Instead of unit/slot/port, lag lag-intf-num can be used as an alternate way to specify the LAG interface, in which lag-intf-num is the LAG port number.
| Format | show lacp actor {unit/slot/port | all} |
| Mode | Global Config |
The following output parameters are displayed.
| Parameter | Description |
|---|---|
| System Priority | The administrative value of the Key. |
| Actor Admin Key | The administrative value of the Key. |
| Port Priority | The priority value assigned to the Aggregation Port. |
| Admin State | The administrative values of the actor state as transmitted by the Actor in LACPDUs. |
show lacp partner
M4250
M4350
To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command description and format.
Use this command to display LACP partner attributes. Instead of unit/slot/port, lag lag-intf-num can be used as an alternate way to specify the LAG interface, in which lag-intf-num is the LAG port number.
| Format | show lacp actor {unit/slot/port | all} |
| Mode | Privileged EXEC |
The following output parameters are displayed.
| Parameter | Description |
|---|---|
| System Priority | The administrative value of priority associated with the Partner’s System ID. |
| System-ID | Represents the administrative value of the Aggregation Port’s protocol Partner’s System ID. |
| Admin Key | The administrative value of the Key for the protocol Partner. |
| Port Priority | The administrative value of the Key for protocol Partner. |
| Port-ID | The administrative value of the port number for the protocol Partner. |
| Admin State | The administrative values of the actor state for the protocol Partner. |
show port-channel brief
M4250
M4350
This command displays the static capability of all port-channel (LAG) interfaces on the device as well as a summary of individual port-channel interfaces.
| Format | show port-channel brief |
| Mode | User EXEC |
For each port-channel the following information is displayed.
| Term | Definition |
|---|---|
| Logical Interface | The details of the logical interface. |
| Port-channel Name | The name of port-channel (LAG) interface. |
| Link-State | Shows whether the link is up or down. |
| Trap Flag | Shows whether trap flags are enabled or disabled. |
| Type | Shows whether the port-channel is statically or dynamically maintained. |
| Mbr Ports | The members of this port-channel. |
| Active Ports | The ports that are actively participating in the port-channel. |
show port-channel
M4250
M4350
To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command description and format.
This command displays the details about a specific port channel (LAG) or an overview of all port-channels on the switch.
| Format | show port-channel {all | unit/slot/port | lag-intf-num} |
| Mode | Privileged EXEC |
| Term | Definition |
|---|---|
| Logical Interface | The logical interface number. |
| Channel Name | The name of the LAG. |
| Min | The minimum links value. |
| Link | Indicates if the link is up or down. |
| Admin Mode | May be enabled or disabled. The default is enabled. |
| Type |
The status designating if the LAG is statically or dynamically maintained.
|
| Load Balance | The load balance option associated with this LAG. See port-channel load-balance (M4350 series switch). |
| Mbr Ports | A list of the ports that are members of this LAG. A maximum of eight ports can be assigned to a LAG. |
| Device/Timeout | For each port, lists the time-out (long or short) for the device type (actor or partner). |
| Port Speed | Speed of the LAG port. |
| Port Active | This field lists ports that are actively participating in the LAG. |
Command example:
(NETGEAR Switch) #show port-channel all
Log. Channel Admin Load Mbr Device/ Port Port
Intf Name Min Link Mode Type Balance Ports Timeout Speed Active
------- --------------- ---- ------ ------ ---- -------- ------- ------------- --------- -------
lag 1 LAG1 1 Down En. Dyn. 3
lag 2 ch2 1 Down En. Dyn. 2
lag 3 ch3 1 Down En. Dyn. 2
lag 4 ch4 1 Down En. Dyn. 2
lag 5 ch5 1 Down En. Dyn. 2
lag 6 ch6 1 Down En. Dyn. 2
lag 7 ch7 1 Down En. Dyn. 2
lag 8 ch8 1 Down En. Dyn. 2
lag 9 ch9 1 Down En. Dyn. 2
lag 10 ch10 1 Down En. Dyn. 2
lag 11 ch11 1 Down En. Dyn. 2
lag 12 ch12 1 Down En. Dyn. 2
lag 13 ch13 1 Down En. Dyn. 2
lag 14 ch14 1 Down En. Dyn. 2
lag 15 ch15 1 Down En. Dyn. 2
lag 16 ch16 1 Down En. Dyn. 2
show port-channel global-load-balance
M4250
M4350
This command displays the global LAG non-unicast hash mode.
| Format | show port-channel global-load-balance |
| Mode | Privileged EXEC |
Command example:
(NETGEAR Switch)#show port-channel global-load-balance
Global Load Balance Option(s)................... 1(Source port) 2(Source MAC/IP)
3(Destination MAC/IP)
show port-channel system priority
M4250
M4350
Use this command to display the port-channel system priority.
| Format | show port-channel system priority |
| Mode | Privileged EXEC |
show port-channel counters
M4250
M4350
This command displays the port-channel counters for a specific port channel (LAG) or interface. To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
| Format | show port-channel {unit/slot/port | lag-intf-num} counters |
| Mode | Privileged EXEC |
| Term | Definition |
|---|---|
| Local Interface | The details about the interface. |
| Channel Name | The name of this port-channel (LAG). |
| Link State | Indicates whether the Link is up or down. |
| Admin Mode | May be enabled or disabled. The factory default is enabled. |
| Port Channel Flap Count | The number of times the port-channel was inactive. |
| Mbr Ports | The unit/port for the port member. |
| Mbr Flap Counters | The number of times a port member is inactive, either because the link is down, or the admin state is disabled. |
Command example:
(NETGEAR Switch) #show port-channel 3/1 counters
Local Interface................................ 3/1
Channel Name................................... ch1
Link State..................................... Down
Admin Mode..................................... Enabled
Port Channel Flap Count........................ 0
Mbr Mbr Flap
Ports Counters
------ ---------
0/1 0
0/2 0
0/3 1
0/4 0
0/5 0
0/6 0
0/7 0
0/8 0
clear port-channel counters
M4250
M4350
Use this command to clear and reset specified port-channel and member flap counters for a port channel or interface. To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
| Format | clear port-channel {lag-intf-num | unit/slot/port} counters |
| Mode | Privileged EXEC |
clear port-channel all counters
M4250
M4350
Use this command to clear and reset all port-channel and member flap counters for the specified interface.
| Format | clear port-channel all counters |
| Mode | Privileged EXEC |