Published 6月 03, 2018 by with 0 comment

JNCIP-SP Lab: Configuring BGP Signaling for VPLS


There are two kind of signaling for VPLS.
One is LDP, and other is BGP
This lab will show how to configure VPLS with BGP signaling


!!!!!The VMWare network setting is very important!!!!!

For VMware setting:
VMWare-1:



VMWare-2:



1. Setting interface IP address:
vMX-1:
set logical-systems R1 interfaces ge-0/0/1 unit 12 description TO_R2
set logical-systems R1 interfaces ge-0/0/1 unit 12 vlan-id 12
set logical-systems R1 interfaces ge-0/0/1 unit 12 family inet address 10.200.12.1/24
set logical-systems R1 interfaces ge-0/0/3 unit 45 description TO_R4_VPLS_NO_IPV4
set logical-systems R1 interfaces ge-0/0/3 unit 45 vlan-id 45
set logical-systems R1 interfaces lo0 unit 1 family inet address 10.200.1.1/32

set logical-systems R2 interfaces ge-0/0/1 unit 23 description TO_R3
set logical-systems R2 interfaces ge-0/0/1 unit 23 vlan-id 23
set logical-systems R2 interfaces ge-0/0/1 unit 23 family inet address 10.200.23.2/24
set logical-systems R2 interfaces ge-0/0/2 unit 12 description TO_R1
set logical-systems R2 interfaces ge-0/0/2 unit 12 vlan-id 12
set logical-systems R2 interfaces ge-0/0/2 unit 12 family inet address 10.200.12.2/24
set logical-systems R2 interfaces lo0 unit 2 family inet address 10.200.1.2/32

set logical-systems R4 interfaces ge-0/0/4 unit 45 description TO_R1
set logical-systems R4 interfaces ge-0/0/4 unit 45 vlan-id 45
set logical-systems R4 interfaces ge-0/0/4 unit 45 family inet address 172.16.45.4/24
set logical-systems R4 interfaces lo0 unit 4 family inet address 172.16.4.4/32

set interfaces ge-0/0/1 vlan-tagging
set interfaces ge-0/0/2 vlan-tagging
set interfaces ge-0/0/3 vlan-tagging
set interfaces ge-0/0/4 vlan-tagging


vMX-2:
set logical-systems R3 interfaces ge-0/0/3 unit 450 description TO_R5_VPLS_NO_IPV4
set logical-systems R3 interfaces ge-0/0/3 unit 450 vlan-id 450
set logical-systems R3 interfaces ge-0/0/2 unit 23 description TO_R2
set logical-systems R3 interfaces ge-0/0/2 unit 23 vlan-id 23
set logical-systems R3 interfaces ge-0/0/2 unit 23 family inet address 10.200.23.3/24
set logical-systems R3 interfaces lo0 unit 3 family inet address 10.200.1.3/32

set logical-systems R5 interfaces ge-0/0/4 unit 450 description TO_R3
set logical-systems R5 interfaces ge-0/0/4 unit 450 vlan-id 450
set logical-systems R5 interfaces ge-0/0/4 unit 450 family inet address 172.16.45.5/24
set logical-systems R5 interfaces lo0 unit 5 family inet address 172.16.5.5/32

set interfaces ge-0/0/2 vlan-tagging
set interfaces ge-0/0/3 vlan-tagging
set interfaces ge-0/0/4 vlan-tagging


2. IS-IS and OSPF setting:
vMX-1:
set logical-systems R1 interfaces ge-0/0/1 unit 12 family iso
set logical-systems R1 interfaces lo0 unit 1 family iso address 49.0001.0000.0000.0001.00
set logical-systems R1 protocols isis level 1 disable
set logical-systems R1 protocols isis interface ge-0/0/1.12
set logical-systems R1 protocols isis interface lo0.1

set logical-systems R2 interfaces ge-0/0/1 unit 23 family iso
set logical-systems R2 interfaces ge-0/0/2 unit 12 family iso
set logical-systems R2 interfaces lo0 unit 2 family iso address 49.0002.0000.0000.0002.00
set logical-systems R2 protocols isis level 1 disable
set logical-systems R2 protocols isis interface ge-0/0/1.23
set logical-systems R2 protocols isis interface ge-0/0/2.12
set logical-systems R2 protocols isis interface lo0.2

set logical-systems R4 protocols ospf area 0.0.0.0 interface all
set logical-systems R4 protocols ospf area 0.0.0.0 interface lo0.4 passive
set logical-systems R4 protocols ospf area 0.0.0.0 interface ge-0/0/4.45


vMX-2:
set logical-systems R3 interfaces ge-0/0/2 unit 23 family iso
set logical-systems R3 interfaces lo0 unit 3 family iso address 49.0003.0000.0000.0003.00
set logical-systems R3 protocols isis level 1 disable
set logical-systems R3 protocols isis interface ge-0/0/2.23
set logical-systems R3 protocols isis interface lo0.3

set logical-systems R5 protocols ospf area 0.0.0.0 interface all
set logical-systems R5 protocols ospf area 0.0.0.0 interface lo0.5 passive
set logical-systems R5 protocols ospf area 0.0.0.0 interface ge-0/0/4.450


3. BGP Setting:
R1,R2 and R3 are iBGP peering (AS 65001).
R2 is a RR.
vMX-1:
set logical-systems R1 protocols bgp group TO_RR type internal
set logical-systems R1 protocols bgp group TO_RR local-address 10.200.1.1
set logical-systems R1 protocols bgp group TO_RR neighbor 10.200.1.2
set logical-systems R1 routing-options autonomous-system 65001

set logical-systems R2 protocols bgp group RR type internal
set logical-systems R2 protocols bgp group RR local-address 10.200.1.2
set logical-systems R2 protocols bgp group RR cluster 10.200.1.2
set logical-systems R2 protocols bgp group RR neighbor 10.200.1.1
set logical-systems R2 protocols bgp group RR neighbor 10.200.1.3
set logical-systems R2 routing-options autonomous-system 65001


vMX-2:
set logical-systems R3 protocols bgp group TO_RR type internal
set logical-systems R3 protocols bgp group TO_RR local-address 10.200.1.3
set logical-systems R3 protocols bgp group TO_RR neighbor 10.200.1.2
set logical-systems R3 routing-options autonomous-system 65001


Check:
vMX-1:
[edit]
root@vMX-1# run show bgp summary logical-system R1 
Groups: 1 Peers: 1 Down peers: 0
Table          Tot Paths  Act Paths Suppressed    History Damp State    Pending
inet.0              
                       0          0          0          0          0          0
Peer                     AS      InPkt     OutPkt    OutQ   Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
10.200.1.2            65001          4          6       0       0        1:37 0/0/0/0              0/0/0/0

[edit]
root@vMX-1#

[edit]
root@vMX-1# run show bgp summary logical-system R2   
Groups: 1 Peers: 2 Down peers: 0
Table          Tot Paths  Act Paths Suppressed    History Damp State    Pending
inet.0              
                       0          0          0          0          0          0
Peer                     AS      InPkt     OutPkt    OutQ   Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
10.200.1.1            65001          6          5       0       0        1:39 0/0/0/0              0/0/0/0
10.200.1.3            65001          7          7       0       0        2:05 0/0/0/0              0/0/0/0

[edit]
root@vMX-1#


vMX-2:
[edit]
root@vMX-2# run show bgp summary logical-system R3
Groups: 1 Peers: 1 Down peers: 0
Table          Tot Paths  Act Paths Suppressed    History Damp State    Pending
inet.0              
                       0          0          0          0          0          0
Peer                     AS      InPkt     OutPkt    OutQ   Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
10.200.1.2            65001          7          8       0       0        2:26 0/0/0/0              0/0/0/0

[edit]
root@vMX-2#


4. MPLS and LSP setting
vMX-1:
set logical-systems R1 interfaces ge-0/0/1 unit 12 family mpls
set logical-systems R1 protocols rsvp interface ge-0/0/1.12
set logical-systems R1 protocols mpls interface ge-0/0/1.12
set logical-systems R1 protocols mpls label-switched-path R1_TO_R3 to 10.200.1.3
set logical-systems R1 protocols mpls label-switched-path R1_TO_R3 primary VIA_R2
set logical-systems R1 protocols mpls path VIA_R2 10.200.12.2 strict
set logical-systems R1 protocols mpls path VIA_R2 10.200.1.3 loose

