B Mcast Cg42asr9k Chapter 00
B Mcast Cg42asr9k Chapter 00
B Mcast Cg42asr9k Chapter 00
Snooping
Internet Group Management Protocol (IGMP) snooping restricts multicast flows at Layer 2 to only those
segments with at least one interested receiver. This module describes how to implement IGMP snooping on
Cisco ASR 9000 Series Routers.
Release Modification
Release 3.7.2 This feature was introduced.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
1
Implementing Layer-2 Multicast with IGMP Snooping
Prerequisites for IGMP Snooping
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
2
Implementing Layer-2 Multicast with IGMP Snooping
IGMP Snooping Overview
With the use of some optional configurations, it provides security between bridge domains by filtering
the IGMP reports received from hosts on one bridge port and preventing leakage towards the hosts on
other bridge ports.
Using optional configurations, reduces the traffic impact on upstream IP multicast routers by suppressing
IGMP membership reports (IGMPv2) or by acting as an IGMP proxy reporter (IGMPv3) to the upstream
IP multicast router.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
3
Implementing Layer-2 Multicast with IGMP Snooping
IGMP Snooping Overview
The router-guard command prevents a port from becoming a dynamically discovered mrouter port by filtering
out multicast router messages, including IGMP queries and PIM messages. You can configure a port with the
router-guard command and then configure it as a static mrouter. See the Router Guard and Static Mrouter,
on page 15 for more information about configuring router-guard and mrouter commands on the same port.
Multicast Traffic Handling within a Bridge Domain with IGMP Snooping Enabled
The following tables describe traffic handling behaviors by IGMP snooping mrouter and host ports. Table 1:
Multicast Traffic Handling for an IGMPv2 Querier, on page 4 describes traffic handling for an IGMPv2
querier. Table 2: Multicast Traffic Handling for an IGMPv3 Querier, on page 5 applies to an IGMPv3
querier.
By default, IGMP snooping supports IGMPv2 and IGMPv3. The version of the IGMP querier discovered in
the bridge domain determines the operational version of the snooping processes. If you change the default,
configuring IGMP snooping to support a minimum version of IGMPv3, IGMP snooping ignores any IGMPv2
queriers.
IGMPv2 joins Examines (snoops) the reports. Examines (snoops) the reports.
If report suppression is If report suppression is
enabled, forwards first join enabled, forwards first join
for a new group or first join for a new group or first join
following a general query for following a general query for
an existing group. an existing group.
If report suppression is If report suppression is
disabled, forwards on all disabled, forwards on all
mrouter ports. mrouter ports.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
4
Implementing Layer-2 Multicast with IGMP Snooping
Multichassis Link Aggregation
IGMPv2 leaves Invokes last member query Invokes last member query
processing. processing.
IGMPv3 reports
If proxy reporting is If proxy reporting is
enabledFor state changes enabledFor state changes
or source-list changes, or source-list changes,
generates a state change generates a state change
report on all mrouter ports. report on all mrouter ports.
If proxy reporting is If proxy reporting is
disabledForwards on all disabledForwards on all
mrouter ports. mrouter ports.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
5
Implementing Layer-2 Multicast with IGMP Snooping
Information About IGMP Snooping Configuration Profiles
on each PoA by a unique Redundancy Object Identifier, also termed as ROID. If VLAN sub-interfaces are
configured on the MC-LAG, then each VLAN sub-interface has a unique ROID.
IGMP Snooping on the Cisco ASR 9000 Series Router supports MC-LAG configurations looking either
downstream towards a DSLAM or upstream towards a multicast router.
Note Both the active and standby POAs must have the same configuration for the MC-LAG feature to work.
For more information on configuring link bundling and protocols used, see the Configuring Link Bundling
chapter in Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component
Configuration Guide.
Creating Profiles
To create a profile, use the igmp snooping profile command in global configuration mode.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
6
Implementing Layer-2 Multicast with IGMP Snooping
Information About IGMP Snooping Configuration Profiles
When you detach a profile from a bridge domain or a port, the profile still exists and is available for use at a
later time. Detaching a profile has the following results:
If you detach a profile from a bridge domain, IGMP snooping is deactivated in the bridge domain.
If you detach a profile from a port, IGMP snooping configuration values for the port are instantiated
from the bridge domain profile.
Changing Profiles
You cannot make changes to an active profile. An active profile is one that is currently attached.
If you need to change an active profile, you must detach it from all bridges or ports, change it, and reattach
it.
Another way to do this is to create a new profile incorporating the desired changes and attach it to the bridges
or ports, replacing the existing profile. This deactivates IGMP snooping and then reactivates it with parameters
from the new profile.
Note A port-level access group overrides any bridge domain-level access group.
The access-group command instructs IGMP snooping to apply the specified access list filter to received
membership reports. By default, no access list is applied.
Changes made to the access-list referenced in the profile (or a replacement of the access-list referenced in the
igmp snooping profile) will immediately result in filtering the incoming igmp group reports and the existing
group states accordingly, without the need for a detach-reattach of the igmp snooping profile in the
bridge-domain, each time such a change is made.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
7
Implementing Layer-2 Multicast with IGMP Snooping
Information About IGMP Snooping Configuration Profiles
IGMP snooping limits the membership on a bridge port to a configured maximum, but extends the feature to
support IGMPv3 source groups and to allow different weights to be assigned to individual groups or source
groups. This enables the IPTV provider, for example, to associate standard and high- definition IPTV streams,
as appropriate, to specific subscribers.
This feature does not limit the actual multicast bandwidth that may be transmitted on a port. Rather, it limits
the number of IGMP groups and source-groups, of which a port can be a member. It is the responsibility of
the IPTV operator to configure subscriber membership requests to the appropriate multicast flows.
The group policy command, which is under igmp-snooping-profile configuration mode, instructs IGMP
snooping to use the specified route policy to determine the weight contributed by a new <*,G> or <S,G>
membership request. The default behavior is for there to be no group weight configured.
The group limit command specifies the group limit of the port. No new group or source group is accepted if
its contributed weight would cause this limit to be exceeded. If a group limit is configured (without group
policy configuration), a <S/*,G> group state will have a default weight of 1 attributed to it.
Note By default, each group or source-group contributes a weight of 1 towards the group limit. Different weights
can be assigned to groups or source groups using the group policy command.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
8
Implementing Layer-2 Multicast with IGMP Snooping
Default IGMP Snooping Configuration Settings
last-member-query-count 2
querier robustness-variable 2
ttl-check Enabled
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
9
Implementing Layer-2 Multicast with IGMP Snooping
IGMP Snooping Configuration at the Bridge Domain Level
IGMPv1 is not supported. The scope for this command is the bridge domain. The command is ignored in a
profile attached to a port.
System IP Address
The system-ip-address command configures an IP address for IGMP snooping use. If not explicitly configured,
the default address is 0.0.0.0. The default is adequate except in the following circumstances:
If you are configuring an internal querier. The internal querier cannot use 0.0.0.0.
If the bridge needs to communicate with an IGMP router that does not accept the 0.0.0.0 address.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
10
Implementing Layer-2 Multicast with IGMP Snooping
IGMP Snooping Configuration at the Bridge Domain Level
To disable report suppression and proxy reporting, use the report-suppression disable command.
The scope for the commands mentioned in this section is the bridge domain. The commands are ignored in a
profile attached to a port.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
11
Implementing Layer-2 Multicast with IGMP Snooping
IGMP Snooping Configuration at the Bridge Domain Level
Immediate leaveYou can optionally configure individual ports for immediate leave.
Note IGMPv3 explicit host tracking, which provides per host immediate leave functionality
on a multi-host LAN, is not supported.
If IGMP snooping does not receive an IGMP join message in response to group-specific queries, it
assumes that no other devices connected to the port are interested in receiving traffic for this multicast
group, and it removes the port from its Layer-2 forwarding table entry for that multicast group.
If the leave message was from the only remaining port, IGMP snooping removes the group entry and
generates an IGMP leave to the multicast routers.
Immediate-Leave Configuration
Immediate-leave is an optional port-level configuration parameter. Immediate-leave processing causes IGMP
snooping to remove a Layer-2 interface from the forwarding table entry immediately, without first sending
IGMP group-specific queries to the interface. After receiving an IGMP leave message, IGMP snooping
immediately removes the interface from the Layer-2 forwarding table entry for that multicast group, unless
a multicast router was learned on the port.
Immediate-leave processing improves leave latency, but is appropriate only when one receiver is configured
on a port. For example, immediate-leave is appropriate in the following situations:
Point-to-point configurations, such as an IPTV channel receiver
Downstream DSLAMs with proxy reporting
Do not use immediate-leave on a port when the possibility exists for more than one receiver per port. Doing
so could prevent an interested receiver from receiving traffic. For example, immediate-leave is not appropriate
in a LAN.
Immediate-leave processing is a port-level option. You can configure this option explicitly per port in port
profiles or in the bridge domain profile, in which case, it applies to all ports under the bridge.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
12
Implementing Layer-2 Multicast with IGMP Snooping
IGMP Snooping Configuration at the Bridge Domain Level
3 When the TCN refresh period ends, IGMP snooping withdraws the non-mrouter and non-member STP
ports from the multicast route flood sets. You can control the amount of time that flooding occurs with
the tcn flood query count command. This command sets the number of IGMP general queries for which
the multicast traffic is flooded following a TCN, thereby influencing the refresh period.
IGMP snooping default behavior is that the STP root bridge always issues a global leave in response to a
TCN, and that the non-root bridges do not issue global leaves.
With the tcn query solicit command, you can enable a bridge to always issue a global leave in response to
TCNs, even when it is not the root bridge. In that case, the root bridge and the non-root bridge would issue
the global leave and both would solicit general queries in response to a TCN. Use the no form of the command
to turn off soliciting when the bridge is not the root.
Note One use for the tcn query solicit command is when Reverse Layer 2 Gateway Protocol (RL2GP) is
configured to set up a MSTP Access Gateway. In this scenario, IGMP snooping is unaware of the root or
non-root status of the bridge and, therefore, when a TCN occurs, no query is solicited in the domain unless
IGMP snooping is explicity configured to do so on at least one bridge.
The root bridge always issues a global leave in response to a TCN. This behavior can not be disabled.
The internal querier has its own set of configuration options that control its reactions to TCNs.
The scope for all tcn related configuration option(s) is per bridge domain. If the command appears in profiles
attached to ports, it has no effect.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
13
Implementing Layer-2 Multicast with IGMP Snooping
IGMP Snooping Configuration at the Bridge Domain Level
The above parameters are specific to MC-LAG feature. These are apart from the existing bridge domain level
parameters such as count, MRT, and query interval. For more information about these CLI, refer the
Cisco ASR 9000 Series Aggregation Services Router Multicast Command Reference.
Note For IGMP snooping to work on MC-LAG properly, the IGMP snooping configuration on both the
POAs must be the same.
In the case of downstream MC-LAG, when MC-LAG is configured and up and running, the MC-LAG
port has to be added in IGMP Snooping enabled Bridge-domain.
In the case of upstream MC-LAG, where POAs are attached to multicast router, the static mrouter
port has to be configured on the multicast router that is towards both the POAs so that traffic is drawn
to both the POAs.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
14
Implementing Layer-2 Multicast with IGMP Snooping
IGMP Snooping Configuration at the Host Port Level
Immediate-Leave
See the Group Leave Processing, on page 11.
Static Groups
IGMP snooping learns Layer-2 multicast groups dynamically. You can also statically configure Layer-2
multicast groups.
You can use the static group command in profiles intended for bridge domains or ports. I f you configure
this option in a profile attached to a bridge domain, it applies to all ports under the bridge.
A profile can contain multiple static groups. You can define different source addresses for the same group
address. Using the source keyword, you can configure IGMPv3 source groups.
Static group membership supersedes any dynamic manipulation by IGMP snooping. Multicast group
membership lists can contain both static and dynamic group definitions.
When you configure a static group or source groups on a port, IGMP snooping adds the port as an outgoing
port to the corresponding <S/*,G> forwarding entry and sends an IGMPv2 join or IGMPv3 report to all
mrouter ports. IGMP snooping continues to send the membership report in response to general queries for as
long as the static group remains configured on the port.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
15
Implementing Layer-2 Multicast with IGMP Snooping
Internal Querier
Internal Querier
internal-querier max-response-time 10
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
16
Implementing Layer-2 Multicast with IGMP Snooping
Internal Querier
internal-querier version 3
You can disable the internal querier (using the no form of the internal-querier command) without removing
any other internal querier commands. The additional internal querier commands are ignored in that case.
The scope for the internal-querier command is per bridge domain. If the command appears in profiles attached
to ports, it has no effect.
Note The default internal-querier timer expiry command value is derived from the values of other configuration
options, as described in Table 4: Internal Querier Default Configuration Values, on page 16. You can
configure a different value to override the default calculation.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
17
Implementing Layer-2 Multicast with IGMP Snooping
How to Configure IGMP Snooping
Note You can configure the internal querier to ignore global leaves by setting the internal querier TCN query
count to 0.
1. configure
2. igmp snooping profile profile-name
3. Optionally, add commands to override default configuration values.
4. commit
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
18
Implementing Layer-2 Multicast with IGMP Snooping
Attaching a Profile and Activating IGMP Snooping on a Bridge Domain
DETAILED STEPS
Step 3 Optionally, add commands to If you are creating a bridge domain profile, consider the following:
override default configuration
values. An empty profile is appropriate for attaching to a bridge domain. An empty
profile enables IGMP snooping with default configuration values.
You can optionally add more commands to the profile to override default
configuration values.
If you include port-specific configurations in a bridge domain profile, the
configurations apply to all ports under the bridge, unless another profile is
attached to a port.
You can detach a profile, change it, and reattach it to add commands to a profile at
a later time.
Step 4 commit
Where to Go Next
You must attach a profile to a bridge domain or to a port to have it take effect. See one of the following tasks:
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
19
Implementing Layer-2 Multicast with IGMP Snooping
Attaching a Profile and Activating IGMP Snooping on a Bridge Domain
SUMMARY STEPS
1. configure
2. l2vpn
3. bridge group bridge-group-name
4. bridge-domain bridge-domain-name
5. igmp snooping profile profile-name
6. commit
7. show igmp snooping bridge-domain detail
8. show l2vpn bridge-domain detail
DETAILED STEPS
Example:
RP/0/RSP0/CPU0:router(config)# l2vpn
Step 3 bridge group bridge-group-name Enters Layer 2 VPN VPLS bridge group configuration
mode for the named bridge group.
Example:
RP/0/RSP0/CPU0:router(config-l2vpn)# bridge
group GRP1
Step 4 bridge-domain bridge-domain-name Enters Layer 2 VPN VPLS bridge group bridge domain
configuration mode for the named bridge domain.
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg)#
bridge-domain ISP1
Step 5 igmp snooping profile profile-name Attaches the named IGMP snooping profile to the bridge
domain, enabling IGMP snooping on the bridge domain.
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)# igmp
snooping profile default-bd-profile
Step 6 commit
Step 7 show igmp snooping bridge-domain detail (Optional) Verifies that IGMP snooping is enabled on a
bridge domain and shows the IGMP snooping profile names
Example: attached to bridge domains and ports.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
20
Implementing Layer-2 Multicast with IGMP Snooping
Detaching a Profile and Deactivating IGMP Snooping on a Bridge Domain
Step 8 show l2vpn bridge-domain detail (Optional) Verifies that IGMP snooping is implemented
in the forwarding plane (Layer 2) on a bridge domain.
Example:
RP/0/RSP0/CPU0:router# show l2vpn bridge-domain
Note A bridge domain can have only one profile attached to it at a time.
SUMMARY STEPS
1. configure
2. l2vpn
3. bridge group bridge-group-name
4. bridge-domain bridge-domain-name
5. no igmp snooping
6. commit
7. show igmp snooping bridge-domain detail
8. show l2vpn bridge-domain detail
DETAILED STEPS
Example:
RP/0/RSP0/CPU0:router(config)# l2vpn
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
21
Implementing Layer-2 Multicast with IGMP Snooping
Attaching and Detaching Profiles to Ports Under a Bridge
Step 4 bridge-domain bridge-domain-name Enters Layer 2 VPN VPLS bridge group bridge domain
configuration mode for the named bridge domain.
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg)#
bridge-domain ISP1
Step 5 no igmp snooping Detaches the IGMP snooping profile from the bridge domain,
disabling IGMP snooping on that bridge domain.
Example: Note Only one profile can be attached to a bridge domain
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)# at a time. If a profile is attached, IGMP snooping is
no igmp snooping enabled. If a profile is not attached, IGMP snooping
is disabled.
Step 6 commit
Step 7 show igmp snooping bridge-domain detail (Optional) Verifies that IGMP snooping is disabled on a bridge
domain.
Example:
RP/0/RSP0/CPU0:router# show igmp snooping
bridge-domain detail
Step 8 show l2vpn bridge-domain detail (Optional) Verifies that IGMP snooping is disabled in the
forwarding plane (Layer 2) on a bridge domain.
Example:
RP/0/RSP0/CPU0:router# show l2vpn
bridge-domain
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
22
Implementing Layer-2 Multicast with IGMP Snooping
Attaching and Detaching Profiles to Ports Under a Bridge
SUMMARY STEPS
1. configure
2. l2vpn
3. bridge group bridge-group-name
4. bridge-domain bridge-domain-name
5. interface interface-type interface-number
6. Do one of the following:
igmp snooping profile profile-name
no igmp snooping
7. commit
8. show igmp snooping bridge-domain detail
9. show l2vpn bridge-domain detail
DETAILED STEPS
Example:
RP/0/RSP0/CPU0:router(config)# l2vpn
Step 3 bridge group bridge-group-name Enters Layer 2 VPN bridge group configuration mode for
the named bridge group.
Example:
RP/0/RSP0/CPU0:router(config-l2vpn)# bridge
group GRP1
Step 4 bridge-domain bridge-domain-name Enters Layer 2 VPN bridge group bridge domain
configuration mode for the named bridge domain.
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg)#
bridge-domain ISP1
Step 5 interface interface-type interface-number Enters Layer 2 VPN VPLS bridge group bridge domain
interface configuration mode for the named interface or PW.
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)#
interface gig 1/1/1/1
Step 6 Do one of the following: Attaches the named IGMP snooping profile to the port.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
23
Implementing Layer-2 Multicast with IGMP Snooping
Adding Static Mrouter Configuration to a Profile
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-if)#
igmp snooping profile mrouter-port-profile
Step 7 commit
Step 8 show igmp snooping bridge-domain detail (Optional) Verifies that IGMP snooping is enabled on a
bridge domain and shows the IGMP snooping profile names
Example: attached to bridge domains and ports.
Step 9 show l2vpn bridge-domain detail (Optional) Verifies that IGMP snooping is implemented in
the forwarding plane (Layer 2) on a bridge domain.
Example:
RP/0/RSP0/CPU0:router# show l2vpn bridge-domain
Note Static mrouter port configuration is a port-level option and should be added to profiles intended for ports.
It is not recommended to add mrouter port configuration to a profile intended for bridge domains.
SUMMARY STEPS
1. configure
2. igmp snooping profile profile-name
3. mrouter
4. commit
5. show igmp snooping profile profile-name detail
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
24
Implementing Layer-2 Multicast with IGMP Snooping
Adding Router Guard to a Profile
DETAILED STEPS
Example:
RP/0/RSP0/CPU0:router(config-igmp-snooping-profile)#
mrouter
Step 4 commit
Step 5 show igmp snooping profile profile-name detail (Optional) Displays the configuration settings in
the named profile.
Example:
RP/0/RSP0/CPU0:router# show igmp snooping profile
mrouter-port-profile detail
Where to Go Next
Attach the profile to ports to complete static mrouter configuration. See the Attaching and Detaching Profiles
to Ports Under a Bridge, on page 22.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
25
Implementing Layer-2 Multicast with IGMP Snooping
Adding Router Guard to a Profile
Note Router guard configuration is a port-level option and should be added to profiles intended for ports. It is
not recommended to add router guard configuration to a profile intended for bridge domains. To do so
would prevent all mrouters, including IGMP queriers, from being discovered in the bridge domain.
SUMMARY STEPS
1. configure
2. igmp snooping profile profile-name
3. router-guard
4. commit
5. show igmp snooping profile profile-name detail
DETAILED STEPS
Example:
RP/0/RSP0/CPU0:router(config-igmp-snooping-profile)#
router-guard
Step 4 commit
Step 5 show igmp snooping profile profile-name detail (Optional) Displays the configuration settings in
the named profile.
Example:
RP/0/RSP0/CPU0:router# show igmp snooping profile
host-port-profile detail
Where to Go Next
Attach the profile to ports to complete router guard configuration. See the Attaching and Detaching Profiles
to Ports Under a Bridge, on page 22.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
26
Implementing Layer-2 Multicast with IGMP Snooping
Configuring Immediate-Leave
Configuring Immediate-Leave
To add the IGMP snooping immediate-leave option to an IGMP snooping profile, follow these steps.
SUMMARY STEPS
1. configure
2. igmp snooping profile profile-name
3. immediate-leave
4. commit
5. show igmp snooping profile profile-name detail
DETAILED STEPS
Step 4 commit
Step 5 show igmp snooping profile profile-name detail (Optional) Displays the configuration settings in the
named profile.
Example:
RP/0/RSP0/CPU0:router# show igmp snooping profile
host-port-profile detail
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
27
Implementing Layer-2 Multicast with IGMP Snooping
Configuring Static Groups
Where to Go Next
Attach the profile to bridge domains or ports to complete immediate-leave configuration. See one of the
following sections:
SUMMARY STEPS
1. configure
2. igmp snooping profile profile-name
3. static-group group-addr [source source-addr]
4. Repeat the previous step, as needed, to add more static groups.
5. commit
6. show igmp snooping profile profile-name detail
DETAILED STEPS
Step 4 Repeat the previous step, as needed, to add more static (Optional) Adds additional static groups.
groups.
Step 5 commit
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
28
Implementing Layer-2 Multicast with IGMP Snooping
Configuring an Internal Querier
Where to Go Next
Attach the profile to bridge domains or ports to complete static-group configuration. See one of the following
sections:
SUMMARY STEPS
1. configure
2. igmp snooping profile profile-name
3. system-ip-address ip-addr
4. internal-querier
5. commit
6. show igmp snooping profile profile-name detail
DETAILED STEPS
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
29
Implementing Layer-2 Multicast with IGMP Snooping
Verifying Multicast Forwarding
Step 4 internal-querier Enables an internal querier with default values for all
options.
Example:
RP/0/RSP0/CPU0:router(config-igmp-snooping-
profile)# internal-querier
Step 5 commit
Step 6 show igmp snooping profile profile-name detail (Optional) Displays the configuration settings in the
named profile.
Example:
RP/0/RSP0/CPU0:router# show igmp snooping profile
internal-querier-profile detail
Where to Go Next
Attach the profile to a bridge domain to complete internal querier configuration.
See Attaching a Profile and Activating IGMP Snooping on a Bridge Domain, on page 19.
1. configure
2. show l2vpn forwarding bridge-domain [bridge-group-name:bridge-domain-name] mroute ipv4 [detail]
[hardware {ingress | egress}] location node-id
3. show l2vpn forwarding bridge-domain [bridge-group-name:bridge-domain-name] mroute ipv4 summary
location node-id
DETAILED STEPS
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
30
Implementing Layer-2 Multicast with IGMP Snooping
Configuring Group Limits
Step 3 show l2vpn forwarding bridge-domain Displays summary-level information about multicast routes
[bridge-group-name:bridge-domain-name] mroute ipv4 as stored in the forwarding plane forwarding tables. Use
summary location node-id optional arguments to limit the display to specific bridge
domains.
Example:
RP/0/RSP0/CPU0:router# show l2vpn forwarding
bridge-domain bridgeGroup1:ABC mroute ipv4 summary
location 0/3/CPU0
Configuring route-policy
SUMMARY STEPS
1. configure
2. route-policy policy-name
3. end-policy
4. commit
DETAILED STEPS
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
31
Implementing Layer-2 Multicast with IGMP Snooping
Configuring Group Limits
Example:
RP/0/RSP0/CPU0:router(config-rpl)# end-policy
Step 4 commit
SUMMARY STEPS
1. configure
2. igmp snooping profile profile-name
3. group policy policy-name
4. group limit range
5. commit
DETAILED STEPS
Step 3 group policy policy-name Specifies the configured route-policy to set the
group weight.
Example:
RP/0/RSP0/CPU0:router(config-igmp-snooping-profile)#
group policy policy1
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
32
Implementing Layer-2 Multicast with IGMP Snooping
Configuring access-groups
Step 5 commit
Configuring access-groups
This task instructs IGMP Snoop to apply the specified access-list filter(s) to receive membership reports.
The user needs to create and configure access-lists before configuring the access-groups. For detailed
configuration procedures, for creating and configuring standard and extended access-lists, refer to the Cisco
ASR 9000 Series Aggregation Services Router IP Addresses and Services Configuration Guide.
SUMMARY STEPS
1. configure
2. igmp snooping profile profile-name
3. access-group acl-name
4. commit
DETAILED STEPS
Example:
RP/0/RSP0/CPU0:router(config-igmp-snooping-profile)#
access-group acl1
Step 4 commit
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
33
Implementing Layer-2 Multicast with IGMP Snooping
Configuration Examples for IGMP Snooping
interface GigabitEthernet0/8/0/38
negotiation auto
l2transport
no shut
!
!
interface GigabitEthernet0/8/0/39
negotiation auto
l2transport
no shut
!
!
3 Add interfaces to the bridge domain. Attach bridge_profile to the bridge domain and port_profile to one
of the Ethernet interfaces. The second Ethernet interface inherits IGMP snooping configuration attributes
from the bridge domain profile.
l2vpn
bridge group bg1
bridge-domain bd1
igmp snooping profile bridge_profile
interface GigabitEthernet0/8/0/38
igmp snooping profile port_profile
interface GigabitEthernet0/8/0/39
!
!
!
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
34
Implementing Layer-2 Multicast with IGMP Snooping
Configuring IGMP Snooping on VLAN Interfaces Under a Bridge: Example
interface GigabitEthernet0/8/0/8
negotiation auto
no shut
!
!
interface GigabitEthernet0/8/0/8.1 l2transport
encapsulation dot1q 1001
mtu 1514
!
!
interface GigabitEthernet0/8/0/8.2 l2transport
encapsulation dot1q 1002
mtu 1514
!
!
3 Attach a profile and add interfaces to the bridge domain. Attach a profile to one of the interfaces. The
other interface inherits IGMP snooping configuration attributes from the bridge domain profile.
l2vpn
bridge group bg1
bridge-domain bd1
igmp snooping profile bridge_profile
interface GigabitEthernet0/8/0/8.1
igmp snooping profile port_profile
interface GigabitEthernet0/8/0/8.2
!
!
!
interface Port-channel1
!
interface GigabitEthernet0/0/0/0
!
interface GigabitEthernet0/0/0/1
!
interface GigabitEthernet0/0/0/2
channel-group 1 mode on
!
interface GigabitEthernet0/0/0/3
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
35
Implementing Layer-2 Multicast with IGMP Snooping
Configuring IGMP Snooping on Ethernet Bundles Under a Bridge: Example
channel-group 1 mode on
!
interface GigabitEthernet0/0/0/0
bundle id 1 mode on
negotiation auto
!
interface GigabitEthernet0/0/0/1
bundle id 1 mode on
negotiation auto
!
interface GigabitEthernet0/0/0/2
bundle id 2 mode on
negotiation auto
!
interface GigabitEthernet0/0/0/3
bundle id 2 mode on
negotiation auto
!
interface Bundle-Ether 1
l2transport
!
!
interface Bundle-Ether 2
l2transport
!
!
5 Add the interfaces to the bridge domain and attach IGMP snooping profiles.
l2vpn
bridge group bg1
bridge-domain bd1
igmp snooping profile bridge_profile
interface bundle-Ether 1
igmp snooping profile port_profile
interface bundle-Ether 2
!
!
!
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
36
Implementing Layer-2 Multicast with IGMP Snooping
Configuring IGMP Snooping on VFIs Under a Bridge: Example
PE1 Configuration
1 Configure IGMP snooping profiles.
2 Configure interfaces.
interface Loopback0
ipv4 address 10.1.1.1 255.255.255.255
!
interface GigabitEthernet0/2/0/9
ipv4 address 10.10.10.1 255.255.255.0
negotiation auto
!
interface GigabitEthernet0/2/0/39
negotiation auto
l2transport
!
router ospf 1
log adjacency changes
router-id 10.1.1.1
area 0
interface Loopback0
!
interface GigabitEthernet0/2/0/9
!
!
!
mpls ldp
router-id 10.1.1.1
log neighbor
!
interface GigabitEthernet0/2/0/9
!
!
5 Configure a bridge domain, enable IGMP snooping on the bridge, and add the interfaces to the bridge
domain.
l2vpn
pw-class atom-dyn
encapsulation mpls
protocol ldp
!
!
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
37
Implementing Layer-2 Multicast with IGMP Snooping
Configuring IGMP Snooping on VFIs Under a Bridge: Example
PE2 Configuration
1 Configure the IGMP profiles.
2 Configure interfaces.
interface Loopback0
ipv4 address 10.2.2.2 255.255.255.255
!
interface GigabitEthernet0/2/0/9
ipv4 address 10.10.10.1 255.255.255.0
negotiation auto
!
interface GigabitEthernet0/2/0/39
negotiation auto
l2transport
!
3 Configure OSPF.
router ospf 1
log adjacency changes
router-id 10.2.2.2
area 0
interface Loopback0
!
interface GigabitEthernet0/2/0/9
!
!
!
4 Configure LDP.
mpls ldp
router-id 10.2.2.2
log neighbor
!
interface GigabitEthernet0/2/0/9
!
!
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
38
Implementing Layer-2 Multicast with IGMP Snooping
Configuring IGMP access-groups
5 Add interfaces to the bridge domain and attach IGMP snooping profiles.
l2vpn
pw-class atom-dyn
encapsulation mpls
protocol ldp
!
!
IGMP routing also supports access-groups using the igmp access-group command. It uses simple IP
access-groups to specify group address filters. In order to support source-group filters as well as group filters,
IGMP Snooping requires extended IP access-lists.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
39
Implementing Layer-2 Multicast with IGMP Snooping
Configuring IGMP Snooping over MCLAG: Example
DHD:
1 Configure a bundle towards POA1 and POA2. This device will be masked from the existence of 2 POAs.
The bundle considers that it is connected to a single POA.
interface Bundle-Ether10
description interface towards POAs
lacp switchover suppress-flaps 100
bundle maximum-active links 1
l2transport
!
interface GigabitEthernet0/0/0/28
description interface towards POA1
bundle id 10 mode active
!
interface GigabitEthernet0/0/0/29
description interface towards POA2
bundle id 10 mode active
!
2 Joins coming to this must be forwarded to POAs over bundle. So, configuring the incoming port (host
port) and bundle in L2VPN BD (without snooping).
l2vpn
bridge group bg1
bridge-domain bg1_bd1
interface Bundle-Ether10
!
interface GigabitEthernet0/0/0/10
!
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
40
Implementing Layer-2 Multicast with IGMP Snooping
Configuring IGMP Snooping over MCLAG: Example
POA1:
1 Configure interfaces (for OSPF and MPLS LDP)
interface Loopback0
interface GigabitEthernet0/2/0/1
description interface towards POA2
ipv4 address 10.0.0.1 255.255.255.0
negotiation auto
interface GigabitEthernet0/2/0/8
negotiation auto
router ospf 1
router-id 20.20.20.20
nsf cisco
area 0
interface Loopback0
!
interface GigabitEthernet0/2/0/1
!
interface GigabitEthernet0/2/0/8
!
mpls ldp
router-id 20.20.20.20
graceful-restart
interface GigabitEthernet0/2/0/1
!
interface GigabitEthernet0/2/0/8
interface Bundle-Ether10
description interface towards DHD
lacp switchover suppress-flaps 100
mlacp iccp-group 1
mlacp switchover recovery-delay 60
mlacp port-priority 1
mac-address 0.aaaa.1111
bundle wait-while 0
l2transport
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
41
Implementing Layer-2 Multicast with IGMP Snooping
Configuring IGMP Snooping over MCLAG: Example
!
interface GigabitEthernet0/2/0/29
bundle id 10 mode active
!
redundancy
iccp
group 1
mlacp node 1
mlacp system mac 0000.aaaa.0000
mlacp system priority 1
member
neighbor 30.30.30.30
!
backbone
interface GigabitEthernet0/2/0/8
!
!
6 Enable IGMP Snooping in the L2VPN BD which includes MCLAG bundle towards DHD and PW towards
PE:
l2vpn
bridge group bg1
bridge-domain bg1_bd1
igmp snooping profile p1
interface Bundle-Ether10
!
vfi bg1_bd1_vfi
neighbor 40.40.40.40 pw-id 1
POA2:
1 Configure interfaces (for OSPF and MPLS LDP)
interface Loopback0
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
42
Implementing Layer-2 Multicast with IGMP Snooping
Configuring IGMP Snooping over MCLAG: Example
interface GigabitEthernet0/0/0/1
description interface towards POA1
ipv4 address 10.0.0.2 255.255.255.0
negotiation auto
!
interface GigabitEthernet0/0/0/8
description interface towards PE
ipv4 address 10.0.2.1 255.255.255.0
negotiation auto
!
router ospf 1
router-id 30.30.30.30
nsf cisco
area 0
interface Loopback0
!
interface GigabitEthernet0/0/0/1
!
interface GigabitEthernet0/0/0/8
!
!
!
mpls ldp
router-id 30.30.30.30
graceful-restart
interface GigabitEthernet0/0/0/1
!
interface GigabitEthernet0/0/0/8
interface Bundle-Ether10
description interface towards DHD
lacp switchover suppress-flaps 100
mlacp iccp-group 1
mlacp switchover recovery-delay 60
mlacp port-priority 2
mac-address 0.aaaa.1111
bundle wait-while 0
l2transport
!
interface GigabitEthernet0/0/0/28
bundle id 10 mode active
redundancy
iccp
group 1
mlacp node 2
mlacp system mac 0000.aaaa.0000
mlacp system priority 1
member
neighbor 20.20.20.20
!
backbone
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
43
Implementing Layer-2 Multicast with IGMP Snooping
Configuring IGMP Snooping over MCLAG: Example
interface GigabitEthernet0/0/0/8
!
!
!
!
6 Enable IGMP Snooping in the L2VPN BD which includes MCLAG bundle towards DHD and PW towards
PE:
l2vpn
bridge group bg1
bridge-domain bg1_bd1
igmp snooping profile p1
interface Bundle-Ether10
!
vfi bg1_bd1_vfi
neighbor 40.40.40.40 pw-id 1
PE:
1 Configure Interfaces :
interface Loopback0
ipv4 address 40.40.40.40 255.255.255.255
!
interface GigabitEthernet0/0/0/8
description interface towards POA1
ipv4 address 10.0.1.2 255.255.255.0
negotiation auto
!
interface GigabitEthernet0/0/0/9
description interface towards POA2
ipv4 address 10.0.2.2 255.255.255.0
negotiation auto
!
interface GigabitEthernet0/0/0/20
description interface towards Multicast Router
l2transport
!
!
router ospf 1
router-id 40.40.40.40
nsf cisco
area 0
interface Loopback0
!
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
44
Implementing Layer-2 Multicast with IGMP Snooping
Configuring IGMP Snooping over MCLAG: Example
interface GigabitEthernet0/0/0/8
!
interface GigabitEthernet0/0/0/9
!
!
!
mpls ldp
router-id 40.40.40.40
graceful-restart
interface GigabitEthernet0/0/0/8
!
interface GigabitEthernet0/0/0/9
!
!
l2vpn
bridge group bg1
bridge-domain bg1_bd1
igmp snooping profile p1
interface GigabitEthernet0/0/0/20
!
vfi bg1_bd1_vfi
neighbor 20.20.20.20 pw-id 1
!
neighbor 30.30.30.30 pw-id 1
!
!
!
interface Bundle-Ether10
description interface towards POAs
ipv4 address 100.0.0.1 255.255.255.0
lacp switchover suppress-flaps 100
bundle maximum-active links 1
!
interface GigabitEthernet0/0/0/28
description interface towards POA1
bundle id 10 mode active
!
interface GigabitEthernet0/0/0/29
description interface towards POA2
bundle id 10 mode active
!
multicast-routing
address-family ipv4
interface Bundle-Ether10
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
45
Implementing Layer-2 Multicast with IGMP Snooping
Configuring IGMP Snooping over MCLAG: Example
enable
!
!
!
POA1:
1 Configure interfaces (for OSPF and MPLS LDP).
interface Loopback0
ipv4 address 20.20.20.20 255.255.255.255
!
interface GigabitEthernet0/2/0/1
description interface towards POA2
ipv4 address 10.0.0.1 255.255.255.0
negotiation auto
!
interface GigabitEthernet0/2/0/8
description interface towards PE
ipv4 address 10.0.1.1 255.255.255.0
negotiation auto
!
router ospf 1
router-id 20.20.20.20
nsf cisco
area 0
interface Loopback0
!
interface GigabitEthernet0/2/0/1
!
interface GigabitEthernet0/2/0/8
!
!
!
mpls ldp
router-id 20.20.20.20
graceful-restart
interface GigabitEthernet0/2/0/1
!
interface GigabitEthernet0/2/0/8
!
!
interface Bundle-Ether10
description interface towards DHD
lacp switchover suppress-flaps 100
mlacp iccp-group 1
mlacp switchover recovery-delay 60
mlacp port-priority 1
mac-address 0.aaaa.1111
bundle wait-while 0
l2transport
!
!
interface GigabitEthernet0/2/0/29
bundle id 10 mode active
!
redundancy
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
46
Implementing Layer-2 Multicast with IGMP Snooping
Configuring IGMP Snooping over MCLAG: Example
iccp
group 1
mlacp node 1
mlacp system mac 0000.aaaa.0000
mlacp system priority 1
member
neighbor 30.30.30.30
!
backbone
interface GigabitEthernet0/2/0/8
!
!
!
!
l2vpn
bridge group bg1
bridge-domain bg1_bd1
igmp snooping profile p1
interface Bundle-Ether10
!
vfi bg1_bd1_vfi
neighbor 40.40.40.40 pw-id 1
!
!
!
!
!
POA2:
1 Configure interfaces (for OSPF and MPLS LDP).
interface Loopback0
ipv4 address 30.30.30.30 255.255.255.255
!
interface GigabitEthernet0/0/0/1
description interface towards POA1
ipv4 address 10.0.0.2 255.255.255.0
negotiation auto
!
interface GigabitEthernet0/0/0/8
description interface towards PE
ipv4 address 10.0.2.1 255.255.255.0
negotiation auto
!
2 Configure OSPF and MPLS LDP:
router ospf 1
router-id 30.30.30.30
nsf cisco
area 0
interface Loopback0
!
interface GigabitEthernet0/0/0/1
!
interface GigabitEthernet0/0/0/8
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
47
Implementing Layer-2 Multicast with IGMP Snooping
Configuring IGMP Snooping over MCLAG: Example
!
!
!
mpls ldp
router-id 30.30.30.30
graceful-restart
interface GigabitEthernet0/0/0/1
!
interface GigabitEthernet0/0/0/8
!
!
interface Bundle-Ether10
description interface towards DHD
lacp switchover suppress-flaps 100
mlacp iccp-group 1
mlacp switchover recovery-delay 60
mlacp port-priority 2
mac-address 0.aaaa.1111
bundle wait-while 0
l2transport
!
!
interface GigabitEthernet0/0/0/28
bundle id 10 mode active
!
4 Configure redundancy group for MCLAG:
redundancy
iccp
group 1
mlacp node 2
mlacp system mac 0000.aaaa.0000
mlacp system priority 1
member
neighbor 20.20.20.20
!
backbone
interface GigabitEthernet0/0/0/8
!
!
!
l2vpn
bridge group bg1
bridge-domain bg1_bd1
igmp snooping profile p1
interface Bundle-Ether10
!
vfi bg1_bd1_vfi
neighbor 40.40.40.40 pw-id 1
!
!
!
!
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
48
Implementing Layer-2 Multicast with IGMP Snooping
Configuring IGMP Snooping over MCLAG: Example
PE:
1 Configure interfaces:
interface Loopback0
ipv4 address 40.40.40.40 255.255.255.255
!
interface GigabitEthernet0/0/0/8
description interface towards POA1
ipv4 address 10.0.1.2 255.255.255.0
negotiation auto
!
interface GigabitEthernet0/0/0/9
description interface towards POA2
ipv4 address 10.0.2.2 255.255.255.0
negotiation auto
!
interface GigabitEthernet0/0/0/20
description interface towards Host
l2transport
!
!
router ospf 1
router-id 40.40.40.40
nsf cisco
area 0
interface Loopback0
!
interface GigabitEthernet0/0/0/8
!
interface GigabitEthernet0/0/0/9
!
!
!
mpls ldp
router-id 40.40.40.40
graceful-restart
interface GigabitEthernet0/0/0/8
!
interface GigabitEthernet0/0/0/9
!
!
l2vpn
bridge group bg1
bridge-domain bg1_bd1
igmp snooping profile p1
interface GigabitEthernet0/0/0/20
!
vfi bg1_bd1_vfi
neighbor 20.20.20.20 pw-id 1
igmp snooping profile p2
!
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
49
Implementing Layer-2 Multicast with IGMP Snooping
Additional References
Additional References
Related Documents
Getting started information Cisco ASR 9000 Series Aggregation Services Router
Getting Started Guide
Configuring EFPs and EFP bundles Cisco ASR 9000 Series Aggregation Services Router
Interface and Hardware Component Configuration
Guide
Standards
1
Standards Title
No new or modified standards are supported by this
feature, and support for existing standards has not
been modified by this feature.
MIBs
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
50
Implementing Layer-2 Multicast with IGMP Snooping
Additional References
RFCs
RFCs Title
RFC-4541 Considerations for Internet Group Management
Protocol (IGMP) and Multicast Listener Discovery
(MLD) Snooping Switches
Technical Assistance
Description Link
The Cisco Technical Support website contains http://www.cisco.com/techsupport
thousands of pages of searchable technical content,
including links to products, technologies, solutions,
technical tips, and tools. Registered Cisco.com users
can log in from this page to access even more content.
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
51
Implementing Layer-2 Multicast with IGMP Snooping
Additional References
Cisco ASR 9000 Series Aggregation Services Router Multicast Configuration Guide, Release 4.2.x
52