[j-nsp] BGP Configuration
Douglas Marschke
dougm at juniper.net
Wed Feb 2 00:53:00 EST 2005
Try this to start...will require some tweaking:
routing-options {
autonomous-system 2222;
}
protocols {
bgp {
group group-1 {
type internal;
neighbor 200.23.150.2 {
peer-as 2222;
export [ bgp-redistributes bgp-policies-group-1-1-export
];
}
}
group group-2 {
type external;
neighbor 200.33.214.129 {
peer-as 6503;
export bgp-redistributes;
}
}
}
}
policy-options {
community set_community-1 members 6503:0090;
policy-statement al-1 {
term ios-implicit-deny {
then reject;
}
}
policy-statement bgp-policies-group-1-1-export {
term next-hop-self {
then {
next-hop self;
next term;
}
}
term explicit-default-action {
then next policy;
}
}
policy-statement bgp-redistributes {
term sourced-bgp-network {
from route-filter 200.23.150.0/24 exact;
then accept;
}
term from-bgp {
from protocol bgp;
then next policy;
}
term ios-implicit-deny {
then reject;
}
}
policy-statement rm-secundario {
term term-1 {
then {
local-preference 90;
accept;
}
}
}
policy-statement rm-set_community {
term term-1 {
from policy al-1;
then {
community set set_community-1;
accept;
}
}
term ios-implicit-deny {
then reject;
}
}
}
-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net
[mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Javier
Gallardo (DF/TEM)
Sent: Tuesday, February 01, 2005 9:31 PM
To: juniper-nsp at puck.nether.net
Subject: [j-nsp] BGP Configuration
Hi,
We will replace a Cisco router with a M20 router. The Cisco has the BGP
configuration as follows. Could someone help me to traduce this code to
JUNOS syntax?.
router bgp 2222
network 200.23.150.0 mask 255.255.255.0
neighbor 200.23.150.2 remote-as 2222
neighbor 200.23.150.2 send-community
neighbor 200.23.150.2 next-hop-self
neighbor 200.33.214.129 remote-as 6503
neighbor 200.33.214.129 send-community
neighbor 200.33.214.129 route-map set_community out neighbor
200.33.214.129 route-map secundario in no synchronization !
route-map set_community permit 10
match ip address 1
set community 6503:0090
!
route-map secundario permit 10
set local-preference 90
Regards.
//Javier
_______________________________________________
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