set logical-systems R2 interfaces ge-0/0/1 unit 23 family mpls
set logical-systems R2 interfaces ge-0/0/2 unit 12 family mpls
set logical-systems R2 protocols rsvp interface all
set logical-systems R2 protocols mpls interface all


vMX-2:
set logical-systems R3 interfaces ge-0/0/2 unit 23 family mpls
set logical-systems R3 protocols mpls label-switched-path R3_TO_R1 to 10.200.1.1
set logical-systems R3 protocols mpls label-switched-path R3_TO_R1 primary VIA_R2
set logical-systems R3 protocols mpls path VIA_R2 10.200.23.2 strict
set logical-systems R3 protocols mpls path VIA_R2 10.200.1.1 loose
set logical-systems R3 protocols mpls interface ge-0/0/2.23
set logical-systems R3 protocols rsvp interface ge-0/0/2.23


Check:
vMX-1:
[edit]
root@vMX-1# run show mpls lsp logical-system R1   
Ingress LSP: 1 sessions
To              From            State Rt P     ActivePath       LSPname
10.200.1.3      10.200.1.1      Up     0 *     VIA_R2           R1_TO_R3
Total 1 displayed, Up 1, Down 0

Egress LSP: 1 sessions
To              From            State   Rt Style Labelin Labelout LSPname
10.200.1.1      10.200.1.3      Up       0  1 FF       3        - R3_TO_R1
Total 1 displayed, Up 1, Down 0

Transit LSP: 0 sessions
Total 0 displayed, Up 0, Down 0

[edit]
root@vMX-1#

[edit]
root@vMX-1# run show mpls lsp logical-system R2   
Ingress LSP: 0 sessions
Total 0 displayed, Up 0, Down 0

Egress LSP: 0 sessions
Total 0 displayed, Up 0, Down 0

Transit LSP: 2 sessions
To              From            State   Rt Style Labelin Labelout LSPname
10.200.1.1      10.200.1.3      Up       0  1 FF  299792        3 R3_TO_R1
10.200.1.3      10.200.1.1      Up       0  1 FF  299776        3 R1_TO_R3
Total 2 displayed, Up 2, Down 0

[edit]
root@vMX-1#


vMX-2:
[edit]
root@vMX-2# run show mpls lsp logical-system R3
Ingress LSP: 1 sessions
To              From            State Rt P     ActivePath       LSPname
10.200.1.1      10.200.1.3      Up     0 *     VIA_R2           R3_TO_R1
Total 1 displayed, Up 1, Down 0

Egress LSP: 1 sessions
To              From            State   Rt Style Labelin Labelout LSPname
10.200.1.3      10.200.1.1      Up       0  1 FF       3        - R1_TO_R3
Total 1 displayed, Up 1, Down 0

Transit LSP: 0 sessions
Total 0 displayed, Up 0, Down 0

[edit]
root@vMX-2#


5. Setting LDP Signaling for VPLS
For VPLS setting:
The interface need to setup encapsulation and family vpls.
BGP family address need to use l2vpn signaling.
R1 and R4, the VLAN ID is 45 but R3 and R5, the VLAN ID is 450.
So we need to use command "vlan-id 45" to rewrite VLAN-ID in R3.


vMX-1:
set interfaces ge-0/0/3 encapsulation flexible-ethernet-services
set logical-systems R1 interfaces ge-0/0/3 unit 45 encapsulation vlan-vpls
set logical-systems R1 interfaces ge-0/0/3 unit 45 family vpls
set logical-systems R1 protocols bgp group TO_RR family l2vpn signaling
set logical-systems R1 routing-instances VPLS_R4 instance-type vpls
set logical-systems R1 routing-instances VPLS_R4 interface ge-0/0/3.45
set logical-systems R1 routing-instances VPLS_R4 route-distinguisher 10.200.1.1:100
set logical-systems R1 routing-instances VPLS_R4 vrf-target target:65001L:100
set logical-systems R1 routing-instances VPLS_R4 protocols vpls no-tunnel-services
set logical-systems R1 routing-instances VPLS_R4 protocols vpls site CE_R4 site-identifier 1

set logical-systems R2 protocols bgp group RR family l2vpn signaling


vMX-2:
set interfaces ge-0/0/3 encapsulation flexible-ethernet-services
set logical-systems R3 interfaces ge-0/0/3 unit 450 encapsulation vlan-vpls
set logical-systems R3 interfaces ge-0/0/3 unit 450 family vpls
set logical-systems R3 protocols bgp group TO_RR family l2vpn signaling
set logical-systems R3 protocols ldp interface lo0.3
set logical-systems R3 routing-instances VPLS_R5 instance-type vpls
set logical-systems R3 routing-instances VPLS_R5 vlan-id 45
set logical-systems R3 routing-instances VPLS_R5 interface ge-0/0/3.450
set logical-systems R3 routing-instances VPLS_R5 route-distinguisher 10.200.1.3:100
set logical-systems R3 routing-instances VPLS_R5 vrf-target target:65001L:100
set logical-systems R3 routing-instances VPLS_R5 protocols vpls no-tunnel-services
set logical-systems R3 routing-instances VPLS_R5 protocols vpls site CE_R5 site-identifier 2


!!!!!! Important !!!!!!
The routing table inet.3 is used to find informations about next-hop of routes learned in MP-BGP for any L3/L2 VPN/MPLS.
So if your inet.3 table is empty, you will find your bgp.l2vpn.0 routes is not active.
You will find the R2 inet.3 table is empty and bgp.l2vpn.0 routes are not active in BGP summary.

More info, refer the "Configuring an MPLS-Based L3 VPN (Step 6. Configuring Route Resolution on Route Reflectors)"

!!!!!! Important !!!!!!

vMX-1:
set logical-systems R2 routing-options resolution rib bgp.l2vpn.0 resolution-ribs inet.0



Check:
vMX-1:
[edit]
[edit]
root@vMX-1# run show vpls connections logical-system R1
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    <- --="" br="" connection="" inbound="" is="" only="" 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: VPLS_R4
  Local site: CE_R4 (1)
    connection-site           Type  St     Time last up          # Up trans
    2                         rmt   Up     Sep 29 16:26:54 2015           1
      Remote PE: 10.200.1.3, Negotiated control-word: No
      Incoming label: 262146, Outgoing label: 262169
      Local interface: lsi.34603012, Status: Up, Encapsulation: VPLS
        Description: Intf - vpls VPLS_R4 local site 1 remote site 2

[edit]
root@vMX-1#

[edit]
root@vMX-1# run show ospf neighbor logical-system R4
Address          Interface              State     ID               Pri  Dead
172.16.45.5      ge-0/0/4.45            Full      172.16.5.5       128    37

[edit]
root@vMX-1#


vMX-2:
[edit]
root@vMX-2# run show vpls mac-table logical-system R3

MAC flags (S -static MAC, D -dynamic MAC, L -locally learned, C -Control MAC
           SE -Statistics enabled, NM -Non configured MAC, R -Remote PE MAC)

Logical system   : R3
Routing instance : VPLS_R5
 Bridging domain : __VPLS_R5__, VLAN : 45
   MAC                 MAC      Logical          NH     RTR
   address             flags    interface        Index  ID
   00:05:86:71:7b:04   D        ge-0/0/3.450   
   00:05:86:71:e1:04   D        lsi.34603011   

[edit]
root@vMX-2#

[edit]
root@vMX-2# run traceroute 172.16.4.4 source 172.16.5.5 logical-system R5
traceroute to 172.16.4.4 (172.16.4.4) from 172.16.5.5, 30 hops max, 40 byte packets
 1  172.16.4.4 (172.16.4.4)  10.368 ms  3.319 ms  7.018 ms

[edit]
root@vMX-2#


Tracing protocol VPLS:

set logical-systems R1 routing-instances VPLS_R4 protocols vpls traceoptions file VPLS
set logical-systems R1 routing-instances VPLS_R4 protocols vpls traceoptions flag all

run clear vpls statistics instance VPLS_R4 logical-system R1

