首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在L2VPN路由器上终止JunOS

在L2VPN路由器上终止JunOS
EN

Network Engineering用户
提问于 2015-03-25 16:01:37
回答 1查看 1.7K关注 0票数 6

我试图在L2VPN上终止一个MX480,但它不起作用.

拓扑结构: 7206主干vlanid 555 > MX80> MPLS云> MX480。

7206 (192.168.254.2)在MX480 (192.168.254.1)上不显示lt-接口

MX480配置:

代码语言:javascript
复制
PE_MX80> show configuration routing-instances
L2VPN_LT {
    instance-type l2vpn;
    interface ge-1/0/9.555;
    route-distinguisher 172.16.16.7:555;
    vrf-target target:65000:555;
    protocols {
        l2vpn {
            encapsulation-type ethernet-vlan;
            interface ge-1/0/9.555;
            site TEST {
                site-identifier 101;
                interface ge-1/0/9.555 {
                    remote-site-id 100;
                }
            }
        }
    }
}


PE_MX80> show configuration interfaces ge-1/0/9.555
encapsulation vlan-ccc;
vlan-id 555;

PE_MX80>


PE_MX80> show l2vpn connections instance L2VPN_LT
Layer-2 VPN connections:

Legend for connection status (St)
EI -- encapsulation invalid      NC -- interface encapsulation not CCC/TCC/VPLS
EM -- encapsulation mismatch     WE -- interface and instance encaps not same
VC-Dn -- Virtual circuit down    NP -- interface hardware not present
CM -- control-word mismatch      -> -- only outbound connection is up
CN -- circuit not provisioned    <- -- only inbound connection is up
OR -- out of range               Up -- operational
OL -- no outgoing label          Dn -- down
LD -- local site signaled down   CF -- call admission control failure
RD -- remote site signaled down  SC -- local and remote site ID collision
LN -- local site not designated  LM -- local site ID not minimum designated
RN -- remote site not designated RM -- remote site ID not minimum designated
XX -- unknown connection status  IL -- no incoming label
MM -- MTU mismatch               MI -- Mesh-Group ID not available
BK -- Backup connection          ST -- Standby connection
PF -- Profile parse failure      PB -- Profile busy
RS -- remote site standby        SN -- Static Neighbor
LB -- Local site not best-site   RB -- Remote site not best-site
VM -- VLAN ID mismatch

Legend for interface status
Up -- operational
Dn -- down

Instance: L2VPN_LT
  Local site: TEST (101)
    connection-site           Type  St     Time last up          # Up trans
    100                       rmt   Up     Mar 25 16:38:52 2014           1
      Remote PE: 172.16.16.2, Negotiated control-word: Yes (Null)
      Incoming label: 800007, Outgoing label: 800022
      Local interface: ge-1/0/9.555, Status: Up, Encapsulation: VLAN

PE_MX80>









P_480> show configuration routing-instances L2VPN_LT 
instance-type l2vpn;
interface lt-1/1/0.1;
route-distinguisher 172.16.16.2:555;
vrf-target target:65000:555;
protocols {
    l2vpn {
        encapsulation-type ethernet-vlan;
        interface lt-1/1/0.1;
        site TEST {
            site-identifier 100;
            interface lt-1/1/0.1 {
                remote-site-id 101;
            }
        }
    }
}

P_480> show configuration interfaces lt-1/1/0 
unit 1 {
    encapsulation vlan-ccc;
    vlan-id 555;
    peer-unit 2;
    family ccc;
}
unit 2 {
    encapsulation vlan;
    vlan-id 555;
    peer-unit 1;
    family inet {
        address 192.168.254.1/30;
    }
}


P_480> show configuration chassis 
aggregated-devices {
    ethernet {
        device-count 5;
    }
}
fpc 1 {
    pic 1 {
        tunnel-services;
    }
    sampling-instance IPFIX_TEST;
}
network-services enhanced-ip;

P_480> 
P_480> show l2vpn connections instance L2VPN_LT 
Layer-2 VPN connections:

Legend for connection status (St)   
EI -- encapsulation invalid      NC -- interface encapsulation not CCC/TCC/VPLS
EM -- encapsulation mismatch     WE -- interface and instance encaps not same
VC-Dn -- Virtual circuit down    NP -- interface hardware not present 
CM -- control-word mismatch      -> -- only outbound connection is up
CN -- circuit not provisioned    <- -- only inbound connection is up
OR -- out of range               Up -- operational
OL -- no outgoing label          Dn -- down                      
LD -- local site signaled down   CF -- call admission control failure      
RD -- remote site signaled down  SC -- local and remote site ID collision
LN -- local site not designated  LM -- local site ID not minimum designated
RN -- remote site not designated RM -- remote site ID not minimum designated
XX -- unknown connection status  IL -- no incoming label
MM -- MTU mismatch               MI -- Mesh-Group ID not available
BK -- Backup connection          ST -- Standby connection
PF -- Profile parse failure      PB -- Profile busy
RS -- remote site standby        SN -- Static Neighbor
LB -- Local site not best-site   RB -- Remote site not best-site
VM -- VLAN ID mismatch

Legend for interface status 
Up -- operational           
Dn -- down

Instance: L2VPN_LT
  Local site: TEST (100)
    connection-site           Type  St     Time last up          # Up trans
    101                       rmt   Up     Mar 25 16:39:24 2015           1
      Remote PE: 172.16.16.7, Negotiated control-word: Yes (Null)
      Incoming label: 800022, Outgoing label: 800007
      Local interface: lt-1/1/0.1, Status: Up, Encapsulation: VLAN

P_480>

添加信息INF和BGP

代码语言:javascript
复制
MX80_PE> show configuration protocols bgp
group MPLS-VPN {
    type internal;
    family inet {
        unicast;
    }
    family inet-vpn {
        unicast;
    }
    family l2vpn {
        signaling;
    }
    neighbor 172.16.16.6 {
        local-address 172.16.16.7;
        export NHS;
    }
    neighbor 172.16.16.2 {
        local-address 172.16.16.7;
        export NHS;
    }
}




MX480> show configuration protocols bgp group MPLS-VPN 
type internal;
local-address 172.16.16.2;
family inet {
    unicast {
        rib-group AGGREGATE_TO_NAT_TABLE;
    }
    multicast;
}
family inet-vpn {
    unicast;
}
family l2vpn {
    signaling;
}
......................
neighbor 172.16.16.7 {
    description MX80_Mitishi;
    export EXPORT_TO_PE;
}


MX480> 


interface:

MX480> show configuration interfaces lt-1/1/0 
unit 1 {
    encapsulation vlan-ccc;
    vlan-id 555;
    peer-unit 2;
    family ccc;
}
unit 2 {
    encapsulation vlan;
    vlan-id 555;
    peer-unit 1;
    family inet {
        address 192.168.254.1/30;
    }
}

=============================

7206 interface facing to MX80

interface GigabitEthernet0/1.555
 description test l2vpn
 encapsulation dot1Q 555
 ip address 192.168.254.2 255.255.255.252
 ip flow ingress
 ip flow egress

!
EN

回答 1

Network Engineering用户

回答已采纳

发布于 2015-03-27 18:14:45

当然,您需要将family ccc添加到PE_MX80上的接口中。

代码语言:javascript
复制
set interfaces ge-1/0/9 unit 555 family ccc
票数 3
EN
页面原文内容由Network Engineering提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://networkengineering.stackexchange.com/questions/17499

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档