[j-nsp] Cisco Translation

Andraz Sraka a at aufbix.org
Tue Oct 28 10:45:58 EDT 2008


re

On Tue, 2008-10-28 at 09:55 -0430, Juan C. Crespo R. wrote:

> Could anyone of you sendme a translation about the configuration 
> below from Cisco to Junos?

See below .. just an example.

> ip route 192.168.0.0 255.255.255.0 null 0 254  ! This is for generate 
> the network

set routing-options static route 192.168.0.0/24 reject install

> ip prefix-list BGP-OUT seq 10 permit 192.168.0.0/24
> 
> route-map BGP-OUT
>    match ip prefix-list BGP-OUT
>    set local-preference 104

new export policy (please double check how to set local-pref)

policy-statement foobar-export {
   term nullroutes {
     from {
        route-filter 192.168.0.0/24 exact accept;
     }
     then local-preference 104;
   }
  term rest {
     then reject;
  }
}

> router bgp 65536
> network  192.168.0.0 route-map BGP-OUT

appying policy-statement ..

protocol {
   bgp {
    group xxx {
      type external;
      description foobar;
-->      export foobar-export;
      neighbor x.z.x.i {
          peer-as <ASNUM>;
	  .....
     }
   }
 }

regards,
 Andraz

-- 
Humppa all the way!!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://puck.nether.net/pipermail/juniper-nsp/attachments/20081028/f0b3dfc6/attachment.bin>


More information about the juniper-nsp mailing list