Option for IGMP in extended ACLs
This option is useful where it is necessary to permit some types of IGMP traffic and deny other types instead of simply permitting or denying all types of IGMP traffic. That is, an ACE designed to permit or deny IGMP traffic can optionally include an IGMP packet type to permit or deny an individual type of IGMP packet while not addressing other IGMP traffic types in the same ACE.
Syntax:
<permit|deny> igmp <SA> <DA> [icmp-type]
In an extended ACL using
igmp
as the packet protocol type, you can optionally specify an individual IGMP packet type to further define the criteria for a match. This option, if used, is entered immediately after the destination addressing entry. The following example shows an IGMP ACE entered in the Named ACL context:
switch(config-ext-nacl)# permit igmp any
any host-query
[igmp-type]
The complete list of IGMP packet-type options includes:
dvmrp
host-query
host-report
pim
trace
v2-host-report
v2-host-leave
mtrace-reply
mtrace-request
v3-host-report
For more information on IGMP packet types, visit the Internet Assigned Numbers Authority (IANA) website at http://www.iana.com, click “Protocol Number Assignment Services”, and then go to the selections under “Internet Group Management Protocol (IGMP) Type Numbers”.