Hi Juan, On top of Truman's suggestion, I'd say you might want to think about different 'default' behaviors between IOS and JUNOS; such as sending/receiving communities. Unlike IOS, JUNOS will send the community information on bgp updates by default, so if you'd like to 'keep your communities to yourself', you should have your BGP-OUT policy as follows:
## policy-options { policy-statement BGP-OUT { term dont-send-communities { then { community delete all; next term; } } term local-pref { from { prefix-list BGP-OUT; } then { local-preference 104; accept; } } term default { then accept; } } community all members *:*; } ## As a registered Juniper customer, you should also have access to I2J translator tool, available via the following URL: https://i2j.juniper.net/release/index.jsp HTHs, Erdem On Tue, Oct 28, 2008 at 4:04 PM, Truman Boyes <[EMAIL PROTECTED]> wrote: > Hi Juan, > > Something like this should point you in the right direction: > > [edit logical-routers dixie] > [EMAIL PROTECTED] show > protocols { > bgp { > group ebgp { > export BGP-OUT; > neighbor 1.1.1.1 { > peer-as 4000; > local-as 3000; > } > } > } > } > policy-options { > prefix-list BGP-OUT { > 192.168.0.0/24; > } > policy-statement BGP-OUT { > term local-pref { > from { > prefix-list BGP-OUT; > } > then { > local-preference 104; > accept; > } > } > term default { > then accept; > } > } > } > routing-options { > static { > route 192.168.0.0/24 { > discard; > preference 254; > } > } > } > > Kind regards, > Truman Boyes > > > On 28/10/2008, at 10:25 AM, Juan C. Crespo R. wrote: > >> Dears >> >> Could anyone of you sendme a translation about the configuration below >> from Cisco to Junos? >> >> ip route 192.168.0.0 255.255.255.0 null 0 254 ! This is for generate the >> network >> >> 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 >> >> router bgp 65536 >> network 192.168.0.0 route-map BGP-OUT >> >> Thanks >> _______________________________________________ >> juniper-nsp mailing list juniper-nsp@puck.nether.net >> https://puck.nether.net/mailman/listinfo/juniper-nsp >> > > _______________________________________________ > juniper-nsp mailing list juniper-nsp@puck.nether.net > https://puck.nether.net/mailman/listinfo/juniper-nsp > _______________________________________________ juniper-nsp mailing list juniper-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/juniper-nsp