Friday, October 29, 2010

LAB: Configuring Anycast RP


Anycast RP is a method of allowing the mapping of a single group to multiple RPs, RPs can be distributed throughout the domaint & use the same RP address resulting a creation of Virtual RP. MSDP is critical part to the creation of Virtual RP.



=============
CONFIGS
=============

ip multicast-routin
!
interface Loopback0
ip address 10.100.1.1 255.255.255.255
!
interface Loopback5
ip address 10.100.254.1 255.255.255.255
ip pim sparse-dense-mode
!
interface Ethernet0/0
ip address 10.10.0.1 255.255.255.252
full-duplex
!
interface Ethernet0/1
ip address 10.10.0.14 255.255.255.252
full-duplex
!
router ospf 1
router-id 10.100.1.1
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
!
router bgp 6500
bgp router-id 10.100.1.1
bgp log-neighbor-changes
neighbor Boogeymen peer-group
neighbor Boogeymen remote-as 6500
neighbor Boogeymen update-source Loopback0
neighbor 10.100.1.2 peer-group Boogeymen
neighbor 10.100.1.3 peer-group Boogeymen
neighbor 10.100.1.4 peer-group Boogeymen
!
address-family ipv4
neighbor 10.100.1.2 activate
neighbor 10.100.1.3 activate
neighbor 10.100.1.4 activate
no auto-summary
no synchronization
exit-address-family
!
address-family ipv4 multicast
neighbor 10.100.1.2 activate
neighbor 10.100.1.3 activate
neighbor 10.100.1.4 activate
no auto-summary
no synchronization
exit-address-family
!
ip http server
ip forward-protocol nd
!
!
ip pim send-rp-announce Loopback5 scope 20
ip pim send-rp-discovery Loopback5 scope 20
ip msdp peer 10.100.1.3 connect-source Loopback0
ip msdp description 10.100.1.3 to Mummy
ip msdp peer 10.100.1.2 connect-source Loopback0
ip msdp description 10.100.1.2 to Wolfman
ip msdp peer 10.100.1.4 connect-source Loopback0
ip msdp description 10.100.1.4 to Dracula
ip msdp originator-id Loopback0
ip msdp mesh-group Boogeymen 10.100.1.3
ip msdp mesh-group Boogeymen 10.100.1.2
ip msdp mesh-group Boogeymen 10.100.1.4
!
end


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

hostname wolfman
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
interface Loopback0
ip address 10.100.1.2 255.255.255.255
!
interface Loopback5
ip address 10.100.254.1 255.255.255.255
ip pim sparse-dense-mode
!
interface Ethernet0/0
ip address 10.10.0.2 255.255.255.252
full-duplex
!
interface Ethernet0/1
ip address 10.10.0.5 255.255.255.252
full-duplex
!
router ospf 1
router-id 10.100.1.2
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
!
router bgp 6500
bgp router-id 10.100.1.2
bgp log-neighbor-changes
neighbor Boogeymen peer-group
neighbor Boogeymen remote-as 6500
neighbor Boogeymen update-source Loopback0
neighbor 10.100.1.1 peer-group Boogeymen
neighbor 10.100.1.3 peer-group Boogeymen
neighbor 10.100.1.4 peer-group Boogeymen
!
address-family ipv4
neighbor 10.100.1.1 activate
neighbor 10.100.1.3 activate
neighbor 10.100.1.4 activate
no auto-summary
no synchronization
exit-address-family
!
address-family ipv4 multicast
neighbor 10.100.1.1 activate
neighbor 10.100.1.3 activate
neighbor 10.100.1.4 activate
no auto-summary
no synchronization
exit-address-family
!
ip http server
ip forward-protocol nd
!
!
ip pim send-rp-announce Loopback5 scope 20
ip pim send-rp-discovery Loopback5 scope 20
ip msdp peer 10.100.1.1 connect-source Loopback0
ip msdp description 10.100.1.1 to Frankenstein
ip msdp peer 10.100.1.3 connect-source Loopback0
ip msdp description 10.100.1.3 to Mummy
ip msdp peer 10.100.1.4 connect-source Loopback0
ip msdp description 10.100.1.4 to Dracula
ip msdp originator-id Loopback0
ip msdp mesh-group Boogeymen 10.100.1.1
ip msdp mesh-group Boogeymen 10.100.1.3
ip msdp mesh-group Boogeymen 10.100.1.4
!
end


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

