configuration /
network
CLI REST-API
ports
The submenu ports (Physical Network Configuration) contains the following:
Menus:
lan0 (lan0)
Objects: none
Commands:
add-port (add the definition of a physical network port to the configuration)
delete-port (removes a network port definition from the system's)
See also:
/configuration/network/ports/lan[ID]
/configuration/network/ports/add-port: add the definition of a physical network port to the configuration
/configuration/network/ports/delete-port: removes a network port definition from the system's
/status/network/ports: Physical Network Status
REST-API Support:
This menu is supported by the REST API:
Method: GET
URL: /api/configuration/network/ports
Example using curl:
curl /api/configuration/network/ports
Method: PATCH
URL: /api/configuration/network/ports
Body:
{
\"objects\": \"new-values\"
}
Example using curl:
curl -X PATCH /api/configuration/network/ports
-d "{
\"objects\": \"new-values\"
}"
Method: POST
URL: /api/configuration/network/ports
Body:
{
\"objects\": \"new-values\"
}
Example using curl:
curl -X POST /api/configuration/network/ports
-d "{
\"objects\": \"new-values\"
}"