[edit]
root@vMX-1# run show log R1/VPLS  
Sep 25 01:32:00 trace_on: Tracing to "/var/log/R1/VPLS" started
Sep 25 01:32:00.751802 vc_iflchange  intf vt/lsi:10.200.1.3-1 (index 329) change flags 0x0
Sep 25 01:32:00.751835 [vc_intf_params_change] Intf vt/lsi:10.200.1.3-1: NO Intf Params CHANGE
Sep 25 01:32:00.751967 vc_iflchange  intf ge-0/0/3.45 (index 351) change flags 0x0
Sep 25 01:32:00.751976 [vc_intf_params_change] Intf ge-0/0/3.45: NO Intf Params CHANGE
Sep 25 01:32:00.752212 [vc_ifachange] intf lsi.17825792: new status intf Up (old status intf Up)
Sep 25 01:32:00.752221 [vc_ifachange] Triggering VC status update timer for intf lsi.17825792
Sep 25 01:32:00.752224        Triggering VC status update timer for intf vt/lsi:10.200.1.3-1
Sep 25 01:32:00.753642 [vc_ifachange] intf ge-0/0/3.45: new status intf Up (old status intf Up)
Sep 25 01:32:00.795211 [vc_ifachange] Triggering VC status update timer for intf ge-0/0/3.45
Sep 25 01:32:00.795221        Triggering VC status update timer for intf ge-0/0/3.45
Sep 25 01:32:00.795238 [vc_ifachange] ge-0/0/3.45 is not in any vc yet
Sep 25 01:32:00.795249 [l2ckt_cfg_intf_count] local vpls interface: ge-0/0/3.45 status changed to UP belonging to instance VPLS_R4 up count = 1 stdby up count = 0 total count = 1 encapsType = 40
Sep 25 01:32:00.795492 [vc_intf_vc_status_update] Recomputing the status of the VC for interface: vt/lsi:10.200.1.3-1, flags 0x0, 0x2885180
Sep 25 01:32:00.795502       interface vt/lsi:10.200.1.3-1: vc status = intf Up, intf_up = TRUE
Sep 25 01:32:00.795506       interface vt/lsi:10.200.1.3-1: UP adv_down = 0 : vc_down = 0, ccc_up = 1
Sep 25 01:32:00.795510       interface vt/lsi:10.200.1.3-1: VC PRESENT
Sep 25 01:32:00.795514       interface vt/lsi:10.200.1.3-1: VC PRESENT vc_nh_unusable = 0, vc_stby_nh_unusable = 0
Sep 25 01:32:00.795518       interface vt/lsi:10.200.1.3-1: Done Computing adv, vc down and ccc_up status adv_down = 0, vc_down = 0, ccc_up = 1
Sep 25 01:32:00.795523 [vc_intf_vc_status_update] Done Recomputing the status of the VC for interface vt/lsi:10.200.1.3-1: flags 0x0, 0x2885180
Sep 25 01:32:00.795907 [l2ckt_handle_local_adv_rt_status_change] VC-interface vt/lsi:10.200.1.3-1 transport LSP state transition to UP
Sep 25 01:32:00.795938 [l2ckt_vc_adv_recv] Intf vt/lsi:10.200.1.3-1 (VC-ID 1) updated from signalled info: label 262145, encaps ETHERNET, cw-bit 0, mtu 1500, cb-size 0,  TDM payload size 0 (bytes), TDM bitrate 0 (xDS0) no vlan-id,flow-label-tx 0, flow-lablel-rx 0,
Sep 25 01:32:00.795963 Route flash received from mpls.0 : New policy
Sep 25 01:32:00.795968        Triggering VC status update timer for intf vt/lsi:10.200.1.3-1
Sep 25 01:32:00.811419 [vc_intf_vc_status_update] Recomputing the status of the VC for interface: ge-0/0/3.45, flags 0x0, 0x880180
Sep 25 01:32:00.811437       interface ge-0/0/3.45: vc status = intf Up, intf_up = TRUE
Sep 25 01:32:00.811442       interface ge-0/0/3.45: Local vpls adv_down = 0, vc_down = 0, ccc_up = 1
Sep 25 01:32:00.811446       interface ge-0/0/3.45: Done Computing adv, vc down and ccc_up status adv_down = 0, vc_down = 0, ccc_up = 1
Sep 25 01:32:00.811453 [vc_intf_vc_status_update] Done Recomputing the status of the VC for interface ge-0/0/3.45: flags 0x0, 0x880180
Sep 25 01:32:00.862614 [vc_intf_vc_status_update] Recomputing the status of the VC for interface: vt/lsi:10.200.1.3-1, flags 0x0, 0x2885180
Sep 25 01:32:00.862642       interface vt/lsi:10.200.1.3-1: vc status = intf Up, intf_up = TRUE
Sep 25 01:32:00.862647       interface vt/lsi:10.200.1.3-1: UP adv_down = 0 : vc_down = 0, ccc_up = 1
Sep 25 01:32:00.862651       interface vt/lsi:10.200.1.3-1: VC PRESENT
Sep 25 01:32:00.862657       interface vt/lsi:10.200.1.3-1: VC PRESENT vc_nh_unusable = 0, vc_stby_nh_unusable = 0
Sep 25 01:32:00.862661       interface vt/lsi:10.200.1.3-1: Done Computing adv, vc down and ccc_up status adv_down = 0, vc_down = 0, ccc_up = 1
Sep 25 01:32:00.862669 [vc_intf_vc_status_update] Done Recomputing the status of the VC for interface vt/lsi:10.200.1.3-1: flags 0x0, 0x2885180
Sep 25 01:32:05.148484  [l2ckt_intf_change_process] Change processing for intf vt/lsi:10.200.1.3-1: vc flags 0x0 0x2885100 l2ckt flags 0x0 0x8000000
Sep 25 01:32:05.148544 l2ckt_intf_create_mib2d_notify: Not a TDM/ATM VC
Sep 25 01:32:05.148553 [l2ckt_vc_get_intfs_and_labels] mtu mismatch check passed.
Sep 25 01:32:05.148562 Evaluated local PW status code 0x0 for intf vt/lsi:10.200.1.3-1 (nbr 10.200.1.3) belonging to instance VPLS_R4
Sep 25 01:32:05.148567 [l2ckt_intf_change_process] Evaluating VT/LSI Intf vt/lsi:10.200.1.3-1: belonging to instance VPLS_R4, vt/lsi condition is met
Sep 25 01:32:05.148572 vt/lsi:10.200.1.3-1 OP state transition to UP
Sep 25 02:53:07.857421 instance (name VPLS_R4) deleted
Sep 25 02:53:07.857493    [l2ckt_intf_delete] Local intf ge-0/0/3.45 deleted belonging to instance VPLS_R4
Sep 25 02:53:07.857584  [l2ckt_update_pw_state] InstanceVPLS_R4 pw status up changed to DOWN
Sep 25 02:53:07.857590 [l2ckt_update_pw_state] Intf vt/lsi:10.200.1.3-1: belonging to instance VPLS_R4 pw status changed
Sep 25 02:53:07.867886 [l2ckt_intf_unset_vc] for intf vt/lsi:10.200.1.3-1 vc refcnt 0
Sep 25 02:53:07.867914 vc_intf_unlock: intf_name=vt/lsi:10.200.1.3-1 owner=2 vcif_refcnt=1 vcif_l2vpn_refcnt=0 vcif_l2ckt_refcnt=2 vcif_fec129_refcnt=0 vcif_kern_upd_q_refcnt=0 vc_intf_owned_by_l2vpn=0 vc_intf_owned_by_l2ckt=1 vc_intf_owned_by_l2vpn_fec129=0
Sep 25 02:53:07.867939     deleting vc 10.200.1.3:1 : intf Changed
Sep 25 02:53:07.867962 l2ckt PW oam deinit: nbr addr 10.200.1.3, vc-id 1
Sep 25 02:53:07.868145 vc_intf_delink_from_vc: Triggering VC status update timer
Sep 25 02:53:07.868151        Triggering VC status update timer for intf vt/lsi:10.200.1.3-1
Sep 25 02:53:07.868160 vc_intf_unlock: intf_name=vt/lsi:10.200.1.3-1 owner=0 vcif_refcnt=1 vcif_l2vpn_refcnt=0 vcif_l2ckt_refcnt=1 vcif_fec129_refcnt=0 vcif_kern_upd_q_refcnt=0 vc_intf_owned_by_l2vpn=0 vc_intf_owned_by_l2ckt=1 vc_intf_owned_by_l2vpn_fec129=0
Sep 25 02:53:07.871998 [l2ckt_cfg_intf_count] local vpls interface: ge-0/0/3.45 status changed to DOWN belonging to instance VPLS_R4 up count = 0 stdby up count = 0 total count = 1 encapsType = 40
Sep 25 02:53:07.872071    [l2ckt_intf_delete] intf vt/lsi:10.200.1.3-1 (nbr 10.200.1.3, bkup-nbr 0.0.0.0) deleted belonging to instance VPLS_R4
Sep 25 02:53:07.872080 Protection PW oper state DOWN for intf vt/lsi:10.200.1.3-1 VPLS instance VPLS_R4
Sep 25 02:53:07.872084 [l2ckt_intf_unset_vc] for intf vt/lsi:10.200.1.3-1 vc refcnt 0
Sep 25 02:53:07.872109     Delete route for l2ckt intf adv 10.200.1.3:NoCtrlWord:5:1:Local (label: 262145)
Sep 25 02:53:07.872137 [l2ckt_intf_delete] L2CKT nbr 10.200.1.3 vc-id 1 freeing label 262145
Sep 25 02:53:07.873742 [l2ckt_primary_release_label] Deleting Inlabel: 262145 for Intf vt/lsi:10.200.1.3-1: belonging to instance VPLS_R4, change = FALSE
Sep 25 02:53:07.873794 VPLS-MG: instance - VPLS_R4, mgroup - __ves__, PW - vt/lsi:10.200.1.3-1Op - Unlinking PW from MG
Sep 25 02:53:07.873804 VPLS-MG: instance - VPLS_R4, mgroup - __ves__ Op - Notifying BGP (Site - not associated yet) Reason - Mgroup OP state UP --> DN
Sep 25 02:53:07.873838 VPLS-MG: instance - VPLS_R4, mgroup - __ves__ Op - Removing mesh-group
Sep 25 02:53:07.874278 task_timer_delete: VPLS_R4_VPLS Mgroup Job
Sep 25 02:53:07.874286 task_delete: deleting task VPLS_R4
Sep 25 02:53:07.874308 task_timer_delete: VPLS_R4_Task parent <>
Sep 25 02:53:07.874316 task_job_delete_task: deleting all jobs for task VPLS_R4
Sep 25 02:53:07.874320 task_job_deleted_task: no jobs found for task VPLS_R4
Sep 25 02:53:07.874344 task_delete: deleting task VPLS_R4
Sep 25 02:53:07.874349 task_job_delete_task: deleting all jobs for task VPLS_R4
Sep 25 02:53:07.874352 task_job_deleted_task: no jobs found for task VPLS_R4
Sep 26 16:10:19 trace_on: Tracing to "/var/log/R1/VPLS" started
Sep 26 16:10:19.845755 [l2ckt_reconfig] Reconfiguring L2CKT neighbor 10.200.1.3 for interface vt/lsi:10.200.1.3-1
Sep 26 16:10:19.846442     Intf vt/lsi:10.200.1.3-1: Starting timer for change processing after reconfig: vc flags 0x0 0x88119C, l2ckt flags 0x0 0xA004024, bkup flags 0x0 0x8000
Sep 26 16:10:19.904187 VPLS-MG: MG-ID Assigned: instance - VPLS_R4, mgroup - __ves__ ID 0
Sep 26 16:10:19.906860 VPLS-MG-PW: instance - VPLS_R4, mgroup - __ves__, PW - vt/lsi:10.200.1.3-1Op - Triggering Creating of LDP-VPLS PW Reason - mesh-group ID assigned
Sep 26 16:10:19.907485 task_timer_reset: reset VPLS_R4_VPLS Mgroup Job
Sep 26 16:10:19.907531 VPLS-MG:vpls_decode_mesh_group_msg: mesh-group not found __all_ces__
Sep 26 16:10:19.945518  [l2ckt_intf_change_process] Change processing for intf vt/lsi:10.200.1.3-1: vc flags 0x0 0x88119c l2ckt flags 0x0 0xa004024
Sep 26 16:10:19.945559 l2ckt_intf_create_mib2d_notify: Not a TDM/ATM VC
Sep 26 16:10:19.949342 [l2ckt_intf_change_process] Allocated new Inlabel: 262145 for Intf vt/lsi:10.200.1.3-1: belonging to instance VPLS_R4
Sep 26 16:10:19.950030 Evaluated local PW status code 0x1 for intf vt/lsi:10.200.1.3-1 (nbr 10.200.1.3) belonging to instance VPLS_R4
Sep 26 16:10:19.954228 [l2ckt_intf_change_process] Evaluating VT/LSI Intf vt/lsi:10.200.1.3-1: belonging to instance VPLS_R4, vt/lsi condition not met - mgroup can be brought up: YES, out_label: -1, pw_state_is_up: NO, local status code: 0x00000001
Sep 26 16:10:19.956745 [l2ckt_vc_update] Failure to create/update vc 10.200.1.3:1 --> local site down
Sep 26 16:10:19.956843 [l2ckt_vc_update] Triggering VC status update timer for intf vt/lsi:10.200.1.3-1
Sep 26 16:10:19.957490        Triggering VC status update timer for intf vt/lsi:10.200.1.3-1
Sep 26 16:10:19.958103 [l2ckt_stby_pw_vc_update] VC connection not present for PW 10.200.1.3:1
Sep 26 16:10:19.959141 vt/lsi:10.200.1.3-1 OP state transition to DOWN [Transport-LSP: 0,vpls_num_ifds: 0 is_pw_phy: 1, out_label ffffffff]

