Wednesday, July 29, 2015

l2vpn in Juniper MX

Try l2vpn in Juniper MX

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



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

lab@mxA-1> show configuration logical-systems
ceA-1 {
    interfaces {
        ge-1/1/4 {
            unit 610 {
                vlan-id 610;
                family inet {
                    address 10.0.10.1/24;
                }
            }
        }
        lo0 {
            unit 1 {
                family inet {
                    address 193.168.11.1/32;
                }
            }
        }
    }
    protocols {
        ospf {
            export statics;
            area 0.0.0.0 {
                interface ge-1/1/4.610;
                interface lo0.1;
            }
        }
    }
    policy-options {
        policy-statement exp-policy {
            term 10 {
                from protocol static;
                then accept;
            }
            term 20 {
                from protocol direct;
                then accept;
            }
        }
        policy-statement statics {
            term 10 {
                from protocol static;
                then accept;
            }
        }
    }                                  
    routing-options {
        static {
            route 172.10.0.0/24 reject;
            route 172.10.1.0/24 reject;
            route 172.10.2.0/24 reject;
            route 172.10.3.0/24 reject;
        }
        autonomous-system 65101;
    }
}

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

lab@mxA-2> show configuration logical-systems
ceA-2 {
    interfaces {
        ge-1/1/4 {
            unit 610 {
                vlan-id 610;
                family inet {
                    address 10.0.10.2/24;
                }
            }
        }
        lo0 {
            unit 1 {
                family inet {
                    address 193.168.11.2/32;
                }
            }
        }
    }
    protocols {
        ospf {
            export statics;
            area 0.0.0.0 {
                interface ge-1/1/4.610;
                interface lo0.1;
            }
        }
    }
    policy-options {
        policy-statement exp-policy {
            term 10 {
                from protocol static;
                then accept;
            }
            term 20 {
                from protocol direct;
                then accept;
            }
        }
        policy-statement statics {
            term 10 {
                from protocol static;
                then accept;
            }
        }
    }                                  
    routing-options {
        static {
            route 172.10.4.0/24 reject;
            route 172.10.5.0/24 reject;
            route 172.10.6.0/24 reject;
            route 172.10.7.0/24 reject;
        }
        autonomous-system 65101;
    }
}

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

lab@mxA-1> show configuration protocols
mpls {
    interface ge-1/0/0.210;
    interface ge-1/0/1.211;
}
bgp {
    group my-int-group {
        type internal;
        local-address 193.168.1.1;
        family inet {
            unicast;
        }
        family l2vpn {
            signaling;
        }
        neighbor 193.168.1.2;
    }
}
ospf {
    area 0.0.0.0 {
        interface ge-1/0/0.210;
        interface ge-1/0/1.211;
        interface lo0.0;
    }
}
ldp {
    interface ge-1/0/0.210;
    interface ge-1/0/1.211;
    interface lo0.0;
}

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

lab@mxA-2> show configuration protocols
mpls {
    interface ge-1/0/0.212;
    interface ge-1/0/1.213;
}
bgp {
    group my-int-group {
        type internal;
        local-address 193.168.1.2;
        family inet {
            unicast;
        }
        family l2vpn {
            signaling;
        }
        neighbor 193.168.1.1;
    }
}
ospf {
    area 0.0.0.0 {
        interface ge-1/0/0.212;
        interface ge-1/0/1.213;
        interface lo0.0;
    }
}
ldp {
    interface ge-1/0/0.212;
    interface ge-1/0/1.213;
    interface lo0.0;
}

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

lab@mxA-2> show configuration routing-instances
vpn-A {
    instance-type l2vpn;
    interface ge-1/0/4.610;
    vrf-target target:65512:2;
    protocols {
        l2vpn {
            encapsulation-type ethernet-vlan;
            site ceA-2 {
                site-identifier 2;
                interface ge-1/0/4.610;
            }
        }
    }
}

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

lab@mxA-1> show configuration routing-instances
vpn-A {
    instance-type l2vpn;
    interface ge-1/0/4.610;
    vrf-target target:65512:2;
    protocols {
        l2vpn {
            encapsulation-type ethernet-vlan;
            site ceA-1 {
                site-identifier 1;
                interface ge-1/0/4.610;
            }
        }
    }
}

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

