==================================================================
=================================================================
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
=======================================================================
No comments:
Post a Comment