首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Cisco 49XX组播洪泛

Cisco 49XX组播洪泛
EN

Network Engineering用户
提问于 2019-01-29 09:20:10
回答 1查看 1.1K关注 0票数 1

我对思科4948的组播有问题。

我有带有muilticast的vlan 9,它配置在几个端口上。交换机淹没了所有配置有vlan 9的端口上的多播通信,它消耗了链路带宽。

据我所知,这个模型不支持IGMP窥探查询器,所以所有的组播洪流都在所有端口上使用vlan 9。据我所知,我需要启用L3

此时,我的交换机没有启用路由,也没有配置L3,我试图启用L3以防止泛滥。

代码语言:javascript
复制
conf t
 ip multicast-routing 

 interface Vlan9
  ip address 10.22.0.161 255.255.255.128
  ip pim sparse-mode
  no shutdown
 end
end

为了让IGMP窥探正常工作,还应该配置什么?

也许我可以让它在不启用L3开关的情况下与静态映射一起工作?

现在,在没有启用L3和多播路由的情况下,在全局范围内启用窥探,默认情况下:

代码语言:javascript
复制
catos#show ip igmp snooping vlan 9
Global IGMP Snooping configuration:
-----------------------------------
IGMP snooping             : Enabled
IGMPv3 snooping           : Enabled
Report suppression        : Enabled
TCN solicit query         : Disabled
TCN flood query count     : 2

Vlan 9:
--------
IGMP snooping                       : Enabled
IGMPv2 immediate leave              : Disabled
Explicit host tracking              : Enabled
Multicast router learning mode      : pim-dvmrp
CGMP interoperability mode          : IGMP_ONLY

Mrouter在上行链路上,因为我现在还没有配置L3:

代码语言:javascript
复制
catos#show ip igmp snooping mrouter 
Vlan    ports
----    -----
 9    Po1(dynamic)

在vlan配置下,根本没有ip命令:

代码语言:javascript
复制
catos(config)#vlan 9
catos(config-vlan)#ip?
% Unrecognized command

在接口下:

代码语言:javascript
复制
catos(config-vlan)#int vl9
catos(config-if)#ip igmp s?           
static-group  

软件的版本:

代码语言:javascript
复制
catos#show version 
Cisco IOS Software, Catalyst 4000 L3 Switch Software (cat4000-I5K91S-M), Version 12.2(25)EWA9, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 21-Mar-07 11:58 by tinhuang
Image text-base: 0x10000000, data-base: 0x115C6158

ROM: 12.2(31r)SGA1
Pod Revision 0, Force Revision 34, Tie Revision 20

Catalyst-2 uptime is 8 weeks, 1 hour, 11 minutes
System returned to ROM by reload
System restarted at 11:09:28 EET Tue Dec 4 2018
System image file is "bootflash:cat4000-i5k91s-mz.122-25.EWA9.bin"
...
cisco WS-C4948-10GE (MPC8540) processor (revision 5) with 262144K bytes of memory.
Processor board ID FOX1233GZE3
MPC8540 CPU at 667Mhz, Fixed Module

顺便说一句,我还有另一个这样的开关,有着同样的问题,但有一点是另一个软件:

代码语言:javascript
复制
bootflash:cat4500-entservicesk9-mz.122-46.SG.bin"

最后,我用rommon更新了我的开关:

代码语言:javascript
复制
Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500-ENTSERVICESK9-M), Version 15.0(2)SG11, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2016 by Cisco Systems, Inc.
Compiled Mon 24-Oct-16 09:48 by prod_rel_team
Image text-base: 0x10000000, data-base: 0x123AECA8

ROM: 12.2(31r)SGA7
Pod Revision 0, Force Revision 31, Gill Revision 20

Catalyst-2 uptime is 4 hours, 18 minutes
System returned to ROM by reload
System image file is "bootflash:cat4500-entservicesk9-mz.150-2.SG11.bin"
Last reload reason: Reload command

水浸现仍存在:

代码语言:javascript
复制
#show ip igmp snooping vlan 9 detail 
Global IGMP Snooping configuration:
-------------------------------------------
IGMP snooping                : Enabled
IGMPv3 snooping              : Enabled
Report suppression           : Enabled
TCN solicit query            : Disabled
TCN flood query count        : 2
Last Member Query Interval   : 1000

Vlan 9:
--------
IGMP snooping                       : Enabled
CAPWAP enabled                      : Disabled
IGMPv2 immediate leave              : Disabled
Explicit host tracking              : Enabled
Multicast router learning mode      : pim-dvmrp
CGMP interoperability mode          : IGMP_ONLY
Last Member Query Interval          : 1000Topology change                     : No

# show ip igmp snooping mrouter vlan 9 
Vlan    ports
----    -----
   9    Po7(dynamic), Switch

# show ip igmp snooping querier vlan 9 detail 
IP address               : 10.0.0.7
IGMP version             : v2
Port                     : Switch
Max response time        : 10s


Global IGMP switch querier status
--------------------------------------------------------
admin state                    : Enabled
admin version                  : 2
source IP address              : 0.0.0.0        
query-interval (sec)           : 60
max-response-time (sec)        : 10
querier-timeout (sec)          : 120
tcn query count                : 2
tcn query interval (sec)       : 10

Vlan 9:   IGMP switch querier status
--------------------------------------------------------
elected querier is 10.0.0.7       (this switch querier)
--------------------------------------------------------
admin state                    : Enabled (state configured)
admin version                  : 2
source IP address              : 10.0.0.7      
query-interval (sec)           : 60
max-response-time (sec)        : 10
querier-timeout (sec)          : 120
tcn query count                : 2
tcn query interval (sec)       : 10
operational state              : Querier
operational version            : 2
tcn query pending count        : 0

