OcNOS SP : Layer 2 Guide : Layer 2 Configuration Guide : Support IGMP Snooping for Provider Bridge
Support IGMP Snooping for Provider Bridge
Overview
In Layer-2 switches, multicast IP traffic is handled in the same manner as broadcast traffic and forwards frames received on one interface to all other interfaces. This creates excessive traffic on the network, and affects network performance. The Internet Group Management Protocol (IGMP) Snooping allows switches to monitor network traffic, and determine hosts to receive multicast traffic. Thus, at a time only an host’s membership report is relayed from a group instead of a report from each host in the group.
A Provider Bridge (PB) network is a virtual bridge Local Area Network (LAN) that comprises of Service provider bridges (SVLAN and PB) and attached LANs controlled under a single service provider administration. Provider bridges interconnect the MACs of the IEEE 802 LANs separately. This combined provider bridged network relay frames to all the connected LANs that provide customer interfaces for each service instance.
Feature Characteristics
The existing IGMP Snooping extended to support in the Provider Bridged (PB) network. The PB connects customer LANs using the switched provider network consisting of SVLAN bridges and provider edge bridges. Each customer LAN is connected to a separate service VLAN inside the provider network. Current release supports the IGMPv1/IGMPv2/IGMPv3.
The following are supported:
Snooping entries are captured in provider bridge network
Egress traffic from router is tagged with single SVLAN ID
IGMP snooping feature supported only in SVLAN
Benefits
This feature enables a Provider bridging network service provider to conserve bandwidth by efficiently switching the multicast packets.
Prerequisites
IGMP snooping is available over a number of network underlays. In this chapter, it is assumed that Provider Bridge support is configured.
Configuration
Topology
IGMP Snooping Provider Bridge Topology
R1
#configure terminal
Enter the configure mode.
R1(config)#bridge 1 protocol provider-rstp edge
Configure bridge 1 to the spanning-tree table.
R1(config)#vlan database
Configure the VLAN database.
R1(config)#vlan 2 type service point-point bridge 1 state enable
Configure the SVLAN 2 to bridge 1.
R1(config)#ip multicast-routing
Configure the multicast routing on the router.
R1(config)#ip pim rp-address 1.1.1.1
Configure Rendezvous Point (RP) address for multicast groups.
R1(config)#interface lo
Enter into lo interface.
R1(config-if)#ip address 1.1.1.1/24 secondary
Configure rp address as secondary.
R1(config-if)#ip pim sparse-mode
Enable the PIM sparse mode.
R1(config-if)#exit
Exit the loopback interface mode.
R1(config)#interface svlan1.2
Create the SVLAN interface.
R1(config-if)#ip address 20.1.1.1/24
Configure IPv4 address to VLAN interface.
R1(config-if)#ip pim sparse-mode
Configure PIM sparse mode.
R1(config-if)#exit
Exit the SVLAN interface mode.
R1(config)#interface xe1
Enter interface mode.
R1(config-if)#ip address 10.1.1.1/24
Configure IPv4 address to interface
R1(config-if)#ip pim sparse-mode
Configure PIM sparse mode.
R1(config-if)#commit
Commit the configurations.
R1(config-if)#exit
Exit the interface mode.
R1(config)#interface xe57
Enter interface mode.
R1(config-if)#switchport
Configure switchport.
R1(config-if)#dot1ad ethertype 0x8100
Configure ether type 0x8100.
R1(config-if)#bridge-group 1 spanning-tree disable
Configure bridge group.
R1(config-if)#switchport mode provider-network
Configure switchport trunk mode.
R1(config-if)#switchport provider-network allowed vlan add 2
Configure the VLAN to switchport trunk mode.
R1(config-if)#commit
Commit configurations
PE1
 
