我对思科4948的组播有问题。
我有带有muilticast的vlan 9,它配置在几个端口上。交换机淹没了所有配置有vlan 9的端口上的多播通信,它消耗了链路带宽。
据我所知,这个模型不支持IGMP窥探查询器,所以所有的组播洪流都在所有端口上使用vlan 9。据我所知,我需要启用L3。
此时,我的交换机没有启用路由,也没有配置L3,我试图启用L3以防止泛滥。
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和多播路由的情况下,在全局范围内启用窥探,默认情况下:
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_ONLYMrouter在上行链路上,因为我现在还没有配置L3:
catos#show ip igmp snooping mrouter
Vlan ports
---- -----
9 Po1(dynamic)在vlan配置下,根本没有ip命令:
catos(config)#vlan 9
catos(config-vlan)#ip?
% Unrecognized command在接口下:
catos(config-vlan)#int vl9
catos(config-if)#ip igmp s?
static-group 软件的版本:
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顺便说一句,我还有另一个这样的开关,有着同样的问题,但有一点是另一个软件:
bootflash:cat4500-entservicesk9-mz.122-46.SG.bin"最后,我用rommon更新了我的开关:
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水浸现仍存在:
#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 Po710.0.0.7是我的交换机管理地址,属于本地VRF。

一些mac多播条目:
#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的窥探配置。
#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设备,在任何情况下,没有配置。绿色图像来自一个开关,最后一个图像来自完全不同的开关:

发布于 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窥探查询程序,请执行以下任务:
Switch# configure terminal进入全局配置模式。Switch(config)# [no] ip igmp snooping [vlan vlan_id] querier启用IGMP窥探查询器。Switch(config)# [no] ip igmp snooping [vlan vlan_id] querier address abcd配置IGMP窥探查询源IP地址。Switch(config)# [no] ip igmp snooping [vlan vlan_id] querier version [1 | 2]配置IGMP窥探查询IGMP版本。Switch(config)# ip igmp snooping [vlan vlan_id] querier query-interval interval配置IGMP窥探查询间隔。Switch(config)# ip igmp snooping [vlan vlan_id] querier max-response-time value配置IGMP窥探查询的最大响应时间。Switch(config)# ip igmp snooping [vlan vlan_id] querier timer expiry value配置IGMP窥探查询过期时间。Switch(config)# ip igmp snooping [vlan vlan_id] querier tcn query count value配置IGMP窥探查询程序tcn查询计数。Switch(config)# ip igmp snooping [vlan vlan_id] querier tcn query interval value配置IGMP窥探查询器tcn查询间隔。Switch(config)# end返回特权执行模式。思科的完整配置指南:
https://networkengineering.stackexchange.com/questions/56486
复制相似问题