Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

BGP+ outbound routing policy in IPv6 address-family

I've configured IOS as instructed:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123cgcr/ipv6_c/sa_bgpv6.htm#wp1041906

address-family ipv6

neighbor 2001:490:F00:A::2 activate

neighbor 2001:490:F00:A::2 send-community

neighbor 2001:490:F00:A::2 route-map OMALAN out

exit-address-family

ipv6 prefix-list LAN seq 5 permit 2001:490:F00:3::/64

ipv6 prefix-list LAN seq 100 permit 2001:490:F00::/48 le 64

ipv6 prefix-list LAN seq 200 permit 2001:490::/32

route-map OMALAN permit 10

match ipv6 address prefix-list LAN

But I still can't make the router to advertise the routes defined by prfix-list and route-map:

Spore#sh bgp ipv6 unicast neighbors 2001:490:f00:a::2

BGP neighbor is 2001:490:F00:A::2, remote AS 65001, external link

Description: R18/3745

BGP version 4, remote router ID 192.168.255.20

BGP state = Established, up for 00:00:04

Last read 00:00:04, hold time is 180, keepalive interval is 60 seconds

Neighbor capabilities:

Route refresh: advertised and received(old & new)

Address family IPv6 Unicast: advertised and received

Message statistics:

InQ depth is 0

OutQ depth is 0

Sent Rcvd

Opens: 5 5

Notifications: 0 0

Updates: 8 2

Keepalives: 43 44

Route Refresh: 1 0

Total: 57 51

Default minimum time between advertisement runs is 30 seconds

For address family: IPv6 Unicast

BGP table version 8649, neighbor version 8649/0

Output queue sizes : 0 self, 8 replicated

Index 1, Offset 0, Mask 0x2

1 update-group member

Community attribute sent to this neighbor

Outbound path policy configured

Route map for outgoing advertisements is OMALAN

Sent Rcvd

Prefix activity: ---- ----

Prefixes Current: 0 1 (Consumes 72 bytes)

Prefixes Total: 0 1

Implicit Withdraw: 0 0

Explicit Withdraw: 0 0

Used as bestpath: n/a 1

Used as multipath: n/a 0

Outbound Inbound

Local Policy Denied Prefixes: -------- -------

route-map: 3224 0

Total: 3224 0

Number of NLRIs in the update sent: max 0, min 0

Connections established 5; dropped 4

Last reset 00:00:22, due to User reset

Seems that the only way to advertise NLRI is the network statement. Is there limitations regarding to the train or feature set. Currently running 12.3.7T provider feature set.

The networks are either connected or statically pointing to null0 interface.

1 REPLY
Anonymous
N/A

Re: BGP+ outbound routing policy in IPv6 address-family

Sorry about this!

The routes have to be in BGPtable before they can be filtered. After adding them with network statement to local router's BGP table I can manipulate advertisements with prefix-lists as I want.

Example to advertise only /32

address-family ipv6

neighbor 2001:490:F00:A::2 activate

neighbor 2001:490:F00:A::2 send-community

neighbor 2001:490:F00:A::2 route-map OMALAN out

network 2001:490::/32

network 2001:490:F00:3::/64

exit-address-family

ipv6 prefix-list LAN seq 200 permit 2001:490::/32

route-map OMALAN permit 10

match ipv6 address prefix-list LAN

669
Views
0
Helpful
1
Replies
CreatePlease to create content