lab@mxA-1> show l2vpn connections
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: vpn-A



  Local site: ceA-1 (1)
    connection-site           Type  St     Time last up          # Up trans
    2                         rmt   Up     Jul 29 09:15:05 2015           1
      Remote PE: 193.168.1.2, Negotiated control-word: Yes (Null)
      Incoming label: 800001, Outgoing label: 800000
      Local interface: ge-1/0/4.610, Status: Up, Encapsulation: VLAN




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

lab@mxA-2> show l2vpn connections
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: vpn-A
  Local site: ceA-2 (2)
    connection-site           Type  St     Time last up          # Up trans
    1                         rmt   Up     Jul 29 09:15:13 2015           1
      Remote PE: 193.168.1.1, Negotiated control-word: Yes (Null)
      Incoming label: 800000, Outgoing label: 800001
      Local interface: ge-1/0/4.610, Status: Up, Encapsulation: VLAN

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

lab@mxA-1> ping mpls l2vpn instance vpn-A remote-site-id 2 local-site-id 1 detail         
Request for seq 1, to interface 339, labels <800000, 299920>, packet size 88
Reply for seq 1, return code: Egress-ok, time: 7059.583 ms
        Local transmit time: 2015-07-29 09:53:18 UTC 513.291 ms
        Remote receive time: 2015-07-29 09:53:25 UTC 572.874 ms
Request for seq 2, to interface 339, labels <800000, 299920>, packet size 88
Reply for seq 2, return code: Egress-ok, time: 7059.522 ms
        Local transmit time: 2015-07-29 09:53:19 UTC 514.274 ms
        Remote receive time: 2015-07-29 09:53:26 UTC 573.796 ms
Request for seq 3, to interface 339, labels <800000, 299920>, packet size 88
Reply for seq 3, return code: Egress-ok, time: 7059.514 ms
        Local transmit time: 2015-07-29 09:53:20 UTC 514.211 ms
        Remote receive time: 2015-07-29 09:53:27 UTC 573.725 ms
Request for seq 4, to interface 339, labels <800000, 299920>, packet size 88
Reply for seq 4, return code: Egress-ok, time: 7059.504 ms
        Local transmit time: 2015-07-29 09:53:21 UTC 514.202 ms
        Remote receive time: 2015-07-29 09:53:28 UTC 573.706 ms
Request for seq 5, to interface 339, labels <800000, 299920>, packet size 88
Reply for seq 5, return code: Egress-ok, time: 7059.488 ms
        Local transmit time: 2015-07-29 09:53:22 UTC 514.194 ms
        Remote receive time: 2015-07-29 09:53:29 UTC 573.682 ms

--- lsping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss



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

lab@mxA-2> ping mpls l2vpn instance vpn-A remote-site-id 1 local-site-id 2 detail 
Request for seq 1, to interface 338, labels <800001, 299904>, packet size 88
Reply for seq 1, return code: Egress-ok, time: -7058.456 ms
        Local transmit time: 2015-07-29 09:53:57 UTC 244.086 ms
        Remote receive time: 2015-07-29 09:53:50 UTC 185.630 ms
Request for seq 2, to interface 338, labels <800001, 299904>, packet size 88
Reply for seq 2, return code: Egress-ok, time: -7058.472 ms
        Local transmit time: 2015-07-29 09:53:58 UTC 245.022 ms
        Remote receive time: 2015-07-29 09:53:51 UTC 186.550 ms
Request for seq 3, to interface 338, labels <800001, 299904>, packet size 88
Reply for seq 3, return code: Egress-ok, time: -7058.504 ms
        Local transmit time: 2015-07-29 09:53:59 UTC 245.013 ms
        Remote receive time: 2015-07-29 09:53:52 UTC 186.509 ms
Request for seq 4, to interface 338, labels <800001, 299904>, packet size 88
Reply for seq 4, return code: Egress-ok, time: -7058.443 ms
        Local transmit time: 2015-07-29 09:54:00 UTC 245.004 ms
        Remote receive time: 2015-07-29 09:53:53 UTC 186.561 ms
