Questo contenuto non è disponibile nella lingua selezionata.

9.5. Ethernet Bridge Configuration Using iproute


The iproute package can be used as an alternative to the bridge-utils. It allows to set bridge port options such as priority, cost or state.
To set port options for an interface enp1s0 assigned to a bridge device, using the ip utility, issue the following command as root:
~]# ip link set enp1s0 type bridge_slave optionip link set enp1s0 type bridge_slave optionip link set enp1s0 type bridge_slave optionip link set enp1s0 type bridge_slave option
Copy to Clipboard Toggle word wrap
To select the available options, using the ip utility, issue the following command as root:
~]# ip link help bridge_slave
      Usage: ... bridge_slave [ state STATE ] [ priority PRIO ] [cost COST ]
                          [ guard {on | off} ]
                          [ hairpin {on | off} ]
                          [ fastleave {on | off} ]
                          [ root_block {on | off} ]
                          [ learning {on | off} ]
                          [ flood {on | off} ]
Copy to Clipboard Toggle word wrap
For more details on the port options, see the ip-link(8) man page.
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