Interface configuraton commands
Use these M4500 CLI commands to enter interface configuration mode and set port descriptions, flow control, MTU, port mode, FEC, auto-negotiation, and shutdown.
interface
This command is used to enter Interface configuration mode.
| Format | interface {<slot/port> | control-plane | loopback <0-63> | port-channel <1-64> | range <intf-range>| tunnel <0-7> | vlan <1-4093> | vxlan <1-1>} |
| Mode | Global Config |
| Parameter | Definition |
|---|---|
| <slot/port> | Enter into interface mode |
| control-plane | Enter into Control Plane Mode |
| loopback <0-63> | Configuration of Loopback Interface |
| port-channel <1-64> | Enter into interface port-channel mode. |
| Range <intf-range> | Enter into interface range mode.Specifies the interface(s) in slot/port format, use comma for a list and hyphen for ranges. |
| tunnel <0-7> | Configure IPv6 Tunnel. |
| vlan <1-4093> | Enter into interface VLAN mode. |
| vxlan <1-1> | Enter into VxLAN Mode. |
description
This command is used to create an alpha-numeric description of the port.
| Default | None |
| Format | description <description> |
| Mode | Interface Config |
| Parameter | Definition |
|---|---|
| <description> | an alpha-numeric description |
no description
This command removes the description of the interface.
| Format | no description |
| Mode | Interface Config |
flowcontrol
This command enables 802.3x flow control for the interface(s).
| Default | Disabled |
| Format | flowcontrol {asymmetric | symmetric} |
| Mode |
Global Config Interface Config |
| Parameter | Definition |
|---|---|
| asymmetric | Indicates to enable an asymmetric flow control |
| symmetric | Indicates to enable a symmetric flow control |
no flowcontrol
This command removes the flow control feature from the interface(s).
| Format | no flowcontrol |
| Mode | Global Config, Interface Config |
mtu
Use the mtu command to set the maximum transmission unit (MTU) size, in bytes, for frames that ingress or egress the interface. You can use the mtu command to configure jumbo frame support for physical and port-channel (LAG) interfaces. For the standard ICOS implementation, the MTU size is a valid integer between 1522 and 9412 for tagged packets and a valid integer between 1518 and 9412 for untagged packets.
| Default | 1518 |
| Format | mtu <1518-9412> |
| Mode | Interface Config |
no mtu
This command sets the default MTU size (in bytes) for the interface.
| Format | no mtu |
| Mode | Interface Config |
port-mode
Use this command to configure a 100G QSFP28 port in either 1x100G, 1x40G, 2x50G, 4x25G, or 4x10G mode or four 25G SFP28 ports in either 4x25G, 4x10G, or 4x1G mode.
| Default |
100G for 100G ports 10G for 25G ports |
| Format | port-mode {1x100G | 1x40G | 2x50G | 4x25G | 4x10G | 4x1G} |
| Mode | Interface Config |
| Parameter | Definition |
|---|---|
| 1x100G | Configure the port as a single 100G port using four lanes. |
| 1x40G | Configure the port as a single 40G port using four lanes. |
| 2x50G | Configure the port as two 50G ports, each on two lanes. |
| 4x25G | Configure the port as four 25G ports, each on a separate lane. This mode requires the use of a suitable 4x25G to 1x100G pigtail cable. |
| 4x10G | Configure the port as a four 10G ports, each on a separate lane. This mode requires the use of a suitable 4x10G to 1x40G pigtail cable. |
| 4x1G | Configure the port as a four 1G ports, each on a separate lane. |
no port-mode
This command resets to the default value. The default value is 100G for 100G ports and 10G for 25G ports.
| Format | no port-mode |
| Mode | Interface Config |
shutdown
This command is used to disable a port.
The no command is used to enables a port.
| Default | Enable |
| Format | [no] shutdown |
| Mode | Interface Config |
| Parameter | Definition |
|---|---|
| no. | Reset to default. |
shutdown all
This command is used to disable all ports.
| Format | [no] shutdown all |
| Mode | Global Config |
| Parameter | Definition |
|---|---|
| no. | Reset to default. |
fec
Enable forward error correction on the interface.
1. Different type of FEC should be applied on different speed. FEC CL74 is applied on 25G/50G interface, FEC CL91 is applied on 100G/50G interface, and FEC CL108 is applied on 25G interface.
2. FEC enable/disable is applied to the first interface of each group, which works in the same way as the command port-mode. For example, you can issue the fec CL108 command on ethernet port 0/1 but not on ethernet port 0/2, 0/3, or 0/4; all the four ports from 0/1 to 0/4 are configured to CL108. For the 50G ports, such as 0/161 and 0/162 on M4500-32C model, you can issue the fec CL91 command on ethernet port 0/161 but not on ethernet port 0/162; both ports, 0/161 and 0/162, are configured to CL91.
| Default | Enable |
| Format | fec {CL74 | CL91 | CL108} |
| Mode | Interface Config |
| Parameter | Definition |
|---|---|
| CL74 | Enable CL74/Base-R FEC . |
| CL91 | Enable CL91/RS FEC . |
| CL108 | Enable Enable RS108 FEC . |
negotiate
Use this command to enable auto-negotiation on a specific port. Auto-negotiation is supported on 100G/40G/25G ports with DAC cables. AOC cables and 50G/10G/1G ports do not support auto-negotiation.
- Auto-negotiation is applied to the first interface of each group, which works in the same way as the port-mode and fec commands. For example, you can issue the negotiate command on Ethernet port 0/1 but not on Ethernet port 0/2, 0/3, or 0/4. However, if you issue the negotiate command on Ethernet port 0/1, all four ports from 0/1 to 0/4 are configured for auto-negotiation.
- If you enable auto-negotiation on SFP28 ports, the advertisement of FEC is CL108. On QSFP28 ports, it is CL91.
| Default | Enabled |
| Format |
|
| Mode | Interface Config |