Sep 26 16:10:19.992325 [vc_intf_vc_status_update] Recomputing the status of the VC for interface: vt/lsi:10.200.1.3-1, flags 0x0, 0x88119c
Sep 26 16:10:19.992350  [vc_intf_status_get_by_name] ifl not present, why:
Sep 26 16:10:19.992354   ifl is null.
Sep 26 16:10:19.993309       interface vt/lsi:10.200.1.3-1: vc status = intf not present, intf_up = FALSE
Sep 26 16:10:19.993756       interface vt/lsi:10.200.1.3-1: DOWN adv_down = 1 : vc_down = 1, ccc_up = 1
Sep 26 16:10:19.993769       interface vt/lsi:10.200.1.3-1: Done Computing adv, vc down and ccc_up status adv_down = 1, vc_down = 1, ccc_up = 1
Sep 26 16:10:19.993777 [vc_intf_vc_status_update] Done Recomputing the status of the VC for interface vt/lsi:10.200.1.3-1: flags 0x0, 0x88118c
Sep 26 16:10:21.366217 [vc_intf_vc_status_update] Recomputing the status of the VC for interface: ge-0/0/3.45, flags 0x0, 0x88019c
Sep 26 16:10:21.366246  [vc_intf_status_get_by_name] ifl not present, why:
Sep 26 16:10:21.366250   ifl is null.
Sep 26 16:10:21.366255       interface ge-0/0/3.45: vc status = intf not present, intf_up = FALSE
Sep 26 16:10:21.366260 MAC-FLUSH:Initiating learned-MAC flush operation on interface ge-0/0/3.45
Sep 26 16:10:21.366788  Intf ge-0/0/3.45 added to the Kernel VC status update Q
Sep 26 16:10:21.366795 vc_intf_lock:1175:ge-0/0/3.45 owner=4 vcif_refcnt=0 vcif_l2vpn_refcnt=0 vcif_l2ckt_refcnt=1 vcif_fec129_refcnt=0 vcif_kern_upd_q_refcnt=0
Sep 26 16:10:21.366802       interface ge-0/0/3.45: Local vpls adv_down = 0, vc_down = 1, ccc_up = 1
Sep 26 16:10:21.366806       interface ge-0/0/3.45: Done Computing adv, vc down and ccc_up status adv_down = 0, vc_down = 1, ccc_up = 1
Sep 26 16:10:21.366833       Clearing the VC status vector bit for interface : ge-0/0/3.45
Sep 26 16:10:21.366836 [vc_downstream_status_advertise] ge-0/0/3.45
Sep 26 16:10:21.366844 [vc_intf_vc_status_update] Done Recomputing the status of the VC for interface ge-0/0/3.45: flags 0x0, 0x880184
Sep 26 16:10:21.867137  Kernel not updated with VPLS local intf status for intf ge-0/0/3.45, NO IFL
Sep 26 16:10:21.867152 vc_intf_unlock: intf_name=ge-0/0/3.45 owner=4 vcif_refcnt=0 vcif_l2vpn_refcnt=0 vcif_l2ckt_refcnt=1 vcif_fec129_refcnt=0 vcif_kern_upd_q_refcnt=1 vc_intf_owned_by_l2vpn=0 vc_intf_owned_by_l2ckt=1 vc_intf_owned_by_l2vpn_fec129=0
Sep 26 16:11:22.252919 vc_iflchange  intf ge-0/0/3.45 (index 347) change flags 0x2
Sep 26 16:11:22.253528 [vc_intf_params_change] Intf ge-0/0/3.45: processing params change (new status : intf not present, new encaps : VPLS, new cntl word pic support : 0 mtu : 0, vlan_id : 65535 tdm_payload_size: 0 tdm_bitrate: 0).
Sep 26 16:11:22.253547 [vc_intf_params_change] Intf ge-0/0/3.45: intf status not up down status = 1
Sep 26 16:11:22.255722 vc_iflchange  intf ge-0/0/3.45 (index 347) change flags 0x40
Sep 26 16:11:22.255735 [vc_intf_params_change] Intf ge-0/0/3.45: NO Intf Params CHANGE
Sep 26 16:11:22.255749 vc_iflchange  intf ge-0/0/3.45 (index 347) change flags 0x40
Sep 26 16:11:22.255754 [vc_intf_params_change] Intf ge-0/0/3.45: NO Intf Params CHANGE
Sep 26 16:11:22.255767 vc_iflchange  intf ge-0/0/3.45 (index 347) change flags 0x1000
Sep 26 16:11:22.255771 [vc_intf_params_change] Intf ge-0/0/3.45: NO Intf Params CHANGE
Sep 26 16:11:22.255784 vc_iflchange  intf ge-0/0/3.45 (index 347) change flags 0x8000
Sep 26 16:11:22.255788 [vc_intf_params_change] Intf ge-0/0/3.45: NO Intf Params CHANGE
Sep 26 16:11:22.255803 [l2ckt_intf_process_stp_change] Intf vt/lsi:10.200.1.3-1 (VC-ID 1) enqueued for change processing, vc flags: 0x0 0x88110cl2ckt flags 0x0, 0x2004000
Sep 26 16:11:22.257306 [vc_ifachange] intf ge-0/0/3.45: new status intf Down (old status intf not present)
Sep 26 16:11:22.257313 [vc_ifachange] Triggering VC status update timer for intf ge-0/0/3.45
Sep 26 16:11:22.257317        Triggering VC status update timer for intf ge-0/0/3.45
Sep 26 16:11:22.257324 ifl ge-0/0/3.45: status intf not present -> intf Down, no snmp index
Sep 26 16:11:22.257328 [vc_ifachange] ge-0/0/3.45 is not in any vc yet
Sep 26 16:11:22.257766 [l2ckt_cfg_intf_count] local vpls interface: ge-0/0/3.45 status changed to DOWN belonging to instance VPLS_R4 up count = 0 stdby up count = 0 total count = 1 encapsType = 40
Sep 26 16:11:22.295871  [l2ckt_intf_change_process] Change processing for intf vt/lsi:10.200.1.3-1: vc flags 0x0 0x88110c l2ckt flags 0x0 0x2004000
Sep 26 16:11:22.295883 l2ckt_intf_create_mib2d_notify: Not a TDM/ATM VC
Sep 26 16:11:22.295894 Evaluated local PW status code 0x1 for intf vt/lsi:10.200.1.3-1 (nbr 10.200.1.3) belonging to instance VPLS_R4
Sep 26 16:11:22.295907 [l2ckt_intf_change_process] Evaluating VT/LSI Intf vt/lsi:10.200.1.3-1: belonging to instance VPLS_R4, vt/lsi condition not met - mgroup can be brought up: YES, out_label: -1, pw_state_is_up: NO, local status code: 0x00000001
Sep 26 16:11:22.295915 [l2ckt_vc_update] Failure to create/update vc 10.200.1.3:1 --> local site down
Sep 26 16:11:22.295920 [l2ckt_vc_update] Triggering VC status update timer for intf vt/lsi:10.200.1.3-1
Sep 26 16:11:22.295924        Triggering VC status update timer for intf vt/lsi:10.200.1.3-1
Sep 26 16:11:22.295933 [l2ckt_stby_pw_vc_update] VC connection not present for PW 10.200.1.3:1
Sep 26 16:11:22.295939 vt/lsi:10.200.1.3-1 OP state transition to DOWN [Transport-LSP: 0,vpls_num_ifds: 0 is_pw_phy: 1, out_label ffffffff]

