12.35. ironic port-create


usage: ironic port-create -a <address> -n <node> [-l <key=value>]
                          [--pxe-enabled <boolean>] [-e <key=value>]
                          [-u <uuid>]
Copy to Clipboard Toggle word wrap
Create a new port.

Optional arguments

-a <address>, --address <address>


      MAC address for this port.

-n <node>, --node <node>, --node_uuid <node>


      UUID of the node that this port belongs to.

-l <key=value>, --local-link-connection <key=value>


      Key/value metadata describing Local link connection
      information. Valid keys are switch_info, switch_id,
      port_id.Can be specified multiple times.

--pxe-enabled <boolean>


      Indicates whether this Port should be used when PXE
      booting this Node.

-e <key=value>, --extra <key=value>


      Record arbitrary key/value metadata. Can be specified
      multiple times.

-u <uuid>, --uuid <uuid>


      UUID of the port.

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat