Summary of switch Ethernet port configuration CLI commands

Last Updated : May 02, 2023 |

For more information about these commands, see Avaya Branch Gateway G450 CLI Reference.

Command

Description

set port auto-negotiation- flowcontrol-advertisement

Set the flow control advertisement for the specified Gigabit Ethernet ports when performing auto-negotiation

set port duplex

Configure the duplex type (full or half-duplex) of an Ethernet or Fast Ethernet port or range of ports

You can configure Ethernet and FastEthernet interfaces to either full-duplex or half-duplex. The duplex status of a port in auto-negotiation mode is determined by auto-negotiation. When auto-negotiation is enabled, an error message is generated if you attempt to set the transmission type of auto-negotiation Fast Ethernet ports to half-duplex or full-duplex mode.

set port enable | disable

Enable or disable a port or a range of ports

set port flowcontrol

Set the send/receive mode for flow control frames (IEEE 802.3x or proprietary) for a full-duplex port

set port level

Set the default packet priority level for untagged packets

set port name

Configure a name for a port

set port negotiation

Enable or disable auto-negotiation on the port

set port speed

Set the speed of a port or range of ports

show port auto-negotiation- flowcontrol-advertisement

Display the flow control advertisement for a Gigabit port used to perform auto-negotiation

show port edge state

Display the edge state of a port

show port flowcontrol

Display port flow control information

set port duplex

Configure the duplex type (full or half-duplex) of an Ethernet or Fast Ethernet port or range of ports

set port edge admin state

Determine whether the port is an edge port, for the purposes of RSTP (Rapid Spanning Tree Protocol)

Edge port is a treatment assigned to ports for the purposes of RSTP (Rapid Spanning Tree Protocol). For more information about using this command and RSTP configuration in general, see Rapid Spanning Tree Protocol (RSTP).

set port enable | disable

Enable or disable a port or a range of ports

set port flowcontrol

Set the send/receive mode for flow control frames (IEEE 802.3x or proprietary) for a full-duplex port

Each direction (send or receive) can be configured separately. Use the show port flowcontrol command to display port flow control information.

set port level

Set the default packet priority level for untagged packets

Packets traveling through a port set at normal priority must be served only after packets traveling through a port set at high priority are served.

set port name

Configure a name for a port

set port negotiation

Enable or disable auto-negotiation on the port

When negotiation is enabled, the speed and duplex of a Fast Ethernet port is determined by auto-negotiation. If negotiation is disabled, the user can set the speed and duplex of a Fast Ethernet port.

set port point-to-point admin status

Set the connection type of the port to one of the following arguments:

  • force-true. The port is treated as if it were connected point-to-point

  • force-false. The port is treated as if it were connected to shared media

  • auto. The Branch Gateway tries to automatically detect the connection type of the port

set port speed

Set the speed of a port or range of ports

An error message is generated if you attempt to set the speed when auto-negotiation is enabled.

show port edge state

Display the edge state of a port

show port flowcontrol

Display port flow control information