Sep 26 16:11:22.301301 vc_iflchange  intf ge-0/0/3.45 (index 347) change flags 0x10
Sep 26 16:11:22.301320 ifl ge-0/0/3.45: status intf Down -> intf Down, send trap
Sep 26 16:11:22.301378 [vc_intf_params_change] Intf ge-0/0/3.45: NO Intf Params CHANGE
Sep 26 16:11:22.302545 [vc_intf_vc_status_update] Recomputing the status of the VC for interface: ge-0/0/3.45, flags 0x0, 0x880194
Sep 26 16:11:22.302554       interface ge-0/0/3.45: vc status = intf Down, intf_up = FALSE
Sep 26 16:11:22.302558 MAC-FLUSH:Initiating learned-MAC flush operation on interface ge-0/0/3.45
Sep 26 16:11:22.302564  Intf ge-0/0/3.45 added to the Kernel VC status update Q
Sep 26 16:11:22.302568 vc_intf_lock:1175:ge-0/0/3.45 owner=4 vcif_refcnt=0 vcif_l2vpn_refcnt=0 vcif_l2ckt_refcnt=1 vcif_fec129_refcnt=0 vcif_kern_upd_q_refcnt=0
Sep 26 16:11:22.302575       interface ge-0/0/3.45: Local vpls adv_down = 0, vc_down = 1, ccc_up = 1
Sep 26 16:11:22.302578       interface ge-0/0/3.45: Done Computing adv, vc down and ccc_up status adv_down = 0, vc_down = 1, ccc_up = 1
Sep 26 16:11:22.302583 [vc_intf_vc_status_update] Done Recomputing the status of the VC for interface ge-0/0/3.45: flags 0x0, 0x880184
Sep 26 16:11:22.353012 [vc_intf_vc_status_update] Recomputing the status of the VC for interface: vt/lsi:10.200.1.3-1, flags 0x0, 0x88118c
Sep 26 16:11:22.353036  [vc_intf_status_get_by_name] ifl not present, why:
Sep 26 16:11:22.353040   ifl is null.
Sep 26 16:11:22.353045       interface vt/lsi:10.200.1.3-1: vc status = intf not present, intf_up = FALSE
Sep 26 16:11:22.353049       interface vt/lsi:10.200.1.3-1: DOWN adv_down = 1 : vc_down = 1, ccc_up = 1
Sep 26 16:11:22.353053       interface vt/lsi:10.200.1.3-1: Done Computing adv, vc down and ccc_up status adv_down = 1, vc_down = 1, ccc_up = 1
Sep 26 16:11:22.353060 [vc_intf_vc_status_update] Done Recomputing the status of the VC for interface vt/lsi:10.200.1.3-1: flags 0x0, 0x88118c
Sep 26 16:11:22.355871 vc_intf_unlock: intf_name=ge-0/0/3.45 owner=4 vcif_refcnt=0 vcif_l2vpn_refcnt=0 vcif_l2ckt_refcnt=1 vcif_fec129_refcnt=0 vcif_kern_upd_q_refcnt=1 vc_intf_owned_by_l2vpn=0 vc_intf_owned_by_l2ckt=1 vc_intf_owned_by_l2vpn_fec129=0
Sep 26 16:11:24.225787 vc_iflchange  intf ge-0/0/3.45 (index 347) change flags 0x100
Sep 26 16:11:24.225809 [vc_intf_params_change] Intf ge-0/0/3.45: NO Intf Params CHANGE
Sep 26 16:11:24.225828 [vc_ifachange] intf ge-0/0/3.45: new status intf Up (old status intf Down)
Sep 26 16:11:24.225833 [vc_ifachange] Triggering VC status update timer for intf ge-0/0/3.45
Sep 26 16:11:24.225838        Triggering VC status update timer for intf ge-0/0/3.45
Sep 26 16:11:24.225847 ifl ge-0/0/3.45: status intf Down -> intf Up, send trap
Sep 26 16:11:24.225907 [vc_ifachange] ge-0/0/3.45 is not in any vc yet
Sep 26 16:11:24.225917  [l2ckt_update_pw_state] InstanceVPLS_R4 pw status up changed to UP
Sep 26 16:11:24.225922 [l2ckt_update_pw_state] Intf vt/lsi:10.200.1.3-1: belonging to instance VPLS_R4 pw status changed
Sep 26 16:11:24.225928 [l2ckt_cfg_intf_count] local vpls interface: ge-0/0/3.45 status changed to UP belonging to instance VPLS_R4 up count = 1 stdby up count = 0 total count = 1 encapsType = 40
Sep 26 16:11:24.226607 [l2ckt_intf_process_stp_change] Intf vt/lsi:10.200.1.3-1 (VC-ID 1) enqueued for change processing, vc flags: 0x0 0x88110cl2ckt flags 0x0, 0xa00c000
Sep 26 16:11:24.271176 [vc_intf_vc_status_update] Recomputing the status of the VC for interface: ge-0/0/3.45, flags 0x0, 0x880184
Sep 26 16:11:24.271199       interface ge-0/0/3.45: vc status = intf Up, intf_up = TRUE
Sep 26 16:11:24.271204       interface ge-0/0/3.45: Local vpls adv_down = 0, vc_down = 0, ccc_up = 1
Sep 26 16:11:24.271207       interface ge-0/0/3.45: Done Computing adv, vc down and ccc_up status adv_down = 0, vc_down = 0, ccc_up = 1
Sep 26 16:11:24.271213       VC Up for interface : ge-0/0/3.45
Sep 26 16:11:24.271218  Intf ge-0/0/3.45 added to the Kernel VC status update Q
Sep 26 16:11:24.271222 vc_intf_lock:1175:ge-0/0/3.45 owner=4 vcif_refcnt=0 vcif_l2vpn_refcnt=0 vcif_l2ckt_refcnt=1 vcif_fec129_refcnt=0 vcif_kern_upd_q_refcnt=0
Sep 26 16:11:24.271227 [vc_intf_vc_status_update] Done Recomputing the status of the VC for interface ge-0/0/3.45: flags 0x0, 0x880180
Sep 26 16:11:24.271235  [l2ckt_intf_change_process] Change processing for intf vt/lsi:10.200.1.3-1: vc flags 0x0 0x88110c l2ckt flags 0x0 0xa00c000
Sep 26 16:11:24.271240 l2ckt_intf_create_mib2d_notify: Not a TDM/ATM VC
Sep 26 16:11:24.271250 Evaluated local PW status code 0x0 for intf vt/lsi:10.200.1.3-1 (nbr 10.200.1.3) belonging to instance VPLS_R4
Sep 26 16:11:24.271255 [l2ckt_intf_change_process] Evaluating VT/LSI Intf vt/lsi:10.200.1.3-1: belonging to instance VPLS_R4, vt/lsi condition not met - mgroup can be brought up: YES, out_label: -1, pw_state_is_up: YES, local status code: 0x00000000
Sep 26 16:11:24.271261 Local status code changed from 0x00000001 to 0x00000000 for intf vt/lsi:10.200.1.3-1, nbr (10.200.1.3), vc-id (1)
Sep 26 16:11:24.271274     l2ckt_fill_rt_data: vc=1 label=262145 mtu=1500 cb_size=0 vid=65535tdm_pb_size=0 tdm_pb_bitrate=0 status_code=0send_status_tlv=0 vccv_vc_types=6 vccv_cv_types=6flow_label_tx=0 flow_label_rx=0
Sep 26 16:11:24.271304     Add route for l2ckt intf adv 10.200.1.3:NoCtrlWord:5:1:Local (label: 262145)
Sep 26 16:11:24.272405 [l2ckt_vc_update] Failure to create/update vc 10.200.1.3:1 --> no outgoing label
Sep 26 16:11:24.272413 [l2ckt_vc_update] Triggering VC status update timer for intf vt/lsi:10.200.1.3-1
Sep 26 16:11:24.272417        Triggering VC status update timer for intf vt/lsi:10.200.1.3-1
Sep 26 16:11:24.272424 [l2ckt_stby_pw_vc_update] VC connection not present for PW 10.200.1.3:1
Sep 26 16:11:24.272429 vt/lsi:10.200.1.3-1 OP state transition to DOWN [Transport-LSP: 0,vpls_num_ifds: 0 is_pw_phy: 1, out_label ffffffff]

