[j-nsp] How to delete the BGP Route for IPVPN

Andy Vance avance at hq.speakeasy.net
Thu Jan 21 17:44:34 EST 2010


 Which route are you trying to delete, an imported route into this routing instance or an exported route that is advertised out of this routing instance?

You should be able to use a route filter in your policy-options policy-statement to keep the route your trying to remove from being advertised or accepted.

for example, I use an export filter such as this to not advertise certain routes

policy-statement andys-out {
        term deny-default {
            from {
                protocol static;
                route-filter 0.0.0.0/0 exact;
            }
            then reject;
        }
        term out {
            from protocol [ direct static ];
            then {
                community add vpn-andy-router1;
                accept;
            }
        }
        term reject {
            then reject;

Cheers,
Andy Vance
Sr. Network Engineer
Speakeasy
Direct > 206.971.5144 • Fax > 206.728.1500 
Email > avance at hq.speakeasy.net  • Web > www.speakeasy.net

Voice • Data • Managed Services


-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net [mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of venkata saranu
Sent: Thursday, January 21, 2010 12:19 PM
To: juniper-nsp at puck.nether.net
Subject: [j-nsp] How to delete the BGP Route for IPVPN

Hi Experts ,

Could you please help me in deleting the BGP Route which was configured like below...

I want to delete only one route at a time ... please assist me here thanks in advance


routing-instances
MS-22222 {
instance-type vrf;
interface lo0.1;
route-distinguisher 2828:12002;
vrf-import IMPORT-VPN-12002-COMMUNITY;
vrf-export EXPORT-VPN-12002-COMMUNITY;
vrf-target import target:2828:22222;
vrf-table-label;
protocols {
    bgp {
        group CE {
            type external;
            family inet {
                any;
            }
            family inet6 {
                unicast;
            }
            peer-as 2000;
            neighbor 132.1.1.2;
        }
    }
    pim {
        vpn-group-address 120.1.1.99;
        rp {
            static {
                address 114.1.5.2;
            }
        }
        interface lo0.1 {
            mode sparse;
            version 2;
        }
    }
}


--
o__
-,>/'_----------------------------------------
(_) \ (_)  - - - - -వెంకట  శరణు - - - -
_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net https://puck.nether.net/mailman/listinfo/juniper-nsp


More information about the juniper-nsp mailing list