Configuring static ports
If all the hosts attached to a port is interested in the IPv6 multicast data addressed to a particular IPv6 multicast group, configure that port as a static member port for that IPv6 multicast group.
You can configure a port of a switch to be a static router port, through which the switch can forward all IPv6 multicast data it received.
Follow these steps to configure static ports:
To do... | Use the command... | Remarks |
---|---|---|
Enter system view | system-view | — |
Enter Ethernet interface/Layer 2 aggregate interface view or port group view | interface interface-type interface-number | Required Use either approach |
port-group manual port-group-name | ||
Configure the port(s) as static member port(s) | mld-snooping static-group ipv6-group-address [ source-ip ipv6-source-address ] vlan vlan-id | Required No static member ports by default |
Configure the port(s) as static router port(s) | mld-snooping static-router-port vlan vlan-id | Required No static router ports by default |
![]() | NOTE: An IPv6 static (S, G) join takes effect only if a valid IPv6 multicast source address is specified and MLD snooping version 2 is currently running. A static member port does not respond to queries from the MLD querier; when static (*, G) or (S, G) joining is enabled or disabled on a port, the port does not send an unsolicited MLD report or an MLD done message. Static member ports and static router ports never age out. To remove such a port, you need to use the corresponding undo command. | |