Request for seq 5, to interface 338, labels <800001, 299904>, packet size 88
Reply for seq 5, return code: Egress-ok, time: -7058.444 ms
        Local transmit time: 2015-07-29 09:54:01 UTC 244.996 ms
        Remote receive time: 2015-07-29 09:53:54 UTC 186.552 ms

--- lsping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss

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

lab@mxA-2> ping logical-system ceA-2 10.0.10.1 count 3
PING 10.0.10.1 (10.0.10.1): 56 data bytes
64 bytes from 10.0.10.1: icmp_seq=0 ttl=64 time=0.893 ms
64 bytes from 10.0.10.1: icmp_seq=1 ttl=64 time=0.739 ms
64 bytes from 10.0.10.1: icmp_seq=2 ttl=64 time=0.800 ms

--- 10.0.10.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.739/0.811/0.893/0.063 ms

lab@mxA-2> ping logical-system ceA-2 193.168.11.1 count 3  
PING 193.168.11.1 (193.168.11.1): 56 data bytes
64 bytes from 193.168.11.1: icmp_seq=0 ttl=64 time=0.821 ms
64 bytes from 193.168.11.1: icmp_seq=1 ttl=64 time=0.762 ms
64 bytes from 193.168.11.1: icmp_seq=2 ttl=64 time=0.708 ms

--- 193.168.11.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.708/0.764/0.821/0.046 ms


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

lab@mxA-1> ping logical-system ceA-1 10.0.10.2 count 3
PING 10.0.10.2 (10.0.10.2): 56 data bytes
64 bytes from 10.0.10.2: icmp_seq=0 ttl=64 time=0.847 ms
64 bytes from 10.0.10.2: icmp_seq=1 ttl=64 time=0.724 ms
64 bytes from 10.0.10.2: icmp_seq=2 ttl=64 time=0.751 ms

--- 10.0.10.2 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.724/0.774/0.847/0.053 ms

lab@mxA-1> ping logical-system ceA-1 193.168.11.2 count 3
PING 193.168.11.2 (193.168.11.2): 56 data bytes
64 bytes from 193.168.11.2: icmp_seq=0 ttl=64 time=11.102 ms
64 bytes from 193.168.11.2: icmp_seq=1 ttl=64 time=10.875 ms
64 bytes from 193.168.11.2: icmp_seq=2 ttl=64 time=9.876 ms

--- 193.168.11.2 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 9.876/10.618/11.102/0.533 ms

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





VPLS in juniper mx

Let's try VPLS in Juniper mx
==================================================================



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

lab@mxB-1# show logical-systems
c-router-1 {
    interfaces {
        ge-1/1/4 {
            unit 620 {
                vlan-id 620;
                family inet {
                    address 10.0.20.1/24;
                }
            }
            unit 621 {
                vlan-id 621;
                family inet {
                    address 10.0.21.1/24;
                }
            }
        }
        lo0 {
            unit 1 {
                family inet {
                    address 193.168.12.1/32;
                }
            }
        }
    }
}


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

lab@mxB-2# show logical-systems
c-router-2 {
    interfaces {
        ge-1/1/4 {
            unit 620 {
                vlan-id 620;
                family inet {
                    address 10.0.20.2/24;
                }
            }
            unit 621 {
                vlan-id 621;
                family inet {
                    address 10.0.21.2/24;
                }
            }
        }
        lo0 {
            unit 1 {
                family inet {
                    address 193.168.12.2/32;
                }
            }
        }
    }
}

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

lab@mxB-1# show protocols         
mpls {
    interface ge-1/0/0.220;
    interface ge-1/0/1.221;
    interface ge-1/1/2.0;
}
bgp {
    group my-int-group {
        type internal;
        local-address 193.168.2.1;
        family l2vpn {
            signaling;
        }
        neighbor 193.168.2.2;
    }
}
ospf {
    area 0.0.0.0 {
        interface ge-1/0/0.220;
        interface ge-1/0/1.221;
        interface lo0.0;
        interface ge-1/1/2.0;
    }
}
ldp {
    interface ge-1/0/0.220;
    interface ge-1/0/1.221;
    interface ge-1/1/2.0;
    interface lo0.0;
}

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

