Configuring a Multicast Group Policy
Context
A multicast group policy determines which multicast groups the hosts in a VLAN can join. The multicast group policy is applicable only to dynamic multicast groups. Before configuring the multicast group policy, create an access control list (ACL) and define rules. For details about ACL configuration, see "ACL Configuration" in the NetEngine AR Configuration Guide - Security.
Procedure
- Run system-view
The system view is displayed.
- Use either of the following methods to configure a multicast group policy.
- Configure a multicast group policy in a VLAN.
Run vlan vlan-id
The VLAN view is displayed.
Run igmp-snooping group-policy acl-number [ version version-number ]
A multicast group policy is configured in the VLAN.
- Configure a multicast group policy on an interface.
Run interface interface-type interface-number
The interface view is displayed.
Run igmp-snooping group-policy acl-number [ version version-number ] vlan vlan-id1 [ to vlan-id2 ]
A multicast group policy is configured on an interface.
By default, the user hosts in a VLAN can join any multicast group. If the IGMP version is not specified for a multicast group policy, the router applies the policy to all the received IGMP messages regardless of their versions.
If you configure multicast group policies for the same VLAN in the interface view and VLAN view, the system first uses the policy configured in the interface view and then the policy configured in the VLAN view to determine the groups that user hosts can join.
The ACL referenced in a group policy permits all multicast groups by default. Therefore, to allow interfaces in a VLAN to receive only multicast data sent to specific groups, use a rule deny source any rule with permit rules in the ACL.
- Configure a multicast group policy in a VLAN.