[c-nsp] IOS XR BGP default route - prepending AS

Adam Vitkovsky Adam.Vitkovsky at gamma.co.uk
Fri Apr 22 08:57:12 EDT 2016


> Brian Knight
> Sent: Wednesday, April 20, 2016 7:51 AM
>
> At $DAYJOB we use MPLS VPNs from other carriers to provide Internet
> access to customers connected to these VPNs.  There is always a primary
> path for outbound access, plus one or more backup paths.  I am trying to
> configure a backup path, but can't seem to set AS path prepending on the
> default route we announce to the MPLS VPN.
>
Hi Brian,

Hmm interesting I'm just thinking if it's some weird corner case.
-but you do see the route in BGP table so the policy applied on neighbour out attach point should match on it.

Do you see the default route matching if you do "show bgp route-policy BACKUP-OUT" please?

> default-originate route-policy DEFAULT-BACKUP-OUT
This won't work as the attach point for default-originate is very limited and allows the "set" operation to modify only the MED parameter also the only valid "match" operation is rib-has-route.

Anyways I'd try introducing the default route into BGP via network cmd (would require defining a static default route to null0).

adam



















        Adam Vitkovsky
        IP Engineer

T:      0333 006 5936
E:      Adam.Vitkovsky at gamma.co.uk
W:      www.gamma.co.uk

This is an email from Gamma Telecom Ltd, trading as “Gamma”. The contents of this email are confidential to the ordinary user of the email address to which it was addressed. This email is not intended to create any legal relationship. No one else may place any reliance upon it, or copy or forward all or any of it in any form (unless otherwise notified). If you receive this email in error, please accept our apologies, we would be obliged if you would telephone our postmaster on +44 (0) 808 178 9652 or email postmaster at gamma.co.uk

Gamma Telecom Limited, a company incorporated in England and Wales, with limited liability, with registered number 04340834, and whose registered office is at 5 Fleet Place London EC4M 7RD and whose principal place of business is at Kings House, Kings Road West, Newbury, Berkshire, RG14 5BY.




More information about the cisco-nsp mailing list