金匙 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]
金玉水函 2007-12-7 20:04
学习了啊!~~~~~~~~~~~~~~:handshake