lab@mxB-2# show protocols
mpls {
    interface ge-1/0/0.222;
    interface ge-1/0/1.223;
    interface ge-1/1/2.0;
}
bgp {
    group my-int-group {
        type internal;
        local-address 193.168.2.2;
        family l2vpn {
            signaling;
        }
        neighbor 193.168.2.1;
    }
}
ospf {
    area 0.0.0.0 {
        interface ge-1/0/0.222;
        interface ge-1/0/1.223;
        interface lo0.0;
        interface ge-1/1/2.0;
    }
}
ldp {
    interface ge-1/0/0.222;
    interface ge-1/0/1.223;
    interface ge-1/1/2.0;
    interface lo0.0;
}

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


lab@mxB-2# run show ospf neighbor
Address          Interface              State     ID               Pri  Dead
172.16.1.1       ge-1/1/2.0             Full      193.168.2.1      128    37

[edit]
lab@mxB-2# run show mpls interface
Interface        State       Administrative groups (x: extended)
ge-1/0/0.222     Dn         <none>
ge-1/0/1.223     Dn         <none>
ge-1/1/2.0       Up         <none>

[edit]
lab@mxB-2# run show ldp database     
Input label database, 193.168.2.2:0--193.168.2.1:0
  Label     Prefix
      3      193.168.2.1/32
 299792      193.168.2.2/32
 800000      L2CKT NoCtrlWord ETHERNET VC 100

Output label database, 193.168.2.2:0--193.168.2.1:0
  Label     Prefix
 299792      193.168.2.1/32
      3      193.168.2.2/32
 800000      L2CKT NoCtrlWord ETHERNET VC 100


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

lab@mxB-1# run show mpls interface
Interface        State       Administrative groups (x: extended)
ge-1/0/0.220     Dn         <none>
ge-1/0/1.221     Dn         <none>
ge-1/1/2.0       Up         <none>

[edit]
lab@mxB-1# run show ldp database
Input label database, 193.168.2.1:0--193.168.2.2:0
  Label     Prefix
 299792      193.168.2.1/32
      3      193.168.2.2/32
 800000      L2CKT NoCtrlWord ETHERNET VC 100

Output label database, 193.168.2.1:0--193.168.2.2:0
  Label     Prefix
      3      193.168.2.1/32
 299792      193.168.2.2/32
 800000      L2CKT NoCtrlWord ETHERNET VC 100

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

[edit]
lab@mxB-1# run show vpls connections
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: vpn2
  Local site: site1 (1)
    connection-site           Type  St     Time last up          # Up trans
    2                         rmt   Up     Jul 29 07:49:23 2015           1
      Remote PE: 193.168.2.2, Negotiated control-word: No
      Incoming label: 800257, Outgoing label: 800256
      Local interface: vt-1/0/10.1048593, Status: Up, Encapsulation: VPLS
        Description: Intf - vpls vpn2 local site 1 remote site 2

Instance: vpn1
  VPLS-id: 100
    Neighbor                  Type  St     Time last up          # Up trans
    193.168.2.2(vpls-id 100)  rmt   Up     Jul 29 07:49:23 2015           1
      Remote PE: 193.168.2.2, Negotiated control-word: No
      Incoming label: 800000, Outgoing label: 800000
      Negotiated PW status TLV: No
      Local interface: vt-1/0/10.1048592, Status: Up, Encapsulation: ETHERNET
        Description: Intf - vpls vpn1 neighbor 193.168.2.2 vpls-id 100
                                       
[edit]
lab@mxB-1#

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

lab@mxB-1# run show vpls connections
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: vpn2
  Local site: site1 (1)
    connection-site           Type  St     Time last up          # Up trans
    2                         rmt   Up     Jul 29 07:49:23 2015           1
      Remote PE: 193.168.2.2, Negotiated control-word: No
      Incoming label: 800257, Outgoing label: 800256
      Local interface: vt-1/0/10.1048593, Status: Up, Encapsulation: VPLS
        Description: Intf - vpls vpn2 local site 1 remote site 2

Instance: vpn1
  VPLS-id: 100
    Neighbor                  Type  St     Time last up          # Up trans
    193.168.2.2(vpls-id 100)  rmt   Up     Jul 29 07:49:23 2015           1
      Remote PE: 193.168.2.2, Negotiated control-word: No
      Incoming label: 800000, Outgoing label: 800000
      Negotiated PW status TLV: No
      Local interface: vt-1/0/10.1048592, Status: Up, Encapsulation: ETHERNET
        Description: Intf - vpls vpn1 neighbor 193.168.2.2 vpls-id 100
                                        


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

