Routing policies can be defined to limit the multicast channels that can be joined by a host. For example, it is possible to define a policy listing a group of multicast streams (for example, 'basic' containing a basic set of TV channels or 'extended' containing a more extended set of TV channels), and to apply this policy to subscribers of IGMP snooping (SAPs or SDPs).
The following displays an example of a configuration to import a routing policy on a SAP:
A:ALA-48>config>service>vpls# info
----------------------------------------------
stp
shutdown
exit
igmp-snooping
query-interval 60
robust-count 5
report-src-ip 10.20.20.20
no shutdown
exit
sap 1/1/3:0 create
igmp-snooping
query-interval 100
query-response-interval 60
robust-count 5
send-queries
exit
exit
sap 1/1/3:22 create
max-nbr-mac-addr 4
igmp-snooping
fast-leave
import "test_policy"
mrouter-port
static
group 239.0.10.10
source 10.10.10.1
source 10.10.10.2
exit
exit
exit
exit
no shutdown
----------------------------------------------
A:ALA-48>config>service>vpls#
For details configuring a routing policy, see the Configuring Route Policies section in the 7450 ESS, 7750 SR, 7950 XRS, and VSR Router Configuration Guide.
The following shows a sample routing policy configuration accepting IGMP messages for only five multicast channels:
A:ALA-48>config>router>policy-options# info
----------------------------------------------
prefix-list "basic_channels"
prefix 239.10.0.1/32 exact
prefix 239.10.0.2/32 exact
prefix 239.10.0.3/32 exact
prefix 239.10.0.4/32 exact
prefix 239.10.0.5/32 exact
exit
policy-statement "test_policy"
description "basic set of 5 multicast channels"
entry 1
from
group-address "basic_channels"
exit
action accept
exit
exit
default-action reject
exit
----------------------------------------------
A:ALA-48>config>router>policy-options#