ByCloud Docs
GuidesCLIAPISDK

Get port

bycloud networking ports get --port_id <port_id> [flags]

Get details of a specific port

Options

--port_id

stringrequired

Port ID

--output

(-o)

stringoptional

Output format: text, json, or yaml

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

Default: "text"

Command

bycloud networking ports get \
--port_id "abc-123"

Output

ID 550e8400-e29b-41d4-a716-446655440000
CRN crn:spo1:network:port:550e8400-e29b-41d4-a716-446655440000
NAME web-server-port
DESCRIPTION string
NETWORK_ID 550e8400-e29b-41d4-a716-446655440001
STATUS ACTIVE
ADMIN_STATE_UP true
MAC_ADDRESS fa:16:3e:4f:5a:2b
FIXED_IPS
[0]
SUBNET_ID 550e8400-e29b-41d4-a716-446655440000
IP_ADDRESS 192.168.1.10
[1]
SUBNET_ID 550e8400-e29b-41d4-a716-446655440000
IP_ADDRESS 192.168.1.10
DEVICE_ID string
DEVICE_OWNER compute:nova
SECURITY_GROUPS 550e8400-e29b-41d4-a716-446655440000, 550e8400-e29b-41d4-a716-446655440000
PORT_SECURITY_ENABLED true
ALLOWED_ADDRESS_PAIRS
[0]
IP_ADDRESS 192.168.1.100
MAC_ADDRESS fa:16:3e:4f:5a:2b
[1]
IP_ADDRESS 192.168.1.100
MAC_ADDRESS fa:16:3e:4f:5a:2b
DNS_NAME string
DNS_ASSIGNMENT
[0]
HOSTNAME string
IP_ADDRESS string
FQDN string
[1]
HOSTNAME string
IP_ADDRESS string
FQDN string
TAGS web, frontend
PROJECT_ID 550e8400-e29b-41d4-a716-446655440000
CREATED_AT 2024-01-15T10:30:00Z
UPDATED_AT 2024-01-15T10:30:00Z