[j-nsp] OSPF sham link

harry harry at juniper.net
Fri Aug 8 15:16:36 EDT 2003


To the best of my knowledge, Juniper does not support sham links. I
believe your attempt is therefore doomed to fail. Below is a typical
PE-CE OSPF configuration:

[edit routing-instances c2-ospf]
lab at r6# show 
instance-type vrf;
interface fe-0/1/3.0;
route-distinguisher 65412:2;
vrf-import c2-import;
vrf-export c2-export;
protocols {
    ospf {
        domain-id 10.0.9.7;
        export bgp-ospf;
        area 0.0.0.0 {
            interface all;
        }
    }
}

[edit policy-options policy-statement c2-import]
lab at r6# show 
term 1 {
    from {
        protocol bgp;
        community c1-c2-vpn;
    }
    then accept;
}

[edit policy-options policy-statement c2-export]
lab at r6# show 
term 1 {
    from protocol ospf;
    then {
        community add c1-c2-vpn;
        community add domain;
        accept;
    }
}
term 2 {
    from {
        protocol direct;
        route-filter 172.16.0.8/30 exact;
    }
    then {
        community add c1-c2-vpn;
        accept;
    }
}

[edit]
lab at r4# show policy-options policy-statement bgp-ospf 
term 1 {
    from protocol bgp;
    then accept;
}

[edit policy-options]
lab at r6# show community domain
members domain-id:10.0.9.6:0;

[edit policy-options]
lab at r6# show community c1-c2-vpn
community c1-c2-vpn members target:65412:69

HTHs

> -----Original Message-----
> From: juniper-nsp-bounces at puck.nether.net 
> [mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of 
> Ariel Brunetto
> Sent: Friday, August 08, 2003 1:27 PM
> To: juniper-nsp at puck.nether.net
> Subject: [j-nsp] OSPF sham link
> 
> 
> Hi,
> 
> I'm trying to setup an OSPF sham link between a Cisco 7206 
> 12.2(14)S3 and a Juniper M20 5.7r2 PEs.
> 
> On the Cisco side the configuration is straighforward, but in 
> Juniper is a little bit more complicated, and I couldn't find 
> helpful information on juniper site.
> 
> Any clue ?
> 
> Thanks,
> 
> Ariel
> 
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net 
> http://puck.nether.net/mailman/listinfo/junipe> r-nsp
> 



More information about the juniper-nsp mailing list