diff options
| author | Robert Göhler <github@ghlr.de> | 2020-12-20 16:33:55 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-20 16:33:55 +0100 | 
| commit | d26b6a952be035a261a505cec3f45f148fc0a877 (patch) | |
| tree | e33b960371896d71747473db680848f857adc25c /docs/configuration/interfaces/bridge.rst | |
| parent | c06ec85619a4c98342ab8791d73fd6ab5a9239db (diff) | |
| parent | 84ea67db630846210df983f4ab4cb966a550790a (diff) | |
| download | vyos-documentation-d26b6a952be035a261a505cec3f45f148fc0a877.tar.gz vyos-documentation-d26b6a952be035a261a505cec3f45f148fc0a877.zip | |
Merge pull request #399 from jack9603301/master
Examples of adding VLAN awareness and port mirroring
Diffstat (limited to 'docs/configuration/interfaces/bridge.rst')
| -rw-r--r-- | docs/configuration/interfaces/bridge.rst | 22 | 
1 files changed, 21 insertions, 1 deletions
| diff --git a/docs/configuration/interfaces/bridge.rst b/docs/configuration/interfaces/bridge.rst index a471b8f8..17e3d50b 100644 --- a/docs/configuration/interfaces/bridge.rst +++ b/docs/configuration/interfaces/bridge.rst @@ -127,6 +127,12 @@ VLAN     VLAN tag enters the port, the data packet will be forced to add a tag of a     specific vlan id. When the vlan id flag flows out, the tag of the vlan id     will be stripped +    +   Example: Set `eth0` member port to be native VLAN 2 +    +   .. code-block:: none + +     set interfaces bridge br1 member interface eth0 native-vlan 2  .. cfgcmd:: set interfaces bridge <interface> member interface <member>     allowed-vlan <vlan-id> @@ -134,11 +140,25 @@ VLAN     Allows specific VLAN IDs to pass through the bridge member interface. This     can either be an individual VLAN id or a range of VLAN ids delimited by a     hyphen. +    +   Example: Set `eth0` member port to be allowed VLAN 4 +    +   .. code-block:: none +    +     set interfaces bridge br1 member interface eth0 allowed-vlan 4 +   +   Example: Set `eth0` member port to be allowed VLAN 6-8 +    +   .. code-block:: none +    +     set interfaces bridge br1 member interface eth0 allowed-vlan 6-8  Port Mirror (SPAN)  ==================  .. cmdinclude:: ../../_include/interface-mirror.txt -   :var0: ethernet +   :var0: bridge +   :var1: br1 +   :var2: eth3  *******  Example | 