# show ip igmp snooping groups vlan 9 count 
Total number of groups in Vlan 9:   152

# show ip igmp snooping groups vlan 9       
Vlan      Group                    Version     Port List
---------------------------------------------------------
  9       239.1.0.1                v2          Po7
  9       239.1.0.2                v2          Po7
...
  9       239.1.0.253              v2          Po7
  9       239.1.0.254              v2          Po7
  9       239.255.255.250          v2          Po7

10.0.0.7是我的交换机管理地址,属于本地VRF。

一些mac多播条目:

代码语言:javascript
复制
  #show mac address-table multicast 
Multicast Entries
 vlan    mac address     type    ports
-------+---------------+-------+--------------------------------------------
   9    0100.5e01.0001     igmp Po7
   9    0100.5e01.0002     igmp Po7
 ...
   9    0100.5e01.00fe     igmp Po7
   9    0100.5e7f.fffa     igmp Po7
   9    ffff.ffff.ffff   system Gi1/31,Po7

也许窥探是有效的,但并不像预期的那样。如果设备不需要,另一个供应商不会转发流量。和更新的思科模式也。

这是来自另一个遭受同样问题的思科4948的窥探配置。

代码语言:javascript
复制
#show ip igmp snooping vlan 9
Global IGMP Snooping configuration:
-----------------------------------
IGMP snooping              : Enabled
IGMPv3 snooping            : Enabled
Report suppression         : Enabled
TCN solicit query          : Disabled
TCN flood query count      : 2
Last Member Query Interval : 1000

Vlan 9:
--------
IGMP snooping                       : Enabled
IGMPv2 immediate leave              : Disabled
Explicit host tracking              : Enabled
Multicast router learning mode      : pim-dvmrp
Last Member Query Interval          : 1000
CGMP interoperability mode          : IGMP_ONLY

#show mac address-table multicast vlan 9
Multicast Entries
 vlan    mac address     type    ports
-------+---------------+-------+--------------------------------------------
   9    0100.5e7f.fffa     igmp Gi1/42,Po5
   9    ffff.ffff.ffff   system Gi1/18,Gi1/22,Gi1/24,Gi1/25,Gi1/26,Gi1/28
                                Gi1/32,Gi1/38,Gi1/39,Gi1/42,Po5

如果您看广告图表,流量突发是完全相同的,但我没有这样的问题,在极端/EdgeCore设备,在任何情况下,没有配置。绿色图像来自一个开关,最后一个图像来自完全不同的开关:

EN

回答 1

Network Engineering用户

回答已采纳

发布于 2019-01-29 10:49:47

升级到Cisco 4500/4900系列交换机的最新IOS版本后,您将完全支持IGMP版本1和2,包括IGMP窥探查询器。

IGMP窥探查询支持是在Cisco IOS发布的12.2(50)SG中引入的。这是支持VLAN中的IGMP窥探所需的第2层功能,在VLAN中,PIM和IGMP没有配置,因为多播通信不需要路由。

在配置IP多播路由的网络中,IP多播路由器通过发送通用查询充当IGMP查询程序。如果VLAN中的IP组播业务只需要第二层交换,则不需要IP多播路由器。如果VLAN上没有IP多播路由器,则必须将另一个交换机配置为IGMP查询程序,以便它能够发送查询。

启用后,IGMP侦听查询程序发送周期性的IGMPv2查询,从请求IP多播通信量的交换机触发IGMP报告消息。IGMP监听这些IGMP报告以建立适当的转发。

无论是否启用IP多播路由,都可以配置交换机在VLAN上生成IGMP查询。

IGMP窥探查询功能可以在全局(即影响每个vlan)或基于每个vlan的基础上启用。

若要配置IGMP窥探查询程序,请执行以下任务:

  • 步骤1 Switch# configure terminal进入全局配置模式。
  • 第2步Switch(config)# [no] ip igmp snooping [vlan vlan_id] querier启用IGMP窥探查询器。
  • 步骤3 Switch(config)# [no] ip igmp snooping [vlan vlan_id] querier address abcd配置IGMP窥探查询源IP地址。
  • 步骤4 Switch(config)# [no] ip igmp snooping [vlan vlan_id] querier version [1 | 2]配置IGMP窥探查询IGMP版本。
  • 步骤5 Switch(config)# ip igmp snooping [vlan vlan_id] querier query-interval interval配置IGMP窥探查询间隔。
  • 步骤6 Switch(config)# ip igmp snooping [vlan vlan_id] querier max-response-time value配置IGMP窥探查询的最大响应时间。
  • 步骤7 Switch(config)# ip igmp snooping [vlan vlan_id] querier timer expiry value配置IGMP窥探查询过期时间。
  • 步骤8 Switch(config)# ip igmp snooping [vlan vlan_id] querier tcn query count value配置IGMP窥探查询程序tcn查询计数。
  • 步骤9 Switch(config)# ip igmp snooping [vlan vlan_id] querier tcn query interval value配置IGMP窥探查询器tcn查询间隔。
  • 步骤10 Switch(config)# end返回特权执行模式。

思科的完整配置指南:

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst4500/12-2/50sg/configuration/guide/Wrapper-46SG/multi.html#wp1163784

票数 2
EN
页面原文内容由Network Engineering提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://networkengineering.stackexchange.com/questions/56486

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档