#configure terminal
Enter the configure mode.
PE1(config)#bridge 1 protocol provider-rstp edge
Configure bridge 1 to the spanning-tree table.
PE1(config)#vlan database
Configure the VLAN database.
PE1(config)#vlan 2 type service point-point bridge 1 state enable
Configure the SVLAN 2 to bridge 1.
PE1(config)#ip multicast-routing
Configure the multicast routing on the router.
PE1(config)#interface svlan1.2
Create VLAN interface.
PE1(config-if)#igmp snooping enable
Configure IPv4 address to VLAN interface .
PE1PE1(config-if)#exit
Exit the interface mode.
PE1(config)#interface xe3
Enter interface mode.
PE1(config-if)#switchport
Configure Switchport.
PE1(config-if)#dot1ad ethertype 0x8100
Configure ethertype.
PE1(config-if)#bridge-group 1 spanning-tree disable
Configure bridge group spanning tree disable .
PE1(config-if)#switchport mode provider-network
Configure provider network .
PE1(config-if)#switchport provider-network allowed vlan add 2
Configure the SVLAN to interface .
PE1(config-if)#commit
Commit configurations.
PE1(config-if)#exit
Exit the interface mode.
PE1(config)#interface xe47
Enter interface mode.
PE1(config-if)#switchport
Configure switchport
PE1(config-if)#dot1ad ethertype 0x8100
Configure ethertype.
PE1(config-if)#bridge-group 1 spanning-tree disable
Configure bridge group spanning tree disable.
PE1(config-if)#switchport mode provider-network
Configure provider network.
PE1(config-if)#switchport provider-network allowed vlan add 2
Configure service vlan to provider network.
PE1(config-if)#commit
Commit configurations.
PE1(config-if)#exit
Exit the interface mode.
PE
#configure terminal
Enter the configure mode.
PE(config)#bridge 1 protocol provider-rstp edge
Configure bridge 1 to the spanning-tree table.
PE(config)#vlan database
Configure the VLAN database
PE(config)#vlan 2 type service point-point bridge 1 state enable
Configure the SVLAN 2 to bridge 1.
PE(config)#ip multicast-routing
Configure the multicast routing on the router.
PE(config)#interface svlan1.2
Create VLAN interface.
PE(config-if)#igmp snooping enable
Configure IPv4 address to VLAN interface.
PE(config-if)#exit
Exit the interface mode.
PE(config)#interface xe2
Enter interface mode.
PE(config-if)#switchport
Configure Switchport
PE(config-if)#dot1ad ethertype 0x8100
Configure ethertype
PE(config-if)#bridge-group 1 spanning-tree disable
Configure bridge group spanning tree disable.
PE(config-if)#switchport mode provider-network
Configure provider network.
PE(config-if)#switchport provider-network allowed vlan add 2
Configure the SVLAN to interface.
PE(config-if)#commit
Commit configurations.
PE(config-if)#exit
Exit the interface mode.
PE(config)#interface xe7
Enter interface mode.
PE(config-if)#switchport
Configure switchport.
PE(config-if)#dot1ad ethertype 0x8100
Configure ethertype.
PE(config-if)#bridge-group 1 spanning-tree disable
Configure bridge group spanning tree disable.
PE(config-if)#switchport mode provider-network
Configure provider network.
PE(config-if)#switchport provider-network allowed vlan add 2
Configure service vlan to provider network.
PE(config-if)#commit
Commit configurations.
PE(config-if)#exit
Exit the interface mode.
 
PE2
#configure terminal
Enter the configure mode.
PE2(config)#bridge 1 protocol provider-rstp edge
Configure bridge 1 to the spanning-tree table.
PE2(config)#vlan database
Configure the VLAN database.
PE2(config)#vlan 2 type service point-point bridge 1 state enable
Configure the SVLAN 2 to bridge 1.
PE2(config)#ip multicast-routing
Configure the multicast routing on the router.
PE2(config)#interface svlan1.2
Create VLAN interface.
PE2(config-if)#igmp snooping enable
Enable the IGMP snooping on VLAN interface.
PE2(config-if)#exit
Exit the VLAN interface mode.
PE2(config)#interface xe7
Enter interface mode.
PE2(config-if)#switchport
Configure Switchport.
PE2(config-if)#dot1ad ethertype 0x8100
Configure ethertype.
PE2(config-if)#bridge-group 1 spanning-tree disable
Configure bridge group spanning tree disable.
PE2(config-if)#switchport mode provider-network
Configure provider network.
PE2(config-if)#switchport provider-network allowed vlan add 2
Configure the SVLAN to interface.
PE2(config-if)#commit
Commit configurations.
PE2(config-if)#exit
Exit the interface mode.
PE2(config)#interface xe20
Enter interface mode.
PE2(config-if)#switchport
Configure switchport.
PE2(config-if)#dot1ad ethertype 0x8100
Configure ethertype.
PE2(config-if)#bridge-group 1 spanning-tree disable
Configure bridge group spanning tree disable.
PE2(config-if)#switchport mode provider-network
Configure provider network.
PE2(config-if)#switchport provider-network allowed vlan add 2
Configure service VLAN to provider network.
PE2(config-if)#commit
Commit configurations.
PE2(config-if)#exit
Exit the interface mode.
PE2(config)#interface xe22
Enter interface mode.
PE2(config-if)#switchport
Configure switchport.
PE2(config-if)#dot1ad ethertype 0x8100
Configure ethertype.
PE2(config-if)#bridge-group 1 spanning-tree disable
Configure bridge group spanning tree disable.
PE2(config-if)#switchport mode provider-network
Configure provider network.
PE2(config-if)#switchport provider-network allowed vlan add 2
Configure service VLAN to provider network.
PE2(config-if)#commit
Commit configurations.
PE2(config-if)#exit
Exit the interface mode.
 
Validation
R1
MCRTR#show ip igmp groups
IGMP Instance wide G-Recs Count is: 2
IGMP Connected Group Membership
Group Address Interface Uptime Expires State Last Reporter
231.1.1.1 svlan1.2 00:00:12 00:04:07 Active 0.0.0.0
231.1.1.2 svlan1.2 00:00:12 00:04:07 Active 0.0.0.0
MCRTR#
MCRTR#show ip pim mroute
IP Multicast Routing Table
 
