[j-nsp] how to populate a forwarding routing-instance

ying zhang cynthia_dal at yahoo.ca
Thu May 7 10:44:34 EDT 2009


There are two ways to populate a routing-instance: rib-groups and instance-import policy. Both work the same to me. But for interface routes, it is recommanded to used rib groups.
 
What does your filter look like? If you are using FBF, since BGP in configed in your main routing instance, you might have to allow bgp packets from that perticular interface in your filter. otherwise your last term has to use instance master. 
 
Example:
    [edit firewall filter fbf]
    interface-specific;
    term 0 {
    from {
    source-address {
    1.1.1.2/32;  /*your bgp interface address
    }

- Ignored:
    }
    
    then accept;
    
    }
    
    term 1 {
    
    from {
    
    source-address {
    
    11.11.11.0/24;
    
    }
    
    }
    
    then {
    
    routing-instance test1;
    
    }
    
    }
    
    term 2 {
    
    then {
    
    count test2;
    
    routing-instance test2;
    
    }
    
    }

 
 


      __________________________________________________________________
The new Internet Explorer® 8 - Faster, safer, easier.  Optimized for Yahoo!  Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/


More information about the juniper-nsp mailing list