Monday, November 24, 2014

Multicast - Auto-RP

Overview

The Cisco auto rp features allows for the election one or more RP's rather then having to statically map the address. To configure the autorp feature two commands are needed.

  • ip pim send-rp-discovery interface_address scope number
  • ip pim send-rp-announce interface_address scope number
The first command is to establish the mapping agent which is responsible for listening to the group 224.0.1.39 for rp announcements and caching the rp to group mappings and sending those rp to group mappings to the 224.0.1.39 group. The second commands is configured on the rp candidate and is elected based on high ip address.
  
Concepts tested
  • Pim sparse dense mode configuration
  • Configuring single auto-rp router
  • Verifying configuration
Topology
  













Lab Tasks

  • Configure ip pim sparse-dense-mode on the paths between the receiver and source routers.
  • Using Cisco's autorp make R4 the RP for all groups.
  • Configure the receiver to join the group 239.1.1.1 on its g0/0 interface and confirm your configuration by having the source router ping this group successfully.


GNS3 configuration file, requires IOS v15 for the 7200 router: Link


Solution

Receiver(config)#ip multicast-routing
Receiver(config)#int g0/0
Receiver(config-if)#ip pim sparse-dense-mode
Receiver(config-if)#ip igmp join-group 239.1.1.1
 

R2(config)#ip multicast-routing
R2(config)#int loopback 0
R2(config-if)#ip pim sparse-dense-mode
R2(config)#int g0/0
R2(config-if)#ip pim sparse-dense-mode
R2(config)#int s2/0
R2(config-if)#ip pim sparse-dense-mode
R2(config)#ip pim send-rp-discovery loopback 0 scope 10

R3(config)#ip multicast-routing
R3(config)#int g0/0
R3(config-if)#ip pim sparse-dense-mode
R3(config-if)#int g1/0
R3(config-if)#ip pim sparse-dense-mode
R3(config-if)#int loopback 0
R3(config-if)#ip pim sparse-dense-mode
R3(config)#ip pim send-rp-discovery loopback 0 scope 10

R4(config)#int g1/0
R4(config-if)#ip pim sparse-dense-mode
R4(config)#int g2/0
R4(config-if)#ip pim sparse-dense-mode
R4(config)#int loopback 0
R4(config)#ip pim sparse-dense-mode
R4(config)#ip pim send-rp-announce loopback 0 scope 10
R4(config)#ip pim send-rp-discovery loopback 0 scope 10
  
Verification

Source#ping 239.1.1.1 rep 20
Type escape sequence to abort.
Sending 20, 100-byte ICMP Echos to 239.1.1.1, timeout is 2 seconds:
Reply to request 0 from 120.0.0.1, 196 ms
Reply to request 1 from 120.0.0.1, 64 ms
Reply to request 2 from 120.0.0.1, 72 ms
Reply to request 3 from 120.0.0.1, 84 ms
Reply to request 4 from 120.0.0.1, 104 ms
Reply to request 5 from 120.0.0.1, 56 ms
...

R4#sh ip mroute 239.1.1.1
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
       L - Local, P - Pruned, R - RP-bit set, F - Register flag,
       T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
       X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
       U - URD, I - Received Source Specific Host Report,
       Z - Multicast Tunnel, z - MDT-data group sender,
       Y - Joined MDT-data group, y - Sending to MDT-data group,
       V - RD & Vector, v - Vector
Outgoing interface flags: H - Hardware switched, A - Assert winner
 Timers: Uptime/Expires
 Interface state: Interface, Next-Hop or VCD, State/Mode

(*, 239.1.1.1), 00:00:14/stopped, RP 0.0.0.0, flags: D
  Incoming interface: Null, RPF nbr 0.0.0.0
  Outgoing interface list:
    GigabitEthernet1/0, Forward/Sparse-Dense, 00:00:14/00:00:00

(120.0.45.5, 239.1.1.1), 00:00:14/00:02:46, flags: T
  Incoming interface: GigabitEthernet2/0, RPF nbr 0.0.0.0
  Outgoing interface list:
    GigabitEthernet1/0, Forward/Sparse-Dense, 00:00:14/00:00:00
 








 

No comments:

Post a Comment