ip igmp join-group 马赛克的问题

114 篇文章 1 订阅
45 篇文章 1 订阅

在业务落地实施的有时候为了隔离组播域,需要将组播接拉到边界路由器上并强推给对方,这个时候我们会考虑是用ip igmp static-group 还是用 ip igmp join-group 的问题,这篇问题会告诉你答案.

ip igmp join-group:

“ip igmp join-group” causes the router to send an IGMP membership report on the interface where it is configured. The mcast packets will therefore be received and process switched by the router. This command is usually used for test purposes

 

使用这个命令,可以模拟用户发送member report 报文,可以用这个命令测试组播路由配置是否正确,但是不能用在生产环境中,因为使用这个命令会将相应组播引入CPU,进入process switched(进程转发),影响到CPU的处理效率,对全局组播进行影响,在生产环境中,6506上join 第四个组播就会造成所有组播的马赛克,3750上join 第二个组播的时候就会造成全局的马赛克.

 

ip igmp static-group

 

“ip igmp static-group” configures a static connected member for a specific group. Traffic to that group will be fast-switched to the interface where this comamnd is configured rather than process switched. This command is usually used to forward mcast traffic down an interface.

使用这个命令配置一个接口加入特定的组,去往特定组的流量会经过快速转发流到这个接口.生产环境只能用这个命令.

 

 

 


with ip igmp join-group x.x.x.x the packets of the multicast group x.x.x.x are sent to the router cpu like it were a PC.

But sending to main cpu in router terminology is process switching.

this is dangerous in production networks where forgetting to remove a statement ip igmp join-group can cause cpu to go to 100% also on very powerful devices like C6500.

The other command was probably introduced later to overcome this limitation.

In this case packets of group x.x.x.x are not sent to main cpu for processing.

The command allows to be sure that the PIM tree is stable because local node will send pim joins for group x.x.x.x regardless of the presence of interested receivers on its interfaces.

ip igmp join-group is handy in lab environments because the router will answer to a ping to group x.x.x.x allowing to verify the multicast routing in a basic way.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值