---
title: Ethernet Interface Configuration
slug: enterprise-v6p1/ethernet-interface-configuration
createdAt: 2025-12-05T06:44:51.954Z
---

## <font color="#1d50a2">Ethernet Interface Configuration</font>

### <font color="#1d50a2">Introduction</font>

Ethernet interfaces are commonly used for carrying out business-related tasks and data transmission. They are often referred to as ports.

### <font color="#1d50a2">Numbering Scheme</font>

The numbering scheme for Ethernet interfaces in this product series is as follows: EthernetX. Here, X represents the interface number, starting from 1 and increasing incrementally. It's important to note that the naming conventions for interfaces may vary based on the series. For instance, in enterprise-level products with 100G interfaces, the naming interval for 100G interfaces is 4. Taking the example of CX206P-48S-M-H, the interface with the number 49 is the first 100G interface, and its name is Ethernet49. The second 100G interface is named Ethernet53, and so on.

### <font color="#1d50a2">Default Configuration of Interfaces</font>

| **Parameter**                                            | **Default value**           |
| -------------------------------------------------------- | --------------------------- |
| Interface management  status                             | UP                          |
| Interface FEC (Forward  Error Correction)                | Disabled                    |
| Interface description                                    | N/A                         |
| Interface MTU (Maximum  Transmission Unit)               | 9216  bytes                 |
| Interface LLDP (Link  Layer Discovery Protocol) function | Disabled                    |
| Interface MAC address                                    | Same  as device MAC address |

### <font color="#1d50a2">Basic Configuration of Interfaces</font>

The product series supports interface speeds of 1G, 10G, 25G, and 100G. For example, the CX204Y-48GT, CX204Y-24GT, and CX206Y-48GT series default to interface speeds of 1G and 25G. The CX204Y-48S series defaults to 10G and 25G speeds. The CX206P-48GT series defaults to 10G and 100G speeds.

| **Operation**                         | **Command**                      | **Description**                                                                                                                                                                                      |
| ------------------------------------- | -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Enter  the system configuration view  | **configure**                    |                                                                                                                                                                                                      |
| Enter  the interface view             | **interface  Ethernet**  *ID*    |                                                                                                                                                                                                      |
| Set  interface description            | **description** *String*         |                                                                                                                                                                                                      |
| Set  interface speed                  | **speed  \{1000\|10000\|25000}** | Different types of interfaces support different  configuration parameters. Please execute the **speed ?** command in the  relevant interface view to view specific options.                          |
| Modify  interface FEC mode            | **no  shutdown**                 | By default, the FEC mode is disabled. The FEC mode  must be consistent at both ends of the link for the interface to come up. Use  the **no fec** command to disable the FEC mode for the interface. |
| Enable  interface POE supply function | **fec  \{rs\|fc}**               | By default, the POE supply function for the  interface is disabled. Use the **no poe enable** command to disable the  POE supply for the interface                                                   |

:::hint{type="warning"}
**NOTE:**
In the CX206P-48GT series, the 10G interfaces do not support configuration at 25G speed.
:::

### <font color="#1d50a2">Configuring Layer 2/3 Mode Switching for Ethernet Interfaces</font>

By default, the switch's interfaces do not belong to any VLAN and have no IP address configured. When an interface is configured with an IP address, VRF, or other Layer 3 attributes, it automatically switches to Layer 3 mode. If you need to change the Layer 2/3 mode of an interface, you should first remove the Layer 3 attribute configurations from the interface. Afterward, execute the **no router-interface** command.

| **Operation**                                    | **Command**                   | **Description** |
| ------------------------------------------------ | ----------------------------- | --------------- |
| Enter  the system configuration view             | **configure**                 |                 |
| Enter  the interface view                        | **interface  Ethernet**  *ID* |                 |
| Switch  the interface operation mode to layer 2. | **no  router-interface**      |                 |

### <font color="#1d50a2">Configuring Interface Splitting</font>

Interface splitting refers to dividing a 100G bandwidth physical interface on the device into multiple independent lower bandwidth interfaces to meet the requirements of connecting to lower bandwidth interfaces.