lab@mxB-1# show routing-instances vpn1 
instance-type vpls;
interface ge-1/0/6.620;
interface ge-1/0/7.620;
protocols {
    vpls {
        vpls-id 100;
        neighbor 193.168.2.2;
    }
}

[edit]
lab@mxB-1# show routing-instances vpn2   
instance-type vpls;
interface ge-1/0/8.621;
interface ge-1/0/9.621;
route-distinguisher 193.168.2.1:1;
vrf-target target:65512:200;
protocols {
    vpls {
        site site1 {
            site-identifier 1;
            active-interface primary ge-1/0/8.621;
            interface ge-1/0/8.621;
            interface ge-1/0/9.621;
        }
    }
}

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

lab@mxB-2# show routing-instances vpn1 
instance-type vpls;
interface ge-1/0/6.620;
interface ge-1/0/7.620;
protocols {
    vpls {
        vpls-id 100;
        neighbor 193.168.2.1;
    }
}

[edit]
lab@mxB-2# show routing-instances vpn2   
instance-type vpls;
interface ge-1/0/8.621;
interface ge-1/0/9.621;
route-distinguisher 193.168.2.2:1;
vrf-target target:65512:200;
protocols {
    vpls {
        site site2 {
            site-identifier 2;
            active-interface primary ge-1/0/8.621;
            interface ge-1/0/8.621;
            interface ge-1/0/9.621;
        }
    }
}

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

lab@mxB-2# run show vpls mac-table

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)

Routing instance : vpn1
 Bridging domain : __vpn1__, VLAN : NA
   MAC                 MAC      Logical          NH     RTR
   address             flags    interface        Index  ID
   cc:e1:7f:7c:b5:7c   D        vt-1/0/10.1048591
   cc:e1:7f:7c:cb:7c   D        ge-1/0/6.620   

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)

Routing instance : vpn2
 Bridging domain : __vpn2__, VLAN : NA
   MAC                 MAC      Logical          NH     RTR
   address             flags    interface        Index  ID
   cc:e1:7f:7c:b5:7c   D        vt-1/0/10.1048592
   cc:e1:7f:7c:cb:7c   D        ge-1/0/8.621   

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

lab@mxB-1# run show vpls mac-table

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)

Routing instance : vpn1
 Bridging domain : __vpn1__, VLAN : NA
   MAC                 MAC      Logical          NH     RTR
   address             flags    interface        Index  ID
   cc:e1:7f:7c:b5:7c   D        ge-1/0/6.620   
   cc:e1:7f:7c:cb:7c   D        vt-1/0/10.1048592

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)

Routing instance : vpn2
 Bridging domain : __vpn2__, VLAN : NA
   MAC                 MAC      Logical          NH     RTR
   address             flags    interface        Index  ID
   cc:e1:7f:7c:b5:7c   D        ge-1/0/8.621   
   cc:e1:7f:7c:cb:7c   D        vt-1/0/10.1048593

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

lab@mxB-1# run ping logical-system c-router-1 10.0.20.2 count 3  
PING 10.0.20.2 (10.0.20.2): 56 data bytes
64 bytes from 10.0.20.2: icmp_seq=0 ttl=64 time=0.889 ms
64 bytes from 10.0.20.2: icmp_seq=1 ttl=64 time=0.827 ms
64 bytes from 10.0.20.2: icmp_seq=2 ttl=64 time=0.811 ms

--- 10.0.20.2 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.811/0.842/0.889/0.034 ms

[edit]
lab@mxB-1# run ping logical-system c-router-1 10.0.21.2 count 3   
PING 10.0.21.2 (10.0.21.2): 56 data bytes
64 bytes from 10.0.21.2: icmp_seq=0 ttl=64 time=0.864 ms
64 bytes from 10.0.21.2: icmp_seq=1 ttl=64 time=0.650 ms
64 bytes from 10.0.21.2: icmp_seq=2 ttl=64 time=1.700 ms