(*,*,RP) Entries: 0
G/prefix Entries: 0
(*,G) Entries: 2
(S,G) Entries: 0
(S,G,rpt) Entries: 0
FCR Entries: 0
 
(*, 231.1.1.1)
RP: 1.1.1.1
RPF nbr: 0.0.0.0
RPF idx: None
Upstream State: JOINED
Local ..i.............................
Joined ................................
Asserted ................................
FCR:
 
(*, 231.1.1.2)
RP: 1.1.1.1
RPF nbr: 0.0.0.0
RPF idx: None
Upstream State: JOINED
Local ..i.............................
Joined ................................
Asserted ................................
FCR:
 
MCRTR#
PE1
PEB1-7014#show igmp snooping interface
Global IGMP Snooping information
IGMP Snooping Enabled
IGMPv1/v2 Report suppression Enabled
IGMPv3 Report suppression Enabled
 
IGMP Snooping information for svlan1.2
IGMP Snooping enabled
Snooping Querier none
IGMP Snooping other querier timeout is 255 seconds
Group Membership interval is 260 seconds
IGMPv2 fast-leave is disabled
IGMPv1/v2 Report suppression enabled
IGMPv3 Report suppression enabled
Router port detection using IGMP Queries
Number of router-ports: 1
Number of Groups: 0
Number of v1-reports: 0
Number of v2-reports: 0
Number of v2-leaves: 0
Number of v3-reports: 0
Active Ports:
xe3
xe47
PEB1-7014#show igmp snooping groups
IGMP Instance wide G-Recs Count is: 2
IGMP Snooping Group Membership
Group source list: (R - Remote, S - Static, > - Hw Installed)
Vlan Group/Source Address Interface Flags Uptime Expires Last Reporter Version
2 231.1.1.1 xe47 R > 00:07:15 00:03:48 0.0.0.0 V3
2 231.1.1.2 xe47 R > 00:07:15 00:03:48 0.0.0.0 V3
PEB1-7014#
 
PE
PB-7024#show igmp snooping interface
Global IGMP Snooping information
IGMP Snooping Enabled
IGMPv1/v2 Report suppression Enabled
IGMPv3 Report suppression Enabled
 
IGMP Snooping information for svlan1.2
IGMP Snooping enabled
Snooping Querier none
IGMP Snooping other querier timeout is 255 seconds
Group Membership interval is 260 seconds
IGMPv2 fast-leave is disabled
IGMPv1/v2 Report suppression enabled
IGMPv3 Report suppression enabled
Router port detection using IGMP Queries
Number of router-ports: 1
Number of Groups: 0
Number of v1-reports: 0
Number of v2-reports: 0
Number of v2-leaves: 0
Number of v3-reports: 0
Active Ports:
xe7
xe2
PB-7024#
PB-7024#show igmp snooping groups
IGMP Instance wide G-Recs Count is: 2
IGMP Snooping Group Membership
Group source list: (R - Remote, S - Static, > - Hw Installed)
Vlan Group/Source Address Interface Flags Uptime Expires Last Reporter Version
2 231.1.1.1 xe7 R > 00:07:15 00:03:45 20.1.1.2 V3
2 231.1.1.2 xe7 R > 00:07:15 00:03:51 20.1.1.3 V3
PB-7024#
 
PE2
PEB2-7019#show igmp snooping interface
Global IGMP Snooping information
IGMP Snooping Enabled
IGMPv1/v2 Report suppression Disabled
IGMPv3 Report suppression Disabled
 
IGMP Snooping information for svlan1.2
IGMP Snooping enabled
Snooping Querier none
IGMP Snooping other querier timeout is 255 seconds
Group Membership interval is 260 seconds
IGMPv2 fast-leave is disabled
IGMPv1/v2 Report suppression disabled
IGMPv3 Report suppression disabled
Router port detection using IGMP Queries
Number of router-ports: 1
Number of Groups: 0
Number of v1-reports: 0
Number of v2-reports: 0
Number of v2-leaves: 0
Number of v3-reports: 0
Active Ports:
xe20
xe26
xe7
PEB2-7019#
PEB2-7019#show igmp snooping groups
IGMP Instance wide G-Recs Count is: 2
IGMP Snooping Group Membership
Group source list: (R - Remote, S - Static, > - Hw Installed)
Vlan Group/Source Address Interface Flags Uptime Expires Last Reporter Version
2 231.1.1.1 xe20 R > 00:07:14 00:03:45 20.1.1.2 V3
2 231.1.1.2 xe26 R > 00:07:15 00:03:51 20.1.1.3 V3
PEB2-7019#
Abbreviations
Table 28-5:  
Acronym
Description
IGMP
Internet Group Management Protocol
PB
Provider Bridged
SVLAN
Service Provider VLAN