The device supports splitting a 100G interface into four 1G/10G/25G interfaces. After splitting, each interface is assigned an independent identifier. For example, when a 100Ge interface like Ethernet17 is split into four 10Ge interfaces, the resulting interfaces are numbered Ethernet17 to Ethernet20.

| **Operation**                        | **Command**                         | **Description** |
| ------------------------------------ | ----------------------------------- | --------------- |
| Enter  the system configuration view | **configure**                       |                 |
| Enter  the interface view            | **interface  ethernet**  *ID*       |                 |
| Split  the interface                 | **breakout  \{4x25G\|4x10G\|4x1G}** |                 |
| Unsplit  the interface               | **no  breakout**                    |                 |

### <font color="#1d50a2">Maintenance Interface</font>

| **Operation**                          | **Command**                                                     | **Description** |
| -------------------------------------- | --------------------------------------------------------------- | --------------- |
| View  interface description            | **show  interface description**                                 |                 |
| View  interface POE supply information | **show  interface poe \[detail]**                               |                 |
| View  interface status                 | **show  interface status**                                      |                 |
| View  interface module information     | **show  interface transceiver eeprom dom** \[**ethernet** *ID*] |                 |
| View  interface statistics:            | **show  counters interface** \[**ethernet** *ID*]               |                 |
| Clear  interface statistics            | **clear  counters interface**                                   |                 |

## <font color="#1d50a2">Interface Bulk Configuration</font>

### <font color="#1d50a2">Introduction</font>

When configuring a specific function (e.g., port shutdown) across multiple interfaces, individually entering each interface's view and executing commands can become cumbersome. To simplify this process, the interface bulk configuration feature can be utilized to configure interfaces in batches, thereby reducing the configuration workload.

There is no upper limit to the number of interfaces that can be included in a bulk configuration, only constrained by system resources. However, if a significant number of interfaces are involved, executing commands within the bulk interface configuration view might take longer. When performing bulk interface configuration, if the interfaces listed already possess existing configurations, attempting to enter the bulk configuration view will result in failure. In such cases, the interface list needs to be reselected.

Once inside the bulk interface configuration view, you can utilize the "?" command to explore the supported command lines for bulk configuration.

### <font color="#1d50a2">Interface Bulk Configuration</font>

| **Operation**                                 | **Command**                      | **Description**                                                                           |
| --------------------------------------------- | -------------------------------- | ----------------------------------------------------------------------------------------- |
| Enter  the system configuration view          | **configure**                    |                                                                                           |
| Enter  the interface group configuration view | **port-group  ethernet** *ID-ID* | This command only supports interfaces with  consecutive ID numbers for bulk configuration |

## <font color="#1d50a2">Loopback Interface Configuration</font>

### <font color="#1d50a2">Introduction</font>

The Loopback interface is a type of virtual interface. Once created, the physical layer of the Loopback interface remains in an "up" state unless manually disabled. Due to this characteristic, the Loopback interface can be applied in the following scenarios:

**Source Address for Device-generated IP Packets:** Because the Loopback interface address is stable and a unicast address, it is often regarded as an identifier for the device. By allowing or prohibiting packets carrying the Loopback interface address to pass through authentication or security servers, it is possible to permit or restrict packets generated by specific devices. This simplifies packet filtering rules. However, it should be noted that when using the Loopback interface address as the source address for IP packets, routing configurations are needed to ensure the reachability of the Loopback interface to the destination route.

**Dynamic Routing Protocols:** In certain dynamic routing protocols, when a router ID is not configured, the Loopback interface's IP address is used as the router ID by default. In the context of the BGP protocol, to ensure that BGP sessions are not affected by physical interface failures, the source interface for transmitting BGP packets can be configured as the Loopback interface.

**In-band Device Management:** The loopback interface can be utilized for device management within the network infrastructure.

### <font color="#1d50a2">Loopback Interface Configuration</font>

| **Operation**                                    | **Command**                  | **Description**                                                                      |
| ------------------------------------------------ | ---------------------------- | ------------------------------------------------------------------------------------ |
| Enter  the system configuration view             | **configure**                |                                                                                      |
| Enter  the loopback interface configuration view | **interface  loopback** *ID* |                                                                                      |
| Configure  the loopback interface                | **ip address**  *ip-address* | The IP address of the Loopback interface can only  be modified and cannot be deleted |

****

