Ports CLI reference¶
See https://docs.openstack.org/ocata/cli-reference/neutron.html.
These commands allow you to manage ports in your cloud environment, including creating, listing, showing details of, updating, and deleting ports. The <port_id_or_name>
, <network_id_or_name>
, and <security_group_id_or_name>
in the commands are placeholders that should be replaced with the actual IDs or names of the ports, networks, and security groups.
List ports¶
Show port details¶
Create a port¶
- Additional options can be specified, such as
--fixed-ip ip-address=<ip_address>
to assign a specific IP address.
Update a port¶
- Other options can be used to update security groups, device owner, or other port attributes.
Delete a port¶
Add a security group to a port¶
Remove a security group from a port¶
Bind a port to a host¶
- This is used to bind the port to a specific host, typically in advanced networking scenarios.