Creating MLD Static Sources and Static Groups
To determine how to forward multicast traffic, a switch with MLD snooping enabled maintains information about the following interfaces in its multicast forwarding table:
- Multicast-router interfaces — These interfaces lead toward multicast routers or MLD queriers.
- Group-member interfaces — These interfaces lead toward hosts that are members of multicast groups.
The switch learns about these interfaces by monitoring MLD traffic. If an interface receives MLD queries, the switch adds the interface to the multicast forwarding table as a multicast-router interface. If an interface receives membership reports for a multicast group, the switch adds the interface to the multicast forwarding table as a group-member interface.
Table entries for interfaces that the switch learns about are subject to aging. For example, if a learned multicast-router interface does not receive MLD queries within a certain interval, the switch removes the entry for that interface from the multicast forwarding table.
You can create MLD static sources using IPv6 addresses and then create static groups using the static sources.
To create an MLD static source for IPv6 address, ff02::1:ff11:111 as the group, and IPv6 2001:db8::2:1 as the source on VLAN 25, port 44-45, use the following syntax:
CLI network-admin@switch > mld-static-source-create source-ip 2001:db8::2:1 group-ip ff02::1:ff11:111 vlan 25 ports 44-45
The parameter, ports, is an optional parameter. You can delete an MLD static source, but you cannot modify the parameters.
To display MLD static sources, use the mld-static-source-show command.
To create an MLD static group for IPv6 address, ff02::1:ff11:1111, on VLAN 25, ports 44-45, use the mld-static-group-create command:
CLI network-admin@switch > mld-static-group-create group-ip ff02::1:ff11:1111 vlan 25 ports 44-45
You can delete an MLD static group, but you cannot modify the parameters. To display MLD static groups, use the mld-static-group-show command.