показывать / управлять адресами моста и устройствами (show / manipulate bridge addresses and devices)
bridge mdb - multicast group database management
mdb
objects contain known IP or L2 multicast group addresses on a
link.
The corresponding commands display mdb entries, add new entries,
and delete old ones.
bridge mdb add - add a new multicast group database entry
This command creates a new mdb entry.
dev
DEV
the interface where this group address is associated.
port
PORT
the port whose link is known to have members of this
multicast group.
grp
GROUP
the multicast group address (IPv4, IPv6 or L2 multicast)
whose members reside on the link connected to the port.
permanent
- the mdb entry is permanent. Optional for IPv4
and IPv6, mandatory for L2.
temp
- the mdb entry is temporary (default)
src
SOURCE
optional source IP address of a sender for this multicast
group. If IGMPv3 for IPv4, or MLDv2 for IPv6 respectively,
are enabled it will be included in the lookup when
forwarding multicast traffic.
vid
VID
the VLAN ID which is known to have members of this
multicast group.
bridge mdb delete - delete a multicast group database entry
This command removes an existing mdb entry.
The arguments are the same as with bridge mdb add
.
bridge mdb show - list multicast group database entries
This command displays the current multicast group membership
table. The table is populated by IGMP and MLD snooping in the
bridge driver automatically. It can be altered by bridge mdb add
and bridge mdb del
commands manually too.
dev
DEV
the interface only whose entries should be listed. Default
is to list all bridge interfaces.
With the -details
option, the command becomes verbose. It prints
out the ports known to have a connected router.
With the -statistics
option, the command displays timer values
for mdb and router port entries.