ByCloud Docs
GuidesCLIAPISDK

List ports

bycloud networking ports list [flags]

List all ports in the current project

Options

--device_id

stringoptional

Filter by device ID (instance, router, etc.)

--device_owner

stringoptional

Filter by device owner

--limit

integeroptional

Maximum number of items to return

Default: 20

--mac_address

stringoptional

Filter by MAC address

--marker

stringoptional

ID of the last item from the previous page (for pagination)

--name

stringoptional

Filter by name (exact match or prefix with *)

--network_id

stringoptional

Filter by network ID

--output

(-o)

stringoptional

Output format: text, json, or yaml

Values: "text", "json", "yaml"

Default: "text"

--status

stringoptional

Filter by status

--tags

stringoptional

Filter by tags (comma-separated)

Command

bycloud networking ports list

Output

ID CRN NAME DESCRIPTION NETWORK_ID
550e8400-e29b-41d4-a716-446655 crn:spo1:network:port:550e8400 web-server-port string 550e8400-e29b-41d4-a716-446655
550e8400-e29b-41d4-a716-446655 crn:spo1:network:port:550e8400 web-server-port string 550e8400-e29b-41d4-a716-446655