如何不影响其他业务前提下手动调整组播流量的入接口

发布时间:  2014-12-16 浏览次数:  38 下载次数:  0
问题描述
【Problem Summary】 网络侧单播是负载分担场景,组播的入接口已经选定情况下,如何手动调整组播的入接口
处理过程
NA
根因
NA
解决方案

在组播业务故障的情况下,经常需要验证是否路径有问题,需要手动调整组播的入接口来进行判断

1,可以通过调整到组播源的静态路由是实现.

但是这个可能会影响单播.一般不推荐.

 

2,可以配置组播静态路由,这个只影响来自相同视频服务器的组播业务.

配置命令格式如下:

 

ip rpf-route-static [ vpn-instance vpn-instance-name ] source-address { mask | mask-length } [ isis process-id | ospf process-id | rip process-id | bgp | static ] [ route-policy route-policy-name ] { rpf-nbr | interface-type interface-number } [ preference preference ] [ order order-number ]

undo ip rpf-route-static [ vpn-instance vpn-instance-name ] { source-address { mask | mask-length } [ isis process-id | ospf process-id | rip process-id | bgp | static ] [ route-policy route-policy-name ] | all }

 

 

 

配置了ip rpf-route-static之后,该组播静态路由并不一定会生效,因为有可能出现无法迭代出接口,或者指定接口Down等情况。因此,进行此项配置后,建议使用display ip routing-table protocol static命令查看该路由是否配置成功或该路由是否生效。

 

 

举例如下:

到组播源的路由有两个出口:

[ME60]dis fib 10.1.2.1 
  Route Entry Count: 8
Destination/Mask   Nexthop         Flag  TimeStamp     Interface      TunnelID
0.0.0.0/0          10.2.2.1        DGU   t[52506186]   GE1/1/0        0x0
0.0.0.0/0          10.3.2.1        DGU   t[52506186]   GE1/1/2        0x0

 

当前选择了1/1/2作为组播入接口:

[ME60]display  multicast forwarding-table  239.0.0.10
Multicast Forwarding Table of VPN-Instance: public net
Total 34 entries, 1 matched

00001. (10.1.2.1, 239.0.0.10)
     MID: 131, Flags: ACT
     Uptime: 7w:2d, Timeout in: 00:03:29
     Incoming interface: GigabitEthernet1/1/2
     List of 3 outgoing interfaces:
       1: TUA1 
         Activetime: 7w:2d
         Msub-Tag total number is 16
       2: TUA3 
         Activetime: 03:56:01
         Msub-Tag total number is 3
       3: TUA5 
         Activetime: 7w:2d
         Msub-Tag total number is 16
     Matched 710518249 packets(974222014020 bytes), Wrong If 0 packets
     Forwarded 710518249 packets(974222014020 bytes)

调整组播静态路由后,组播入接口变成1/1/0:
[ME60]ip rpf-route-static   10.1.2.1 32  10.2.2.1 


[ME60]display  multicast forwarding-table  239.0.0.10
Multicast Forwarding Table of VPN-Instance: public net
Total 34 entries, 1 matched

00001. (10.1.2.1, 239.0.0.10)
     MID: 131, Flags: ACT
     Uptime: 7w:2d, Timeout in: 00:03:19
     Incoming interface: GigabitEthernet1/1/0
     List of 3 outgoing interfaces:
       1: TUA1 
         Activetime: 7w:2d
         Msub-Tag total number is 16
       2: TUA3 
         Activetime: 03:56:23
         Msub-Tag total number is 3
       3: TUA5 
         Activetime: 7w:2d
         Msub-Tag total number is 15
     Matched 710520784 packets(974225307108 bytes), Wrong If 147 packets
     Forwarded 710520637 packets(974225288292 bytes)

END