summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2023-03-21 15:01:22 +0200
committerDavid Ahern <dsahern@kernel.org>2023-03-24 18:29:14 -0600
commitd36899c2244ccf61cf74180fc644d50f9230e773 (patch)
tree473d7fc6d0daecd8358a98ba057d9c6bc0a2a9e5 /man
parentd0d5eeff798c1ab84c7e13d5d75a3c336dfcdb49 (diff)
downloadiproute2-d36899c2244ccf61cf74180fc644d50f9230e773.tar.gz
bridge: mdb: Add underlay destination IP support
Allow user space to program and view VXLAN MDB entries. Specifically, add support for the 'MDBE_ATTR_DST' and 'MDBA_MDB_EATTR_DST' attributes in request and response messages, respectively. The attributes encode the IP address of the destination VXLAN tunnel endpoint where multicast receivers for the specified multicast flow reside. Multiple destinations can be added for each flow. Example: # bridge mdb add dev vxlan0 port vxlan0 grp 239.1.1.1 permanent dst 198.51.100.1 # bridge mdb add dev vxlan0 port vxlan0 grp 239.1.1.1 permanent dst 192.0.2.1 $ bridge -d -s mdb show dev vxlan0 port vxlan0 grp 239.1.1.1 permanent filter_mode exclude proto static dst 192.0.2.1 0.00 dev vxlan0 port vxlan0 grp 239.1.1.1 permanent filter_mode exclude proto static dst 198.51.100.1 0.00 $ bridge -d -s -j -p mdb show [ { "mdb": [ { "index": 15, "dev": "vxlan0", "port": "vxlan0", "grp": "239.1.1.1", "state": "permanent", "filter_mode": "exclude", "protocol": "static", "flags": [ ], "dst": "192.0.2.1", "timer": " 0.00" },{ "index": 15, "dev": "vxlan0", "port": "vxlan0", "grp": "239.1.1.1", "state": "permanent", "filter_mode": "exclude", "protocol": "static", "flags": [ ], "dst": "198.51.100.1", "timer": " 0.00" } ], "router": {} } ] Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Diffstat (limited to 'man')
-rw-r--r--man/man8/bridge.815
1 files changed, 14 insertions, 1 deletions
diff --git a/man/man8/bridge.8 b/man/man8/bridge.8
index abc0417b..2f8500af 100644
--- a/man/man8/bridge.8
+++ b/man/man8/bridge.8
@@ -145,7 +145,9 @@ bridge \- show / manipulate bridge addresses and devices
.B source_list
.IR SOURCE_LIST " ] [ "
.B proto
-.IR PROTO " ]
+.IR PROTO " ] [ "
+.B dst
+.IR IPADDR " ]
.ti -8
.BR "bridge mdb show" " [ "
@@ -970,6 +972,17 @@ then
is assumed.
.in -8
+The next command line parameters apply only
+when the specified device
+.I DEV
+is of type VXLAN.
+
+.TP
+.BI dst " IPADDR"
+the IP address of the destination
+VXLAN tunnel endpoint where the multicast receivers reside.
+
+.in -8
.SS bridge mdb delete - delete a multicast group database entry
This command removes an existing mdb entry.