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

Reply via email to