RESTAPI Manual
Interfaces and Ports
Ethernet Port
5 min
urls summary urls summary url get post patch put delete /rest/v1/running/interfaces/{name}/ethernet config y n y n n examples examples modify the configuration of ethernet1 modify the configuration of ethernet1 patch https //{switch ip}/rest/v1/running/interfaces/ethernet1/ethernet config { "port speed" "speed 25g", "auto negotiate" "false" } properties descriptions properties descriptions ethernet configuration ethernet configuration 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 name required type/range description interfaces m path only node, has no configurable value interface parameters name m ethernet name (sub property of interfaces) the name of the interface ethernet config m (sub property of interfaces) path only node, has no configurable value auto negotiate o "true" "false" (sub property of ethernet config) set interface speed auto negotiation default value "false" port speed o "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 fec o "rs" "fc" "none" (sub property of ethernet config) set interface fec default value "rs" startup delay o 1 65535 (sub property of ethernet config) set interface startup delay in seconds default value 150 advertised speeds o "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} lanes ro 0 65535 (sub property of ethernet config) lanes of ethernet eg lanes of ethernet1 is 1 index ro 0 65535 (sub property of ethernet config) index of ethernet, eg index of ethernet1 is 1 alias ro string (sub property of ethernet config) alias of ethernet eg alias of ethernet1 is y2 mac limit o 1 131072 (sub property of ethernet config) set interface dynamic mac quantity limit
