2.211. openstack network set


usage: openstack network set [-h] [--name <name>] [--enable | --disable]
                             [--share | --no-share]
                             [--enable-port-security | --disable-port-security]
                             [--external | --internal]
                             [--default | --no-default]
                             [--provider-network-type <provider-network-type>]
                             [--provider-physical-network <provider-physical-network>]
                             [--provider-segment <provider-segment>]
                             [--transparent-vlan | --no-transparent-vlan]
                             <network>
Copy to Clipboard Toggle word wrap
Set network properties

Positional arguments

<network>


        Network to modify (name or ID)

Optional arguments

-h, --help


        show this help message and exit

--name <name>


        Set network name

--enable


        Enable network

--disable


        Disable network

--share


        Share the network between projects

--no-share


        Do not share the network between projects

--enable-port-security


      Enable port security by default for ports created on
      this network

--disable-port-security


      Disable port security by default for ports created on
      this network

--external


        Set this network as an external network (external-net
      extension required)

--internal


        Set this network as an internal network

--default


        Set the network as the default external network

--no-default


        Do not use the network as the default external network

--provider-network-type <provider-network-type>


      The physical mechanism by which the virtual network is
      implemented. The supported options are: flat, geneve,
      gre, local, vlan, vxlan.

--provider-physical-network <provider-physical-network>


      Name of the physical network over which the virtual
      network is implemented

--provider-segment <provider-segment>


      VLAN ID for VLAN networks or Tunnel ID for
      GENEVE/GRE/VXLAN networks

--transparent-vlan


        Make the network VLAN transparent

--no-transparent-vlan


      Do not make the network VLAN transparent

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

© 2025 Red Hat