ASR9k version 5.2.2 pim

Started by sergeyrar, June 14, 2017, 09:03:27 AM

Previous topic - Next topic

sergeyrar

Hi,

I want to configure basic PIM-SM on Cisco ASR9k.
I just want to bring up a neighbor using PIM, and then statically join a multicast group on some of its other ports to trigger pim join upstream towards the RP (statically configured).

Searched the web everywhere, found only very complex examples with hundreds of pages with TMI....

Would appreciate any help.


Tried this but it doesn't work -


RP/0/RSP0/CPU0:ASR9k-1(config)#multicast-routing
RP/0/RSP0/CPU0:ASR9k-1(config)#router pim interface tenGigE 0/0/2/0 enable
RP/0/RSP0/CPU0:ASR9k-1(config)#router pim rp-address 30.30.30.30
RP/0/RSP0/CPU0:ASR9k-1(config)#router igmp interface loopback 0 static-group 225.1.1.1


PIM is off on all interfaces ->
RP/0/RSP0/CPU0:ASR9k-1#show pim interface
Wed Jun 14 08:06:39.184 Jerusalem

PIM interfaces in VRF default
Address               Interface                     PIM  Nbr   Hello  DR    DR
                                                         Count Intvl  Prior

3.3.3.3               Loopback0                     off  0     30     1     not elected
10.3.30.3             TenGigE0/0/2/0                off  0     30     1     not elected
100.129.101.101       TenGigE0/0/2/1                off  0     30     1     not elected
10.3.107.3            TenGigE0/0/2/2                off  0     30     1     not elected
100.104.101.101       TenGigE0/0/2/3                off  0     30     1     not elected
1.1.1.100             TenGigE0/0/2/0.10             off  0     30     1     not elected






mlan

Apologies if you already have this configured, but it caught my eye:

QuoteUnderstanding Enabling and Disabling Interfaces

When the Cisco IOS XR multicast routing feature is configured on your router, by default, no interfaces are enabled.

To enable multicast routing and protocols on a single interface or multiple interfaces, you must explicitly enable interfaces using the interface command in multicast routing configuration mode.

To set up multicast routing on all interfaces, enter the interface all command in multicast routing configuration mode. For any interface to be fully enabled for multicast routing, it must be enabled specifically (or be default) in multicast routing configuration mode, and it must not be disabled in the PIM and IGMP/MLD configuration modes.

For example, in the following configuration, all interfaces are explicitly configured from multicast routing configuration submode:
RP/0/RSP0/CPU0:router(config)# multicast-routing
RP/0/RSP0/CPU0:router(config-mcast)# interface all enable


To disable an interface that was globally configured from the multicast routing configuration submode, enter interface configuration submode, as illustrated in the following example:
RP/0/RSP0/CPU0:router(config-mcast)# interface GigabitEthernet0/1/0/0
RP/0/RSP0/CPU0:router(config-mcast-default-ipv4-if)# disable

from: http://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k_r4-1/multicast/configuration/guide/mcast_cg41asr9k/mc41mcst.html#pgfId-1091762

wintermute000

That's no different from IOS - you had to manually enable PIM on interfaces as well as ip multicast-routing. I think what he's after is HOW to enable it?

sergeyrar

Quote from: wintermute000 on June 15, 2017, 02:09:22 AM
That's no different from IOS - you had to manually enable PIM on interfaces as well as ip multicast-routing. I think what he's after is HOW to enable it?

Yep, I see no option to enable it per interface.
Perhaps i'm not supposed to. The syntax is a bit different I guess.

mlan

Yeah, the syntax would imply you have to enable it globally for all interfaces, and then disable specific interfaces that would not participate in mcast routing.