SW1#
ip igmp profile 1
permit
range 224.1.1.1 224.1.1.100
interface FastEthernet0/4
ip igmp filter 1
-----------------------------------
R4#
interface Ethernet0/0
ip
igmp join-group 224.1.1.1
ip igmp join-group 224.1.1.2
ip igmp join-group 224.1.1.101
------------------------------------
SW1#sh ip igmp filter
IGMP filter enabled
SW1#sh ip igmp profile
IGMP Profile 1
permit
range 224.1.1.1 224.1.1.100
SW1#
14:25:15: IGMPFILTER: igmp_profile_detach() detaching profile 1 (ref_ct -3, destroy not requested)
14:27:49: IGMPFILTER: igmp_filter_process_pkt(): checking group 224.1.1.1 from Fa0/4: permit
14:27:49: IGMPFILTER: igmp_filter_process_pkt(): checking group 224.1.1.2 from Fa0/4: permit
14:27:49: IGMPFILTER: igmp_filter_process_pkt(): checking group 224.1.1.101 from Fa0/4: deny
================================================== ===================
SW1#
ip igmp profile 1
range 224.1.1.1 224.1.1.100
interface FastEthernet0/4
switchport mode dynamic desirable
ip igmp filter 1
-----------------------------------------------------------------------
R4#
interface Ethernet0/0
ip igmp join-group 224.1.1.1
ip igmp join-group 224.1.1.2
ip igmp join-group 224.1.1.101
-----------------------------------------------------------------------
14:38:10: IGMPFILTER: igmp_filter_process_pkt(): checking group 224.1.1.1 from Fa0/4: deny
14:38:10: IGMPFILTER: igmp_filter_process_pkt(): checking group 224.1.1.2 from Fa0/4: deny
14:38:10: IGMPFILTER: igmp_filter_process_pkt(): checking group 224.1.1.101 from Fa0/4: permit
================================================== ======================
Summary:
A permit action permits the specified range with an implicit deny.
A deny action denies the specified range with an implicit permit.
================================================== ======================
阅读(417) | 评论(0) | 转发(0) |