--- 10.0.21.2 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.650/1.071/1.700/0.453 ms

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

lab@mxB-2# run ping logical-system c-router-2 10.0.20.1 count 3 
PING 10.0.20.1 (10.0.20.1): 56 data bytes
64 bytes from 10.0.20.1: icmp_seq=0 ttl=64 time=0.787 ms
64 bytes from 10.0.20.1: icmp_seq=1 ttl=64 time=0.824 ms
64 bytes from 10.0.20.1: icmp_seq=2 ttl=64 time=7.403 ms

--- 10.0.20.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.787/3.005/7.403/3.110 ms

[edit]
lab@mxB-2# run ping logical-system c-router-2 10.0.21.1 count 3   
PING 10.0.21.1 (10.0.21.1): 56 data bytes
64 bytes from 10.0.21.1: icmp_seq=0 ttl=64 time=0.898 ms
64 bytes from 10.0.21.1: icmp_seq=1 ttl=64 time=0.729 ms
64 bytes from 10.0.21.1: icmp_seq=2 ttl=64 time=0.870 ms

--- 10.0.21.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.729/0.832/0.898/0.074 ms

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

lab@mxB-2# run ping mpls ldp 193.168.2.1 detail
Request for seq 1, to interface 374, no label stack., packet size 80
Reply for seq 1, return code: Egress-ok, time: -2140.727 ms
        Local transmit time: 2015-07-29 07:56:32 UTC 507.456 ms
        Remote receive time: 2015-07-29 07:56:30 UTC 366.729 ms
Request for seq 2, to interface 374, no label stack., packet size 80
Reply for seq 2, return code: Egress-ok, time: -2141.192 ms
        Local transmit time: 2015-07-29 07:56:33 UTC 508.398 ms
        Remote receive time: 2015-07-29 07:56:31 UTC 367.206 ms
Request for seq 3, to interface 374, no label stack., packet size 80
Reply for seq 3, return code: Egress-ok, time: -2141.200 ms
        Local transmit time: 2015-07-29 07:56:34 UTC 508.389 ms
        Remote receive time: 2015-07-29 07:56:32 UTC 367.189 ms
Request for seq 4, to interface 374, no label stack., packet size 80
Reply for seq 4, return code: Egress-ok, time: -2140.699 ms
        Local transmit time: 2015-07-29 07:56:35 UTC 508.423 ms
        Remote receive time: 2015-07-29 07:56:33 UTC 367.724 ms
Request for seq 5, to interface 374, no label stack., packet size 80
Reply for seq 5, return code: Egress-ok, time: -2141.173 ms
        Local transmit time: 2015-07-29 07:56:36 UTC 508.371 ms
        Remote receive time: 2015-07-29 07:56:34 UTC 367.198 ms

--- lsping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss

[edit]

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

lab@mxB-1# run ping mpls ldp 193.168.2.2 detail  
Request for seq 1, to interface 352, no label stack., packet size 80
Reply for seq 1, return code: Egress-ok, time: 2142.334 ms
        Local transmit time: 2015-07-29 07:56:37 UTC 361.865 ms
        Remote receive time: 2015-07-29 07:56:39 UTC 504.199 ms
Request for seq 2, to interface 352, no label stack., packet size 80
Reply for seq 2, return code: Egress-ok, time: 2142.291 ms
        Local transmit time: 2015-07-29 07:56:38 UTC 361.814 ms
        Remote receive time: 2015-07-29 07:56:40 UTC 504.105 ms
Request for seq 3, to interface 352, no label stack., packet size 80
Reply for seq 3, return code: Egress-ok, time: 2142.261 ms
        Local transmit time: 2015-07-29 07:56:39 UTC 362.785 ms
        Remote receive time: 2015-07-29 07:56:41 UTC 505.046 ms
Request for seq 4, to interface 352, no label stack., packet size 80
Reply for seq 4, return code: Egress-ok, time: 2142.254 ms
        Local transmit time: 2015-07-29 07:56:40 UTC 362.863 ms
        Remote receive time: 2015-07-29 07:56:42 UTC 505.117 ms
Request for seq 5, to interface 352, no label stack., packet size 80
Reply for seq 5, return code: Egress-ok, time: 2142.237 ms
        Local transmit time: 2015-07-29 07:56:41 UTC 362.771 ms
        Remote receive time: 2015-07-29 07:56:43 UTC 505.008 ms