hostname mummy
!
!
interface Loopback0
ip address 10.100.1.4 255.255.255.255
!
interface Loopback5
ip address 10.100.254.1 255.255.255.255
ip pim sparse-dense-mode
!
interface Ethernet0/0
ip address 10.10.0.10 255.255.255.252
full-duplex
!
interface Ethernet0/1
ip address 10.10.0.13 255.255.255.252
full-duplex
!
router ospf 1
router-id 10.100.1.3
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
!
router bgp 6500
bgp router-id 10.100.1.3
bgp log-neighbor-changes
neighbor Boogeymen peer-group
neighbor Boogeymen remote-as 6500
neighbor Boogeymen update-source Loopback0
neighbor 10.100.1.1 peer-group Boogeymen
neighbor 10.100.1.2 peer-group Boogeymen
!
address-family ipv4
neighbor 10.100.1.1 activate
neighbor 10.100.1.2 activate
no auto-summary
no synchronization
exit-address-family
!
address-family ipv4 multicast
neighbor 10.100.1.1 activate
neighbor 10.100.1.2 activate
no auto-summary
no synchronization
exit-address-family
!
ip http server
ip forward-protocol nd
!
!
ip pim send-rp-announce Loopback5 scope 20
ip pim send-rp-discovery Loopback5 scope 20
ip msdp peer 10.100.1.1 connect-source Loopback0
ip msdp description 10.100.1.1 to Frankenstein
ip msdp peer 10.100.1.2 connect-source Loopback0
ip msdp description 10.100.1.2 to Wolfman
ip msdp originator-id Loopback0
ip msdp mesh-group Boogeymen 10.100.1.1
ip msdp mesh-group Boogeymen 10.100.1.2


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

hostname dracula
!
ip multicast-routing
!
!
interface Loopback0
ip address 10.100.1.3 255.255.255.255
!
interface Loopback5
ip address 10.100.254.1 255.255.255.255
ip pim sparse-dense-mode
!
interface Ethernet0/0
ip address 10.10.0.6 255.255.255.252
full-duplex
!
interface Ethernet0/1
ip address 10.10.0.9 255.255.255.252
full-duplex
!
!
router ospf 1
router-id 10.100.1.4
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
!
router bgp 6500
bgp router-id 10.100.1.4
bgp log-neighbor-changes
neighbor Boogeymen peer-group
neighbor Boogeymen remote-as 6500
neighbor Boogeymen update-source Loopback0
neighbor 10.100.1.1 peer-group Boogeymen
neighbor 10.100.1.2 peer-group Boogeymen
!
address-family ipv4
neighbor 10.100.1.1 activate
neighbor 10.100.1.2 activate
no auto-summary
no synchronization
exit-address-family
!
address-family ipv4 multicast
neighbor 10.100.1.1 activate
neighbor 10.100.1.2 activate
no auto-summary
no synchronization
exit-address-family
!
ip http server
ip forward-protocol nd
!
!
ip pim send-rp-announce Loopback5 scope 20
ip pim send-rp-discovery Loopback5 scope 20
ip msdp peer 10.100.1.1 connect-source Loopback0
ip msdp description 10.100.1.1 to Frankenstein
ip msdp peer 10.100.1.2 connect-source Loopback0
ip msdp description 10.100.1.2 to Wolfman
ip msdp originator-id Loopback0
ip msdp mesh-group Boogeymen 10.100.1.1
ip msdp mesh-group Boogeymen 10.100.1.2
!
end


=====================
SHOW COMMANDS
=====================

