[c-nsp] IPv6 BGP on IOS-XR
Lee Starnes
lee.t.starnes at gmail.com
Thu Jul 28 16:18:54 EDT 2011
Hi Andrew,
The hold down route did it. Forgot that I had not added it for this block.
Thanks.
-Lee
On Thu, Jul 28, 2011 at 12:48 PM, Koch, Andrew
<andrew.koch at tdstelecom.com>wrote:
> You will need to get the /32 into BGP first. Then you can let it out the
> peering session.
>
> 1. A matching IGP route must exist. Most networks will use an anchor route
> for their aggregate. You can also have a matching IGP route of exact same
> prefix length.
> router static
> address-family ipv6 unicast
> 2001:db8::/32 Null0 254 description anchor_route
>
> 2. Network statement to get route into BGP (unless redistributing IGP route
> into BGP)
> router bgp 65526
> address-family ipv6 unicast
> network 2001:db8::/32
>
> 3. Ensure you see your own route in the local BGP table
> RP/0/RP1/CPU0:Router#show bgp ipv6 unicast 2001:db8::/32
> BGP routing table entry for 2001:db8::/32
> Versions:
> Process bRIB/RIB SendTblVer
> Speaker 2 2
> Paths: (1 available, best #1)
> Advertised to update-groups (with more than one peer):
> 0.3 0.4
> Path #1: Received by speaker 0
> Local
> :: from :: (192.0.2.1)
> Origin IGP, metric 0, localpref 100, weight 32768, valid, local, best
> RP/0/RP1/CPU0:Router#
>
>
> 4. Set some type of route-policy to allow your block out to peers
> prefix-set OUT-v6
> 2001:db8::/32
> end-set
>
> route-policy ALLOW-OUT-v6
> if destination in OUT-v6 then
> pass
> else
> drop
> endif
> end-policy
>
> 5. Finally, Set policy to allow prefix out on your session
> router bgp 65526
> neighbor 2001:db8:ffff::50
> remote-as 65525
> description My-Peer
> address-family ipv6 unicast
> route-policy ALLOW-OUT-v6 out
>
>
>
> Keep in mind that this is a very simplified example. You should make sure
> to take proper precautions when exchanging routes. This includes preventing
> martian prefixes from being exchanged, any other type of route tagging,
> filtering, max-prefix protections, etc.
>
> This IOS-XR software installation and configuration guide page should be
> kept handy for reference - look for your equipment type, release and general
> topic. In this case look for the routing configuration guide.
>
> http://www.cisco.com/en/US/products/ps5845/products_installation_and_configuration_guides_list.html
>
> HTH,
> Andy
>
More information about the cisco-nsp
mailing list