Questo contenuto non è disponibile nella lingua selezionata.

2.279. openstack router set


usage: openstack router set [-h] [--name <name>] [--enable | --disable]
                            [--distributed | --centralized]
                            [--route destination=<subnet>,gateway=<ip-address> | --no-route]
                            <router>
Copy to Clipboard Toggle word wrap
Set router properties

Positional arguments

<router>


        Router to modify (name or ID)

Optional arguments

-h, --help


        show this help message and exit

--name <name>


        Set router name

--enable


        Enable router

--disable


        Disable router

--distributed


        Set router to distributed mode (disabled router only)

--centralized


        Set router to centralized mode (disabled router only)

--route


        destination=<subnet>,gateway=<ip-address>
      Routes associated with the router destination:
      destination subnet (in CIDR notation) gateway: nexthop
      IP address (repeat option to set multiple routes)

--no-route


        Clear routes associated with the router

Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat