Wired Networks

How to configure, verify and troubleshoot IGMP and PIM-SM functionality

What is IGMP?


The Mobility Access Switch supports Internet Group Management Protocol (IGMP) as defined in IETF RFC 1112 (IGMPv1) and RFC 2236 (IGMPv2). IGMP allows hosts and adjacent routers on IP networks to establish multicast group memberships.

 

What is PIM?

Protocol-Independent Multicast (PIM) is a family of multicast routing protocols for Internet Protocol (IP) networks that provide one-to-many and many-to-many distribution of data over a LAN, WAN or the Internet. It is termed protocol-independent because PIM does not include its own topology discovery mechanism, but instead uses routing information supplied by other traditional routing protocols such as the Border Gateway Protocol (BGP). There are four variants of PIM, of which theMobility Access Switch supports PIM Sparse Mode (PIM-SM).

What is PIM-SM?

PIM Sparse mode (PIM-SM) explicitly builds unidirectional shared trees rooted at a rendezvous point (RP) per group, and optionally creates shortest-path trees per source. PIM-SM generally scales fairly well for wide-area usage. PIM-SM is useful for routing multicast streams between VLANs, subnets, or local area networks (LANs) in applications such as IPTV.

rtaImage.png

IGMP Config:

To configure an IGMP profile, follow these steps:

    1.     Configure an IGMP profile under an interface profile.
             (host) (config) #interface-profile igmp-profile igmp1
             (host) (Interface IGMP profile "igmp1") #
    
     2.     Enable IGMP profile (default is enabled).
             (host) (Interface IGMP profile "igmp1") #no disable
    
     3.     Assign IGMP profile to a VLAN interface.
             (host) (Interface IGMP profile "igmp1") #interface vlan 2
             (host) (vlan "2") #igmp-profile igmp1
    
      4.     Verify the VLAN interface.
              (host) (vlan "2") #show interface-config vlan 2


vlan "2"
--------

Parameter Value
--------- -----

Interface OSPF profile ospf-a0

Interface PIM profile default

Interface IGMP profile igmp1

Interface shutdown Disabled

mtu 1500

IP Address 20.1.1.4/255.255.255.0

IPv6 Address N/A

IPv6 link local Address N/A

DHCP client Disabled

DHCP relay profile N/A

Interface description N/A

To configure PIM-SIM end to end, follow these steps:
    1.     Create a VLAN.
            (host)(config) #vlan 7
            (host)(VLAN "7") #exit
    
    2.     Create an interface-profile switching-profile profile to associate with a physical interface.
            (host)(config) #interface-profile switching-profile ip-sp-profile
   
    3.     Add an access-vlan to set the VLAN when interface is in access mode.
            (host)(switching profile "ip-sp-profile") #access-vlan 7
            (host)(switching profile "ip-sp-profile") #exit
    
    4.     Associate the interface-profile switching-profile with a physical interface profile.
            (host)(config) #interface gigabitethernet 0/0/0
            (host)(gigabitethernet "0/0/0") #switching-profile ip-sp-profile
            (host)(gigabitethernet "0/0/0") #exit
    
    5.     Create the routed VLAN interface (RVI).
            (host)(config) #interface vlan 7
            (host)(vlan "7") #
    
    6.     Assign an IP address to the routed VLAN interface (RVI).
            (host)(vlan "7") #ip address 20.2.1.1 netmask 255.255.255.0
    
    7.     Associate the "default" PIM profile with the routed VLAN interface (RVI).
            (host)(vlan "7") #pim-profile default
            (host)(vlan "7") #exit
    
    8.     Use the router pim command to enter Global PIM profile mode and define the RP address and group range.
            (host)(config) #router pim
            (host)(Global PIM profile) #rp-address 224.0.0.1 group-range 225.0.0.0 255.0.0.0

 

To Verify PIM Sparse Mode follow the method suggested below,

Displaying PIM RPF Information

 

(host) #show ip pim rpf 10.10.10.10

 

PIM RPF Information

 

-------------------

 

Address Nexthop RPF Interface

 

------- ------- -------------

 

10.10.10.10 20.20.1.9 vlan20

 

 Displaying PIM Neighbor Information

 

To display PIM neighbor information, use the following command:

 

(host)# show ip pim neighbor

 

PIM Neighbor Information

 

------------------------

 

Interface Neighbor IP UpTime Expiry

 

--------- ----------- ------ ------

 

vlan11 11.11.22.22 07:58:51 08:00:20
 

 

 Displaying PIM RP Information

 

To display PIM RP information, use the following command:

 

(host)# show ip pim rp

 

PIM RP-Group Mapping

 

--------------------

 

Group/Prefix RP

 

------------ --

 

224.0.0.0/4 11.11.22.22
 

 

 Displaying PIM Mroute Information

 

To display PIM Mroute information, use the following command:

 

(host)# show ip pim mroute

 

IP Multicast Route Table

 

Flags: D - Dense, S - Sparse, C - Connected, L - Local,

 

P - Pruned, R - RP-bit set, T - SPT bit set, F - Register Flag

 

J - Join SPT, A - Assert Winner

 

(*,224.1.1.6) 14:20:11 RP 11.11.22.22 flags:

 

Incoming Interface: vlan11 RPF nbr: 11.11.22.22

 

Outgoing Interface List:

 

vlan22, 14:20:11

 

(22.22.99.99,230.1.1.1) 14:17:20 RP 11.11.22.22 flags: T

 

Incoming Interface: vlan22 RPF nbr: 22.22.99.99

 

Outgoing Interface List:

 

vlan11, 14:17:20
 

Displaying PIM Statistical Information

 

To display PIM statistical information, use the following command:

 

(host)# show ip pim stats

 

PIM Statistics

 

--------------

 

Interface Counter Value

 

--------- ------- -----

 

vlan11 Rx Hellos 0056

 

Rx Join/Prune 0000

 

Rx Join 0000

 

Rx Prune 0000

 

Rx Register-Stop 0000

 

Tx Hellos 0057

 

Tx Join/Prune 0016

 

Tx Join 0000

 

Tx Prunes 0000

 

Tx Register 0000

 

Invalid Hellos 0000

 

Invalid Join/Prune 0000

 

Invalid Join 0000

 

Invalid Prune 0000

 

Invalid Register 0000

 

Invalid Register-Stop 0000

 

 

Version history
Revision #:
1 of 1
Last update:
‎11-04-2014 01:09 PM
Updated by:
 
Labels (1)
Contributors
Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.