cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3714
Views
0
Helpful
1
Replies

IPv6 BGP prefix-list filtering

ibrahim235
Level 1
Level 1

Dears,

I have  established iBGP seesion between 2 routers (R1 ---- R2) and I want to  advertise loopback interface /128 using ipv prifex filtering, but didnt  advertise to neighbor loopback . it is working fine with network or redistribute command but I want to know why it is not working with

prefix-list filtering?

Configuration:

router bgp 100

neighbor 2001:100:1:1::2 remote-as 100

!

address-family ipv6

neighbor 2001:100:1:1::2 activate

neighbor 2001:100:1:1::2 prefix-list IPV6 out

no synchronization

exit-address-family

int lo 100

ipv address 2001:500:1:1::1/128

ipv6 prefix-list IPV6 seq 10 permit 2001:500:1:1::1/128

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

router bgp 100

neighbor 2001:100:1:1::1 remote-as 100

!

address-family ipv6

neighbor 2001:100:1:1::1 activate

neighbor 2001:100:1:1::1 prefix-list TEST out

no synchronization

exit-address-family

int lo 100

ipv address 2001:600:1:1::1/128

ipv6 prefix-list TEST seq 10 permit 2001:600:1:1::1/128

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

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd

2001:100:1:1::1 4 100   49236   49191        5    0    0 04:03:21        0

1 Reply 1

John Blakley
VIP Alumni
VIP Alumni

Even though you're using a prefix list, the prefix list is used for filtering and not advertising the network. You still have to advertise the network using "network 2001:600:1:1::1/128" and you should see it.

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***