frankenstein#show ip msdp peer
MSDP Peer 10.100.1.3 (?), AS 6500
Description: to Mummy
Connection status:
State: Up, Resets: 0, Connection source: Loopback0 (10.100.1.1)
Uptime(Downtime): 02:53:22, Messages sent/received: 174/174
Output messages discarded: 0
Connection and counters cleared 02:54:22 ago
Peer is member of mesh-group Boogeymen
SA Filtering:
Input (S,G) filter: none, route-map: none
Input RP filter: none, route-map: none
Output (S,G) filter: none, route-map: none
Output RP filter: none, route-map: none
SA-Requests:
Input filter: none
Peer ttl threshold: 0
SAs learned from this peer: 0
Input queue size: 0, Output queue size: 0
Message counters:
RPF Failure count: 0
SA Messages in/out: 0/0
SA Requests in: 0
SA Responses out: 0
Data Packets in/out: 0/0
MSDP Peer 10.100.1.2 (?), AS 6500
Description: to Wolfman
Connection status:
State: Up, Resets: 0, Connection source: Loopback0 (10.100.1.1)
Uptime(Downtime): 02:53:33, Messages sent/received: 174/174
Output messages discarded: 0
Connection and counters cleared 02:54:33 ago
Peer is member of mesh-group Boogeymen
SA Filtering:
Input (S,G) filter: none, route-map: none
Input RP filter: none, route-map: none
Output (S,G) filter: none, route-map: none
Output RP filter: none, route-map: none
SA-Requests:
Input filter: none
Peer ttl threshold: 0
SAs learned from this peer: 0
Input queue size: 0, Output queue size: 0
Message counters:
RPF Failure count: 0
SA Messages in/out: 0/0
SA Requests in: 0
SA Responses out: 0
Data Packets in/out: 0/0
MSDP Peer 10.100.1.4 (?), AS 6500
Description: to Dracula
Connection status:
State: Up, Resets: 0, Connection source: Loopback0 (10.100.1.1)
Uptime(Downtime): 02:53:36, Messages sent/received: 174/174
Output messages discarded: 0
Connection and counters cleared 02:54:37 ago
Peer is member of mesh-group Boogeymen
SA Filtering:
Input (S,G) filter: none, route-map: none
Input RP filter: none, route-map: none
Output (S,G) filter: none, route-map: none
Output RP filter: none, route-map: none
SA-Requests:
Input filter: none
Peer ttl threshold: 0
SAs learned from this peer: 0
Input queue size: 0, Output queue size: 0
Message counters:
RPF Failure count: 0
SA Messages in/out: 0/0
SA Requests in: 0
SA Responses out: 0
Data Packets in/out: 0/0
frankenstein# show ip pim rp

frankenstein# show ip pim rp ?
Hostname or A.B.C.D IP name or group address
mapping Show group-to-RP mappings
metric Show RP RPF metric
| Output modifiers


frankenstein# show ip pim rp mapping
PIM Group-to-RP Mappings
This system is an RP (Auto-RP)
This system is an RP-mapping agent (Loopback5)

Group(s) 224.0.0.0/4
RP 10.100.254.1 (?), v2v1
Info source: 10.100.254.1 (?), elected via Auto-RP
Uptime: 02:50:02, expires: 00:02:10



wolfman#show ip pim rp mapping
PIM Group-to-RP Mappings
This system is an RP (Auto-RP)
This system is an RP-mapping agent (Loopback5)

Group(s) 224.0.0.0/4
RP 10.100.254.1 (?), v2v1
Info source: 10.100.254.1 (?), elected via Auto-RP
Uptime: 02:47:45, expires: 00:02:31

mummy#show ip pim rp mapping
PIM Group-to-RP Mappings
This system is an RP (Auto-RP)
This system is an RP-mapping agent (Loopback5)

Group(s) 224.0.0.0/4
RP 10.100.254.1 (?), v2v1
Info source: 10.100.254.1 (?), elected via Auto-RP
Uptime: 02:45:16, expires: 00:01:59


dracula#show ip pim rp mapping
PIM Group-to-RP Mappings
This system is an RP (Auto-RP)
This system is an RP-mapping agent (Loopback5)

Group(s) 224.0.0.0/4
RP 10.100.254.1 (?), v2v1
Info source: 10.100.254.1 (?), elected via Auto-RP
Uptime: 02:43:54, expires: 00:02:16


No comments:

Post a Comment