Sep 26 16:11:24.331147 [vc_intf_vc_status_update] Recomputing the status of the VC for interface: vt/lsi:10.200.1.3-1, flags 0x0, 0x88118c
Sep 26 16:11:24.331189  [vc_intf_status_get_by_name] ifl not present, why:
Sep 26 16:11:24.331193   ifl is null.
Sep 26 16:11:24.331197       interface vt/lsi:10.200.1.3-1: vc status = intf not present, intf_up = FALSE
Sep 26 16:11:24.331202       interface vt/lsi:10.200.1.3-1: DOWN adv_down = 1 : vc_down = 1, ccc_up = 1
Sep 26 16:11:24.331206       interface vt/lsi:10.200.1.3-1: Done Computing adv, vc down and ccc_up status adv_down = 1, vc_down = 1, ccc_up = 1
Sep 26 16:11:24.331213 [vc_intf_vc_status_update] Done Recomputing the status of the VC for interface vt/lsi:10.200.1.3-1: flags 0x0, 0x88118c
Sep 26 16:11:24.331250  Kernel updated with VPLS local intf status Up for intf ge-0/0/3.45
Sep 26 16:11:24.331278  Kernel updated with CCC status Up for intf ge-0/0/3.45
Sep 26 16:11:24.331284 vc_intf_unlock: intf_name=ge-0/0/3.45 owner=4 vcif_refcnt=0 vcif_l2vpn_refcnt=0 vcif_l2ckt_refcnt=1 vcif_fec129_refcnt=0 vcif_kern_upd_q_refcnt=1 vc_intf_owned_by_l2vpn=0 vc_intf_owned_by_l2ckt=1 vc_intf_owned_by_l2vpn_fec129=0
Sep 26 16:44:43.170794 [l2ckt_reconfig] Deconfiguring VPLS_R4 instance
Sep 26 16:44:43.170913 instance (name VPLS_R4) deleted
Sep 26 16:44:43.170920    [l2ckt_intf_delete] Local intf ge-0/0/3.45 deleted belonging to instance VPLS_R4
Sep 26 16:44:43.171418  [l2ckt_update_pw_state] InstanceVPLS_R4 pw status up changed to DOWN
Sep 26 16:44:43.171431 [l2ckt_update_pw_state] Intf vt/lsi:10.200.1.3-1: belonging to instance VPLS_R4 pw status changed
Sep 26 16:44:43.171436 [l2ckt_intf_unset_vc] for intf vt/lsi:10.200.1.3-1 vc refcnt 0
Sep 26 16:44:43.171443 [l2ckt_cfg_intf_count] local vpls interface: ge-0/0/3.45 status changed to DOWN belonging to instance VPLS_R4 up count = 0 stdby up count = 0 total count = 1 encapsType = 40
Sep 26 16:44:43.171925    [l2ckt_intf_delete] intf vt/lsi:10.200.1.3-1 (nbr 10.200.1.3, bkup-nbr 0.0.0.0) deleted belonging to instance VPLS_R4
Sep 26 16:44:43.171933 Protection PW oper state DOWN for intf vt/lsi:10.200.1.3-1 VPLS instance VPLS_R4
Sep 26 16:44:43.171937 [l2ckt_intf_unset_vc] for intf vt/lsi:10.200.1.3-1 vc refcnt 0
Sep 26 16:44:43.171945     Delete route for l2ckt intf adv 10.200.1.3:NoCtrlWord:5:1:Local (label: 262145)
Sep 26 16:44:43.171985 [l2ckt_intf_delete] L2CKT nbr 10.200.1.3 vc-id 1 freeing label 262145
Sep 26 16:44:43.172024 [l2ckt_primary_release_label] Deleting Inlabel: 262145 for Intf vt/lsi:10.200.1.3-1: belonging to instance VPLS_R4, change = FALSE
Sep 26 16:44:43.172057 task_delete: deleting task VPLS_R4
Sep 26 16:44:43.172062 task_job_delete_task: deleting all jobs for task VPLS_R4
Sep 26 16:44:43.172066 task_job_deleted_task: no jobs found for task VPLS_R4
Sep 29 16:36:23 trace_on: Tracing to "/var/log/R1/VPLS" started
Sep 29 16:36:23.635717 vc_iflchange  intf vpls-7.1.2 (index 349) change flags 0x0
Sep 29 16:36:23.647273 [vc_intf_params_change] Intf vpls-7.1.2: NO CHANGE
Sep 29 16:36:23.647318 vc_iflchange  intf ge-0/0/3.45 (index 348) change flags 0x0
Sep 29 16:36:23.647325 [vc_intf_params_change] Intf ge-0/0/3.45: NO CHANGE
Sep 29 16:36:23.648971 [vc_ifachange] intf ge-0/0/3.45: new status intf Up (old status intf Up)
Sep 29 16:36:23.649374 [vc_ifachange] Triggering VC status update timer for intf ge-0/0/3.45
Sep 29 16:36:23.649381        Triggering VC status update timer for intf ge-0/0/3.45
Sep 29 16:36:23.762017 [vc_ifachange] ge-0/0/3.45 is not in any vc yet
Sep 29 16:36:23.762034 [vc_intf_params_change] Intf ge-0/0/3.45: NO CHANGE
Sep 29 16:36:23.762079 [vc_intf_vc_status_update] Recomputing the status of the VC for interface: ge-0/0/3.45, flags 0x0, 0x840180
Sep 29 16:36:23.762088       interface ge-0/0/3.45: vc status = intf Up, intf_up = TRUE
Sep 29 16:36:23.762092       interface ge-0/0/3.45: Local vpls adv_down = 0, vc_down = 0, ccc_up = 1
Sep 29 16:36:23.762223       interface ge-0/0/3.45: Done Computing adv, vc down and ccc_up status adv_down = 0, vc_down = 0, ccc_up = 1
Sep 29 16:36:23.762232 [vc_intf_vc_status_update] Done Recomputing the status of the VC for interface ge-0/0/3.45: flags 0x0, 0x840180
Sep 29 16:36:23.762409 [vc_ifachange] intf lsi.34603012: new status intf Up (old status intf Up)
Sep 29 16:36:23.762415 [vc_ifachange] Triggering VC status update timer for intf lsi.34603012
Sep 29 16:36:23.762419        Triggering VC status update timer for intf vpls-7.1.2
Sep 29 16:36:23.762427 [vc_ifachange] vc (VPN : VPLS_R4, local-site : 1, remote-site : 2), ifl lsi.34603012: status intf Up -> intf Up
Sep 29 16:36:23.763174 New policy call for L2VPN from VPLS_R4.L2VPN.0
Sep 29 16:36:23.763183 New policy processing complete for L2VPN from VPLS_R4.L2VPN.0
Sep 29 16:36:23.763205 Route flash received from mpls.0 : New policy
Sep 29 16:36:23.763209        Triggering VC status update timer for intf vpls-7.1.2
Sep 29 16:36:23.763253 Flash call for L2VPN from VPLS_R4.L2VPN.0
Sep 29 16:36:23.763430 route flash: processing 10.200.1.3:100::2:1
Sep 29 16:36:23.763472 Remote advertisement: (off 1, rng 8, label-base 262169, site-pref 100, encaps 19, D-bit 0) add from next-hop 10.200.1.3 remote PE 10.200.1.3 site 2 (RD 10.200.1.3:100:)
Sep 29 16:36:23.763517 Evaluate site designation for instance VPLS_R4 site ID 2 type remote
Sep 29 16:36:23.763522 remote site ID 2 marked designated
Sep 29 16:36:23.763529 Site ID 2: Starting timer for change processing,  change flags 0x0 0x18, reason: remote adv recv -- RD 10.200.1.3:100:
Sep 29 16:36:23.764056 task_timer_reset: reset VPLS_R4-l2vpn_Site change
Sep 29 16:36:23.764066 task_timer_set_oneshot_latest: timer VPLS_R4-l2vpn_Site change interval set to 0.044542
Sep 29 16:36:23.764072 Flash processing complete for L2VPN from VPLS_R4.L2VPN.0
Sep 29 16:36:23.808479 [vc_intf_vc_status_update] Recomputing the status of the VC for interface: vpls-7.1.2, flags 0x0, 0x2845180
Sep 29 16:36:23.808509       interface vpls-7.1.2: vc status = intf Up, intf_up = TRUE
Sep 29 16:36:23.808514       interface vpls-7.1.2: UP adv_down = 0 : vc_down = 0, ccc_up = 1
Sep 29 16:36:23.808519       interface vpls-7.1.2: VC PRESENT
Sep 29 16:36:23.808525       interface vpls-7.1.2: Done Computing adv, vc down and ccc_up status adv_down = 0, vc_down = 0, ccc_up = 1
Sep 29 16:36:23.808531 [vc_intf_vc_status_update] Done Recomputing the status of the VC for interface vpls-7.1.2: flags 0x0, 0x2845180
Sep 29 16:36:23.808542 Handling change processing for remote-site 2:
Sep 29 16:36:23.808547 Starting change processing for remote-site 2: flags 0x0 0x18
Sep 29 16:36:23.808554 Mesh group for lcl site CE_R4, rmt site ID 2 is __ves__
Sep 29 16:36:23.808560 Dynamic VPLS interface lsi.34603012: status successful for instance VPLS_R4 local-site 1 remote-site 2: interface already exists
Sep 29 16:36:23.808565     Insert/update vc from local-site CE_R4(1) to remote-site 2
Sep 29 16:36:23.808569         ingress_label is 262146
Sep 29 16:36:23.808576         [vc_update] Insert/update vc (VPN : VPLS_R4, local-site : 1, remote-site : 2), connection protection disabled, hot-standby protection disabled
Sep 29 16:36:23.808582 [vc_intf_add] starting vc status timer for vpls-7.1.2
Sep 29 16:36:23.808585        Triggering VC status update timer for intf vpls-7.1.2
Sep 29 16:36:23.808594 Site change processing done for site ID 2; cancelling running site change processing timer
Sep 29 16:36:23.808603 task_timer_reset: reset VPLS_R4-l2vpn_Site change
Sep 29 16:36:23.808606 Handling change processing for remote-site 2 done
Sep 29 16:36:23.868433 [vc_intf_vc_status_update] Recomputing the status of the VC for interface: vpls-7.1.2, flags 0x0, 0x2845180
Sep 29 16:36:23.868462       interface vpls-7.1.2: vc status = intf Up, intf_up = TRUE
Sep 29 16:36:23.868468       interface vpls-7.1.2: UP adv_down = 0 : vc_down = 0, ccc_up = 1
Sep 29 16:36:23.868473       interface vpls-7.1.2: VC PRESENT
Sep 29 16:36:23.868479       interface vpls-7.1.2: Done Computing adv, vc down and ccc_up status adv_down = 0, vc_down = 0, ccc_up = 1
Sep 29 16:36:23.868484 [vc_intf_vc_status_update] Done Recomputing the status of the VC for interface vpls-7.1.2: flags 0x0, 0x2845180

