summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2026-06-23 13:39:53 +0300
committerGitHub <noreply@github.com>2026-06-23 13:39:53 +0300
commitc33548ed187c874ff79ff829a89640c805c6f02c (patch)
tree3173899d39c4585b1bca40236c2ab3e6c8847a7a
parent228149f1a1d824b968b565f82c3ee73eb7ba489c (diff)
parent8077b3cd06b8ee4597041998ef94abe709075655 (diff)
downloadvyos-documentation-c33548ed187c874ff79ff829a89640c805c6f02c.tar.gz
vyos-documentation-c33548ed187c874ff79ff829a89640c805c6f02c.zip
Merge pull request #1865 from alexandr-san4ez/T8540-current
pseudo-ethernet: T8540: Add anycast-gateway support for EVPN
-rw-r--r--docs/configuration/interfaces/pseudo-ethernet.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/configuration/interfaces/pseudo-ethernet.md b/docs/configuration/interfaces/pseudo-ethernet.md
index fc8833eb..4ac198bf 100644
--- a/docs/configuration/interfaces/pseudo-ethernet.md
+++ b/docs/configuration/interfaces/pseudo-ethernet.md
@@ -44,6 +44,38 @@ Pseudo-Ethernet interfaces may not work in environments that require a
Assign a physical Ethernet interface to the specified pseudo-Ethernet interface.
```
+```{eval-rst}
+.. cfgcmd:: set interfaces pseudo-ethernet <interface> anycast-gateway
+
+ **Enable EVPN anycast gateway mode on the specified pseudo-Ethernet interface.**
+
+ In this mode, VyOS installs a local Forwarding Database (FDB) entry on the
+ pseudo-Ethernet interface's parent bridge. This ensures traffic destined
+ for the pseudo-Ethernet's anycast MAC address is terminated locally rather
+ than forwarded across the VXLAN overlay.
+
+ VyOS automatically removes the FDB entry when you disable EVPN anycast
+ gateway mode or delete the pseudo-Ethernet interface.
+
+ .. note::
+
+ The following requirements must be met to enable EVPN anycast gateway
+ mode:
+
+ * The MAC address must be explicitly configured on the pseudo-Ethernet
+ interface.
+ * The pseudo-Ethernet interface's ``source-interface`` must be a bridge
+ or bridge sub-interface (e.g., ``br0`` or ``br0.100``). VyOS always
+ installs the FDB entry on the base bridge (e.g., ``br0``), even if the
+ ``source-interface`` is a sub-interface like ``br0.100``.
+
+ Example:
+
+ .. code-block:: none
+
+ set interfaces pseudo-ethernet peth0 anycast-gateway
+```
+
### VLAN
```{cmdincludemd} /_include/interface-vlan-8021q.txt