Skip to content
Ask AI

Ethernet Port

URLGETPOSTPATCHPUTDELETE
/rest/v1/running/interfaces/{name}/ethernet-configYNYNN
PATCH HTTPS://{switch IP}/rest/v1/running/interfaces/Ethernet1/ethernet-config
{
"port-speed": "SPEED_25G",
"auto-negotiate": "false"
}

Tree Diagrams

+--rw interfaces
+--rw interface* [name]
+--rw name
+--rw ethernet-config
+--rw auto-negotiate?
+--rw port-speed?
+--rw fec?
+--rw startup-delay?
+--rw advertised-speeds*
+--ro lanes*
+--ro index?
+--ro alias?
+--rw mac-limit?

Table of Properties

NameRequiredType/RangeDescription
interfacesMPath-only node, has no configurable value.
Interface parameters.
nameMEthernet name(sub-property of interfaces)
The name of the interface.
ethernet-configM(sub-property of interfaces)
Path-only node, has no configurable value.
auto-negotiateO”true"
"false”(sub-property of ethernet-config)
Set interface speed auto negotiation.
Default value: “false”
port-speedO”SPEED_1G"
"SPEED_10G"
"SPEED_25G"
"SPEED_40G"
"SPEED_50G"
"SPEED_100G"
"SPEED_200G"
"SPEED_400G"
"SPEED_800G”(sub-property of ethernet-config)
When auto-negotiate is TRUE, this optionally sets the port-speed mode that will be advertised to the peer for negotiation.
If unspecified, it is expected that the interface will select the highest speed available based on negotiation.
When auto-negotiate is set to FALSE, sets the link speed to a fixed value.
fecO”rs"
"fc"
"none”(sub-property of ethernet-config)
Set interface fec.
Default value: “rs”
startup-delayO1..65535(sub-property of ethernet-config)
Set interface startup delay in seconds.
Default value: 150
advertised-speedsO”all"
"SPEED_1G"
"SPEED_10G"
"SPEED_25G"
"SPEED_40G"
"SPEED_50G"
"SPEED_100G"
"SPEED_200G"
"SPEED_400G"
"SPEED_800G”(sub-property of ethernet-config)
Set interface advertised speed list, value can be choosed from “all” or advertised-speed list{10000,25000,40000,100000}
lanesRO0..65535(sub-property of ethernet-config)
lanes of Ethernet.eg: lanes of Ethernet1 is 1
indexRO0..65535(sub-property of ethernet-config)
index of Ethernet, eg: index of Ethernet1 is 1
aliasROstring(sub-property of ethernet-config)
alias of Ethernet.
eg: alias of Ethernet1 is Y2
mac-limitO1..131072(sub-property of ethernet-config)
Set interface dynamic MAC quantity limit.