[edit]
root@vMX-1#


Final configuration:
vMX-1:
set system host-name vMX-1
set logical-systems R1 interfaces ge-0/0/1 unit 12 description TO_R2
set logical-systems R1 interfaces ge-0/0/1 unit 12 vlan-id 12
set logical-systems R1 interfaces ge-0/0/1 unit 12 family inet address 10.200.12.1/24
set logical-systems R1 interfaces ge-0/0/1 unit 12 family iso
set logical-systems R1 interfaces ge-0/0/1 unit 12 family mpls
set logical-systems R1 interfaces ge-0/0/3 unit 45 description TO_R4_VPLS_NO_IPV4
set logical-systems R1 interfaces ge-0/0/3 unit 45 encapsulation vlan-vpls
set logical-systems R1 interfaces ge-0/0/3 unit 45 vlan-id 45
set logical-systems R1 interfaces ge-0/0/3 unit 45 family vpls
set logical-systems R1 interfaces lo0 unit 1 family inet address 10.200.1.1/32
set logical-systems R1 interfaces lo0 unit 1 family iso address 49.0001.0000.0000.0001.00
set logical-systems R1 protocols rsvp interface ge-0/0/1.12
set logical-systems R1 protocols mpls label-switched-path R1_TO_R3 to 10.200.1.3
set logical-systems R1 protocols mpls label-switched-path R1_TO_R3 primary VIA_R2
set logical-systems R1 protocols mpls path VIA_R2 10.200.12.2 strict
set logical-systems R1 protocols mpls path VIA_R2 10.200.1.3 loose
set logical-systems R1 protocols mpls interface ge-0/0/1.12
set logical-systems R1 protocols bgp group TO_RR type internal
set logical-systems R1 protocols bgp group TO_RR local-address 10.200.1.1
set logical-systems R1 protocols bgp group TO_RR family l2vpn signaling
set logical-systems R1 protocols bgp group TO_RR neighbor 10.200.1.2
set logical-systems R1 protocols isis level 1 disable
set logical-systems R1 protocols isis interface ge-0/0/1.12
set logical-systems R1 protocols isis interface lo0.1
set logical-systems R1 routing-instances VPLS_R4 instance-type vpls
set logical-systems R1 routing-instances VPLS_R4 interface ge-0/0/3.45
set logical-systems R1 routing-instances VPLS_R4 route-distinguisher 10.200.1.1:100
set logical-systems R1 routing-instances VPLS_R4 vrf-target target:65001L:100
set logical-systems R1 routing-instances VPLS_R4 protocols vpls traceoptions file VPLS
set logical-systems R1 routing-instances VPLS_R4 protocols vpls traceoptions flag all
set logical-systems R1 routing-instances VPLS_R4 protocols vpls no-tunnel-services
set logical-systems R1 routing-instances VPLS_R4 protocols vpls site CE_R4 site-identifier 1
set logical-systems R1 routing-options autonomous-system 65001
set logical-systems R2 interfaces ge-0/0/1 unit 23 description TO_R3
set logical-systems R2 interfaces ge-0/0/1 unit 23 vlan-id 23
set logical-systems R2 interfaces ge-0/0/1 unit 23 family inet address 10.200.23.2/24
set logical-systems R2 interfaces ge-0/0/1 unit 23 family iso
set logical-systems R2 interfaces ge-0/0/1 unit 23 family mpls
set logical-systems R2 interfaces ge-0/0/2 unit 12 description TO_R1
set logical-systems R2 interfaces ge-0/0/2 unit 12 vlan-id 12
set logical-systems R2 interfaces ge-0/0/2 unit 12 family inet address 10.200.12.2/24
set logical-systems R2 interfaces ge-0/0/2 unit 12 family iso
set logical-systems R2 interfaces ge-0/0/2 unit 12 family mpls
set logical-systems R2 interfaces lo0 unit 2 family inet address 10.200.1.2/32
set logical-systems R2 interfaces lo0 unit 2 family iso address 49.0002.0000.0000.0002.00
set logical-systems R2 protocols rsvp interface all
set logical-systems R2 protocols mpls interface all
set logical-systems R2 protocols bgp group RR type internal
set logical-systems R2 protocols bgp group RR local-address 10.200.1.2
set logical-systems R2 protocols bgp group RR family l2vpn signaling
set logical-systems R2 protocols bgp group RR cluster 10.200.1.2
set logical-systems R2 protocols bgp group RR neighbor 10.200.1.1
set logical-systems R2 protocols bgp group RR neighbor 10.200.1.3
set logical-systems R2 protocols isis level 1 disable
set logical-systems R2 protocols isis interface ge-0/0/1.23
set logical-systems R2 protocols isis interface ge-0/0/2.12
set logical-systems R2 protocols isis interface lo0.2
set logical-systems R2 routing-options autonomous-system 65001
set logical-systems R2 routing-options resolution rib bgp.l2vpn.0 resolution-ribs inet.0
set logical-systems R4 interfaces ge-0/0/4 unit 45 description TO_R1
set logical-systems R4 interfaces ge-0/0/4 unit 45 vlan-id 45
set logical-systems R4 interfaces ge-0/0/4 unit 45 family inet address 172.16.45.4/24
set logical-systems R4 interfaces lo0 unit 4 family inet address 172.16.4.4/32
set logical-systems R4 protocols ospf area 0.0.0.0 interface all
set logical-systems R4 protocols ospf area 0.0.0.0 interface lo0.4 passive
set logical-systems R4 protocols ospf area 0.0.0.0 interface ge-0/0/4.45
set interfaces ge-0/0/1 vlan-tagging
set interfaces ge-0/0/2 vlan-tagging
set interfaces ge-0/0/3 vlan-tagging
set interfaces ge-0/0/3 encapsulation flexible-ethernet-services
set interfaces ge-0/0/4 vlan-tagging


