[j-nsp] BGP group and peer exports

Kisito Nguene Ndoum kisito at juniper.net
Mon Apr 12 07:16:01 EDT 2004


Hi Levent,

The two levels of export policies can co-exist.
The peer-specific export policy will be applied to the peer only.
The group export policy is applied to the other peers.

See simple example below :

[edit protocols bgp]
lab at router# show
log-updown;
group TRANSIT {
     type external;
     family inet {
         unicast;
     }
     export send-group;
     peer-as 65123;
     neighbor 1.1.29.2;
     neighbor 1.1.22.2 {
         export send-peer;
     }
}

lab at router> show route advertising-protocol bgp 1.1.22.2 [ peer policy 
applied ]

inet.0: 12 destinations, 12 routes (12 active, 0 holddown, 0 hidden)
   Prefix                  Nexthop              MED     Lclpref    AS path
* 10.3.0.0/24             Self                                    1111 2222 
3333 I

lab at router> show route advertising-protocol bgp 1.1.29.2 [ group policy 
applied ]

inet.0: 12 destinations, 12 routes (12 active, 0 holddown, 0 hidden)
   Prefix                  Nexthop              MED     Lclpref    AS path
* 20.3.0.0/24             Self                                    4444 5555 
1111 I

lab at router>


Hope this helps,
- Kisito

At 10:40 AM 4/12/2004, rasmus \(posts\) wrote:
>Hi folks,
>
>I have an question about BGP policies,
>
>
>How the policies being interpreted when we have configured both group and
>peer policies,
>
>In cisco you can not override the group policies in out direction,
>
>
>What I would like to do is defining one out policy for all our peerings, but
>for some peers I would like to anounce extra ASs, for example we are transit
>for some peerings.
>
>Thanks,
>
>Regards
>
>Levent
>_______________________________________________
>juniper-nsp mailing list juniper-nsp at puck.nether.net
>http://puck.nether.net/mailman/listinfo/juniper-nsp



More information about the juniper-nsp mailing list