--- lsping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss

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

lab@mxB-1# run ping vpls instance vpn1 destination-mac cc:e1:7f:7c:cb:7c source-ip 193.168.2.1 detail     
Request for seq 1, to interface 353, no label stack., packet size 104
Reply for seq 1, return code: Egress-ok, time: 2142.461 ms
        Local transmit time: 2015-07-29 07:58:03 UTC 641.967 ms
        Remote receive time: 2015-07-29 07:58:05 UTC 784.428 ms
 -> mxB-2:vpn1:ge-1/0/6.620
Request for seq 2, to interface 353, no label stack., packet size 104
Reply for seq 2, return code: Egress-ok, time: 2142.475 ms
        Local transmit time: 2015-07-29 07:58:04 UTC 641.934 ms
        Remote receive time: 2015-07-29 07:58:06 UTC 784.409 ms
 -> mxB-2:vpn1:ge-1/0/6.620
Request for seq 3, to interface 353, no label stack., packet size 104
Reply for seq 3, return code: Egress-ok, time: 2142.439 ms
        Local transmit time: 2015-07-29 07:58:05 UTC 641.925 ms
        Remote receive time: 2015-07-29 07:58:07 UTC 784.364 ms
 -> mxB-2:vpn1:ge-1/0/6.620
Request for seq 4, to interface 353, no label stack., packet size 104
Reply for seq 4, return code: Egress-ok, time: 2142.414 ms
        Local transmit time: 2015-07-29 07:58:06 UTC 641.915 ms
        Remote receive time: 2015-07-29 07:58:08 UTC 784.329 ms
 -> mxB-2:vpn1:ge-1/0/6.620
Request for seq 5, to interface 353, no label stack., packet size 104
Reply for seq 5, return code: Egress-ok, time: 2142.472 ms
        Local transmit time: 2015-07-29 07:58:07 UTC 641.906 ms
        Remote receive time: 2015-07-29 07:58:09 UTC 784.378 ms
 -> mxB-2:vpn1:ge-1/0/6.620

--- vpls ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss

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

lab@mxB-2# run ping vpls instance vpn1 destination-mac cc:e1:7f:7c:b5:7c source-ip 193.168.2.2 detail    
Request for seq 1, to interface 340, no label stack., packet size 104
Reply for seq 1, return code: Egress-ok, time: -2141.059 ms
        Local transmit time: 2015-07-29 07:58:55 UTC 110.004 ms
        Remote receive time: 2015-07-29 07:58:52 UTC 968.945 ms
 -> mxB-1:vpn1:ge-1/0/6.620
Request for seq 2, to interface 340, no label stack., packet size 104
Reply for seq 2, return code: Egress-ok, time: -2141.587 ms
        Local transmit time: 2015-07-29 07:58:56 UTC 109.972 ms
        Remote receive time: 2015-07-29 07:58:53 UTC 968.385 ms
 -> mxB-1:vpn1:ge-1/0/6.620
Request for seq 3, to interface 340, no label stack., packet size 104
Reply for seq 3, return code: Egress-ok, time: -2141.091 ms
        Local transmit time: 2015-07-29 07:58:57 UTC 109.967 ms
        Remote receive time: 2015-07-29 07:58:54 UTC 968.876 ms
 -> mxB-1:vpn1:ge-1/0/6.620
Request for seq 4, to interface 340, no label stack., packet size 104
Reply for seq 4, return code: Egress-ok, time: -2141.533 ms
        Local transmit time: 2015-07-29 07:58:58 UTC 110.955 ms
        Remote receive time: 2015-07-29 07:58:55 UTC 969.422 ms
 -> mxB-1:vpn1:ge-1/0/6.620
Request for seq 5, to interface 340, no label stack., packet size 104
Reply for seq 5, return code: Egress-ok, time: -2141.084 ms
        Local transmit time: 2015-07-29 07:58:59 UTC 109.943 ms
        Remote receive time: 2015-07-29 07:58:56 UTC 968.859 ms
 -> mxB-1:vpn1:ge-1/0/6.620

--- vpls ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss

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