vMX-2:
set system host-name vMX-2
set logical-systems R3 interfaces ge-0/0/2 unit 23 description TO_R2
set logical-systems R3 interfaces ge-0/0/2 unit 23 vlan-id 23
set logical-systems R3 interfaces ge-0/0/2 unit 23 family inet address 10.200.23.3/24
set logical-systems R3 interfaces ge-0/0/2 unit 23 family iso
set logical-systems R3 interfaces ge-0/0/2 unit 23 family mpls
set logical-systems R3 interfaces ge-0/0/3 unit 450 description TO_R5_VPLS_NO_IPV4
set logical-systems R3 interfaces ge-0/0/3 unit 450 encapsulation vlan-vpls
set logical-systems R3 interfaces ge-0/0/3 unit 450 vlan-id 450
set logical-systems R3 interfaces ge-0/0/3 unit 450 family vpls
set logical-systems R3 interfaces lo0 unit 3 family inet address 10.200.1.3/32
set logical-systems R3 interfaces lo0 unit 3 family iso address 49.0003.0000.0000.0003.00
set logical-systems R3 protocols rsvp interface ge-0/0/2.23
set logical-systems R3 protocols mpls label-switched-path R3_TO_R1 to 10.200.1.1
set logical-systems R3 protocols mpls label-switched-path R3_TO_R1 primary VIA_R2
set logical-systems R3 protocols mpls path VIA_R2 10.200.23.2 strict
set logical-systems R3 protocols mpls path VIA_R2 10.200.1.1 loose
set logical-systems R3 protocols mpls interface ge-0/0/2.23
set logical-systems R3 protocols bgp group TO_RR type internal
set logical-systems R3 protocols bgp group TO_RR local-address 10.200.1.3
set logical-systems R3 protocols bgp group TO_RR family l2vpn signaling
set logical-systems R3 protocols bgp group TO_RR neighbor 10.200.1.2
set logical-systems R3 protocols isis level 1 disable
set logical-systems R3 protocols isis interface ge-0/0/2.23
set logical-systems R3 protocols isis interface lo0.3
set logical-systems R3 routing-instances VPLS_R5 instance-type vpls
set logical-systems R3 routing-instances VPLS_R5 vlan-id 45
set logical-systems R3 routing-instances VPLS_R5 interface ge-0/0/3.450
set logical-systems R3 routing-instances VPLS_R5 route-distinguisher 10.200.1.3:100
set logical-systems R3 routing-instances VPLS_R5 vrf-target target:65001L:100
set logical-systems R3 routing-instances VPLS_R5 protocols vpls no-tunnel-services
set logical-systems R3 routing-instances VPLS_R5 protocols vpls site CE_R5 site-identifier 2
set logical-systems R3 routing-options autonomous-system 65001
set logical-systems R5 interfaces ge-0/0/4 unit 450 description TO_R3
set logical-systems R5 interfaces ge-0/0/4 unit 450 vlan-id 450
set logical-systems R5 interfaces ge-0/0/4 unit 450 family inet address 172.16.45.5/24
set logical-systems R5 interfaces lo0 unit 5 family inet address 172.16.5.5/32
set logical-systems R5 protocols ospf area 0.0.0.0 interface all
set logical-systems R5 protocols ospf area 0.0.0.0 interface lo0.5 passive
set logical-systems R5 protocols ospf area 0.0.0.0 interface ge-0/0/4.450
set interfaces ge-0/0/2 vlan-tagging
set interfaces ge-0/0/3 vlan-tagging
set interfaces ge-0/0/3 encapsulation flexible-ethernet-services
set interfaces ge-0/0/4 vlan-tagging


Reference:
1. Junos VPLS Configuration Guide
JNCIS-SP-Part3_2013-05-15.pdf (Chapter 17: VPLS Configuration)

2. JCNIP-SP Lab Configuring an MPLS-Based L3 VPN
https://juilin77.blogspot.com/2018/06/jcnip-sp-lab-configuring-mpls-based-l3.html

3. JNCIP-SP Lab Configuring LDP Signaling for VPLS
https://juilin77.blogspot.com/2018/06/jncip-sp-lab-configuring-ldp-signaling.html

4. Example: Configuring VPLS with BGP Signaling
https://www.juniper.net/documentation/en_US/junos12.1/topics/example/vpls-bgp-configuring.html


最初發表 / 最後更新: 2015.09.30 / 2018.06.03

0 comments:

張貼留言