查看完整版本: Juniper l2vpn configure

金匙 2007-12-6 22:42

Juniper l2vpn configure

[size=12px][size=2]show interfaces fe-0/2/2   
encapsulation ethernet-ccc;
unit 0 {
    family ccc;
}

...icy-statement l2vpn-import              
term 1 {
    from {
        protocol bgp;
        community l2vpn-com;
    }
    then accept;
}
term else {
    then reject;
}

...ptions policy-statement l2vpn-export   
term 1 {
    then {
        community add l2vpn-com;
        accept;
    }
}


term else {
    then reject;
}

community l2vpn-com members target:10:223;

show routing-instances l2vpn-com
instance-type l2vpn;
interface fe-0/2/2.0;
route-distinguisher 10:223;
vrf-import l2vpn--import;
vrf-export l2vpn--export;
protocols {
    l2vpn {
        encapsulation-type ethernet;
        site xd {
            site-identifier 4;
            interface fe-0/2/2.0 {
                remote-site-id 21;
            }
        }
    }
}[/size][/size]

liuliu 2007-12-7 11:59

绝对是junos系统呀!!

金玉水函 2007-12-7 20:04

学习了啊!~~~~~~~~~~~~~~:handshake

嬉皮笑脸 2008-1-10 15:37

是个好东东了,真不错哦,谢谢了啊~偶先收藏起来。

zhangyu 2008-1-10 20:19

wu**li) wu**li)
页: [1]
查看完整版本: Juniper l2vpn configure