[j-nsp] how to make a filter list on bgp?

From: Raymond Leung (rlcw@zonasa.com)
Date: Thu Jan 31 2002 - 11:31:23 EST


protocols {
     bgp {
         group HGC {
             type external;
             description peer-to-HGC-datacenter;
             multihop ttl 3;
             export zonasa-out;
             peer-as 10032;
             neighbor 10.10.24.1;
         }
         group zonaza {
             type internal;
             description iBGP-peer-to-7206;
             multihop ttl 10;
             local-address 203.129.80.36;
             export redistributed-connected;
             peer-as 4841;
             neighbor 203.129.64.60;
         }
     }
}
policy-options {
     policy-statement zonasa-out {
         term 1 {
             from {
                 route-filter 202.140.160.0/20 exact accept;
             }
         }
         then reject;
     }
     policy-statement redistributed-connected {
         term self {
             then {
                 next-hop self;
             }
         }
         from protocol direct;
         then accept;
     }
}

if would like to filter the route which is 203.129.80.36/28 to my IBGP ,
what should i do ?

please advice. thx.

With Regards,

Raymond Leung
Network Analyst
Zonasa Network Limited

Suite 903,Technology Plaza
651 King's Road
Quarry Bay
Hong Kong

AS4841 Object Maintainer



This archive was generated by hypermail 2b29 : Mon Aug 05 2002 - 10:42:39 EDT