From: OzgurG@garanti.com.tr
Date: Sat Jan 10 2004 - 05:37:58 GMT-3
what you are seeing is the expected behavior...
the rp-list you have on rp-announce-filter command
access-list 1 deny 10.224.1.2
access-list 1 permit 10.224.1.1
means:
dont do any filtering for 10.224.1.2
and apply the filter for the rp 10.224.1.1 for the groups specified int the group-list.
so 10.224.1.2 is not filtered and is selected as the rp for the group it advertises.
if you dont want 10.224.1.2 to be advertised as an rp for the specified group list,
(i assume that is what you were expecting that time)
you should write another rp-announce-filter statement for 10.224.1.2
or you can even not advertise 10.224.1.2 as the rp for those groups,
during ip pim send-rp-announce config on R2.
Ozgur
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of William Chen
Sent: Thursday, January 08, 2004 7:43 PM
To: ccielab@groupstudy.com
Subject: Multicast RP-Announce Filter.
Dear all,
I try to test the rp-announce-filter of a the mappping-agent of Auto-RP,
however I don't see it work as expected. Are there anything I am missing or
there is an IOS feature. Please help,
- William Chen
Porkpie#sh ver
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-JK8OS-L), Version 12.2(1d), RELEASE SOFTWARE
(fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Sun 03-Feb-02 22:01 by srani
Image text-base: 0x0307EEE0, data-base: 0x00001000
ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-RXBOOT), Version 10.2(8a), RELEASE
SOFTWARE (fc1)
Porkpie uptime is 2 hours, 2 minutes
System returned to ROM by power-on
System image file is "flash:/c2500-jk8os-l.122-1d.bin"
cisco 2505 (68030) processor (revision C) with 16384K/2048K bytes of memory.
Processor board ID 02957633, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
TN3270 Emulation software.
1 Ethernet/IEEE 802.3 interface(s)
8 Ethernet/IEEE 802.3 repeater port(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)
Configuration register is 0x2102
Porkpie#sh run
Building configuration...
Current configuration : 1919 bytes
!
version 12.2
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Porkpie
!
logging rate-limit console 10 except errors
!
ip subnet-zero
no ip finger
no ip domain-lookup
!
ip multicast-routing
no ip dhcp-client network-discovery
!
!
!
!
hub ether 0 1
link-test
auto-polarity
!
hub ether 0 2
link-test
auto-polarity
!
hub ether 0 3
link-test
auto-polarity
!
hub ether 0 4
link-test
auto-polarity
!
hub ether 0 5
link-test
auto-polarity
!
hub ether 0 6
link-test
auto-polarity
!
hub ether 0 7
link-test
auto-polarity
!
hub ether 0 8
link-test
auto-polarity
!
interface Loopback0
ip address 10.224.1.3 255.255.255.255
ip pim sparse-dense-mode
!
interface Ethernet0
ip address 10.1.2.1 255.255.255.0
ip pim sparse-dense-mode
ip ospf cost 10
!
interface Serial0
no ip address
encapsulation frame-relay
!
interface Serial0.605 point-to-point
ip address 10.2.4.1 255.255.255.0
ip pim sparse-dense-mode
ip ospf cost 10
frame-relay interface-dlci 300
!
interface Serial1
no ip address
encapsulation frame-relay
!
interface Serial1.609 point-to-point
ip address 10.2.3.2 255.255.255.0
ip pim sparse-dense-mode
ip ospf cost 10
frame-relay interface-dlci 200
!
router ospf 1
log-adjacency-changes
network 10.0.0.0 0.255.255.255 area 0
distance ospf intra-area 99
!
ip kerberos source-interface any
ip classless
ip http server
ip pim rp-announce-filter rp-list 1 group-list 11
ip pim send-rp-discovery Loopback0 scope 5
!
access-list 1 deny 10.224.1.2
access-list 1 permit 10.224.1.1
access-list 11 permit 238.0.0.0 0.255.255.255
!
alias exec ib sh ip int brief | ex unassigned
alias exec o sh ip ospf
alias exec on sh ip ospf nei
alias exec b sh ip bgp
alias exec r sh ip route
alias exec e sh ip eigrp
alias exec c sh run
!
line con 0
transport input none
line aux 0
line vty 0 4
login
!
end
Porkpie#sh ip pim rp map
PIM Group-to-RP Mappings
This system is an RP-mapping agent (Loopback0)
Group(s) 238.0.0.0/8
RP 10.224.1.2 (?), v2v1
Info source: 10.224.1.2 (?), via Auto-RP
Uptime: 00:06:43, expires: 00:02:13
RP 10.224.1.1 (?), v2v1
Info source: 10.224.1.1 (?), via Auto-RP
Uptime: 00:06:46, expires: 00:02:09
Porkpie#clear ip pim rp-map
Porkpie#sh ip pim rp map
PIM Group-to-RP Mappings
This system is an RP-mapping agent (Loopback0)
Porkpie#sh ip pim rp map
PIM Group-to-RP Mappings
This system is an RP-mapping agent (Loopback0)
Group(s) 238.0.0.0/8
RP 10.224.1.2 (?), v2v1
Info source: 10.224.1.2 (?), via Auto-RP
Uptime: 00:00:19, expires: 00:02:40
RP 10.224.1.1 (?), v2v1
Info source: 10.224.1.1 (?), via Auto-RP
Uptime: 00:00:22, expires: 00:02:34
Porkpie#
This archive was generated by hypermail 2.1.4 : Mon Feb 02 2004 - 09:07:39 GMT-3