---
title: Port
slug: enterprise-v6p1/port
createdAt: 2025-12-18T08:20:56.449Z
---

# <font color="#1d50a2">AsterNOS Port</font>

This chapter provides examples of how to configure and manage Physical using NETCONF.

There are some attributes that only can be configured with Physical port, such as speed, auto-negotiation.

## <font color="#1d50a2">Configuring Physical Port Speed</font>

:::hint{type="warning"}
**NOTE:**
Physical port can't be created, replaced or deleted, if you want to change attributes of a physical port, use **operation="merge"**.

For All AsterNOS Campus devices, the auto-negotiation is enabled by default for all following speed modes:

- 100M
- 1G
- 2.5G
- 10G

To change speed for these modes, the auto-negotiation must be disabled first.

For 25G, 40G, 50G and 100G speed modes, the auto-negotiation is disabled by default.
:::

The following example shows how to configure the speed of a physical port to 10G and disable auto-negotiation.

Request example to set speed to 10G and disable auto-negotiation via **edit-config**

```xml
<config>
  <top>
    <interfaces>
    <interface>
      <name>Ethernet1</name>
      <ethernet-config operation="merge">
      <auto-negotiate>false</auto-negotiate>
      <speed>1G</speed>
      </ethernet-config>
    </interface>
    </interfaces>
  </top>
</config>
```

Response example

```xml
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:b29cf034-f496-4170-a7f6-94ebb910ec22">
  <ok/>
</rpc-reply>
```

## <font color="#1d50a2">Configure Physical Port FEC mode for 100G port</font>

Request example to disable FEC mode via **edit-config**

```xml
<config><top><interfaces>
  <interface>
    <name>Ethernet49</name>
    <ethernet-config operation="merge">
      <fec>none</fec>
    </ethernet-config>
  </interface>
</interfaces></top></config>
```

Response example

```xml
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:7dab4208-65f3-469c-bb92-9381e9582842">
  <ok/>
</rpc-reply>
```

## <font color="#1d50a2">Configure Port Bandwidth Alerting</font>

The following example shows how to configure bandwidth alerting on a physical port.

Request example to set bandwidth alerting via **edit-config**

```xml
<config><top><interfaces>
  <interface>
    <name>Ethernet2</name>
      <bandwidth-util-warn operation="create">
        <rx-alert-threshold>90</rx-alert-threshold>
        <rx-resume-threshold>70</rx-resume-threshold>
        <tx-alert-threshold>90</tx-alert-threshold>
        <tx-resume-threshold>70</tx-resume-threshold>
      </bandwidth-util-warn>
  </interface>
</interfaces></top></config>
```

Response example

```xml
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:368fbafd-2cad-49fd-a965-98611a2944ce">
  <ok/>
</rpc-reply>
```

## <font color="#1d50a2">Configure Port Global Link Delay</font>

User can configure a global link delay time for physical ports.

Request example to set global link delay time via **edit-config**

```xml
<config>
  <top>
    <ports-global operation="create">
      <link-delay>100</link-delay>
    </ports-global>
  </top>
</config>
```

Response example

```xml
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:c6cfb409-5037-4efa-bd52-036ec5aed0e5">
  <ok/>
</rpc-reply>
```

