Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Dell EMC SmartFabric OS10 User Guide Release 10.5.0

PDF

IGMP 侦听

IGMP 侦听使用 IGMP 数据包中的信息生成将端口与多播组关联的转发表。当交换机收到多播帧时,它们会将其转发给其预期的接收器。OS10 支持对虚拟局域网 (VLAN) 接口进行 IGMP 侦听。

默认情况下,IGMP 侦听已启用,从 OS10 版本 10.4.3.0 生效。

配置 IGMP 侦听

  • 在 CONFIGURATION 模式下使用 ip igmp snooping enable 命令在全局范围内启用 IGMP 侦听。此命令将对所有 VLAN 接口启用 IGMP 侦听。
    注: 如果配置了 IGMP 侦听,则 OS10 不支持扩展配置文件 VLAN 配置。要在 IGMP 侦听时使用扩展配置文件配置,请使用 mode l3 命令。
  • (可选)在 VLAN INTERFACE 模式下,使用 no ip igmp snooping 命令禁用对特定 VLAN 接口的 IGMP 侦听。
  • (可选)默认情况下,多播淹没控制已启用。要禁用多播泛洪限制功能,请在 CONFIGURATION 模式下使用 no multicast snooping flood-restrict 命令。要全局重新启用该功能,请在 CONFIGURATION 模式下使用 multicast snooping flood-restrict 命令。
  • 在网络中,侦听交换机连接到发送 IGMP 查询的多播路由器。在没有多播路由器的第 2 层网络上,您可以将侦听交换机配置为充当查询器。在 VLAN CONFIGURATION 模式下使用 ip igmp snooping querier 命令发送查询。
  • OS10 将根据接收的 IGMP 成员查询的接口动态学习多播路由器接口。要静态分配多播路由器接口,请在 VLAN INTERFACE 模式下使用 ip igmp snooping mrouter interface interface—type 命令。
    注:

    IGMP 侦听会根据接收的 IGMP 查询动态检测 mrouter 接口。如果有多个连接到侦听交换机的多播路由器,其中一个将发送 IGMP 查询,并且连接到该路由器的接口将动态学习为 mrouter 端口。您必须将连接到其他多播路由器的接口配置为静态 mrouter 端口。

  • (可选)在 VLAN INTERFACE 模式下,使用 ip igmp version version-number 命令配置 IGMP 版本。
  • (可选)快速离开选项允许 IGMP 侦听交换机在接收离开消息时立即从多播组中删除接口。在 VLAN INTERFACE 模式下,使用 ip igmp snooping fast-leave 命令启用快速离开。
  • (可选)在 VLAN INTERFACE 模式下,使用 ip igmp snooping query-interval query-interval-time 命令为发送 IGMP 常规查询配置时间间隔。
  • (可选)在 VLAN 接口模式下,使用 ip igmp snooping query-max-resp-time query-response-time 命令,配置响应 IGMP 查询中通告的查询的最长时间。
  • (可选)在 VLAN INTERFACE 模式下,使用 ip igmp snooping last-member-query-interval query-interval-time 命令,配置在组特定 IGMP 查询消息之间的时间间隔。
IGMP 侦听配置
OS10(config)# ip igmp snooping enable
OS10(config)# interface vlan 100
OS10(conf-if-vl-100)# ip igmp snooping mrouter interface ethernet 1/1/32
OS10(conf-if-vl-100)# ip igmp snooping querier
OS10(conf-if-vl-100)# ip igmp version 3
OS10(conf-if-vl-100)# ip igmp snooping fast-leave
OS10(conf-if-vl-100)# ip igmp snooping query-interval 60
OS10(conf-if-vl-100)# ip igmp snooping query-max-resp-time 10
OS10(conf-if-vl-100)# ip igmp snooping last-member-query-interval 1000
查看 IGMP 侦听信息
OS10# show ip igmp snooping groups
Total Number of Groups: 480
IGMP Connected Group Membership
Group Address                 Interface           Mode           Expires
225.1.0.0                     vlan3531            IGMPv2-Compat  00:01:35
  Member-ports :port-channel41,ethernet1/1/51,ethernet1/1/52
225.1.0.1                     vlan3531            IGMPv2-Compat  00:01:35
  Member-ports :port-channel41,ethernet1/1/51,ethernet1/1/52
225.1.0.2                     vlan3531            IGMPv2-Compat  00:01:35
  Member-ports :port-channel41,ethernet1/1/51,ethernet1/1/52
225.1.0.3                     vlan3531            IGMPv2-Compat  00:01:35
  Member-ports :port-channel41,ethernet1/1/51,ethernet1/1/52
225.1.0.4                     vlan3531            IGMPv2-Compat  00:01:35
  Member-ports :port-channel41,ethernet1/1/51,ethernet1/1/52
225.1.0.5                     vlan3531            IGMPv2-Compat  00:01:35
  Member-ports :port-channel41,ethernet1/1/51,ethernet1/1/52
225.1.0.6                     vlan3531            IGMPv2-Compat  00:01:35
  Member-ports :port-channel41,ethernet1/1/51,ethernet1/1/52
225.1.0.7                     vlan3531            IGMPv2-Compat  00:01:35
  Member-ports :port-channel41,ethernet1/1/51,ethernet1/1/52
225.1.0.8                     vlan3531            IGMPv2-Compat  00:01:35
  Member-ports :port-channel41,ethernet1/1/51,ethernet1/1/52
225.1.0.9                     vlan3531            IGMPv2-Compat  00:01:35
  Member-ports :port-channel41,ethernet1/1/51,ethernet1/1/52
--more--  

<<Output Truncated>>
OS10# show ip igmp snooping interface vlan 2
Vlan2 is up, line protocol is up
IGMP version is 3
IGMP snooping is enabled on interface
IGMP snooping query interval is 60 seconds
IGMP snooping querier timeout is 130 seconds
IGMP snooping last member query response interval is 1000 ms
IGMP Snooping max response time is 10 seconds
IGMP snooping fast-leave is disabled on this interface
IGMP snooping querier is disabled on this interface
Multicast flood-restrict is enabled on this interface
show ip igmp snooping mrouter
Interface    Router Ports
Vlan 100      ethernet 1/1/32

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\