MPLS L2VPN (BGP signaled) - Kompella VLAN
# show | no-moreversion 7.2R1.7;
system {
host-name London;
backup-router 172.27.10.129;
ports {
console type vt100;
auxiliary type vt100;
}
root-authentication {
encrypted-password "$1$RKHmQOvE$FASh/2fxJRtLErAq7/UMf0"; ## SECRET-DATA
}
login {
user lab {
uid 2000;
class superuser;
authentication {
encrypted-password "$1$Je8ILftj$csvhh/E.PK82gxpZT4SaH1"; ## SECRET-DATA
}
}
}
services {
ftp;
telnet;
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
}
}
interfaces {
fe-0/0/0 {
vlan-tagging;
encapsulation vlan-ccc;
unit 0 {
encapsulation vlan-ccc;
vlan-id 550;
family ccc;
}
}
so-0/1/0 {
encapsulation ppp;
sonet-options {
fcs 32;
path-trace jncip_lab;
}
unit 0 {
family inet {
address 133.40.1.1/30;
}
family mpls;
}
}
fxp0 {
description "MGMT INTERFACE - DO NOT DELETE";
unit 0 {
family inet {
address 172.27.10.175/25;
}
}
}
lo0 {
unit 0 {
family inet {
address 10.10.10.10/32;
}
}
}
}
routing-options {
static {
route 172.0.0.0/8 {
next-hop 172.27.10.129;
retain;
no-readvertise;
}
}
autonomous-system 100;
}
protocols {
mpls {
interface all;
}
bgp {
group ibgp-l2vpn {
type internal;
local-address 10.10.10.10;
family inet-vpn {
any;
}
family l2vpn {
unicast;
}
neighbor 20.20.20.20 {
peer-as 100;
}
}
}
ospf {
area 0.0.0.0 {
interface so-0/1/0.0;
interface lo0.0;
}
}
ldp {
interface so-0/1/0.0;
interface all;
}
}
routing-instances {
kompella-l2vpn {
instance-type l2vpn;
interface fe-0/0/0.0;
route-distinguisher 10:10;
vrf-target target:10:10;
protocols {
l2vpn {
encapsulation-type ethernet-vlan;
no-control-word;
site l2vpn-site {
site-identifier 1;
interface fe-0/0/0.0 {
remote-site-id 2;
}
}
}
}
}
}
[edit]
[url=mailto:lab@London]lab@London[/url]#
[url=mailto:lab@Amsterdam]lab@Amsterdam[/url]# show | no-more
version 7.2R2.4;
system {
host-name Amsterdam;
backup-router 172.27.10.129;
ports {
console type vt100;
auxiliary type vt100;
}
root-authentication {
encrypted-password "$1$RKHmQOvE$FASh/2fxJRtLErAq7/UMf0"; ## SECRET-DATA
}
login {
user lab {
uid 2000;
class superuser;
authentication {
encrypted-password "$1$Je8ILftj$csvhh/E.PK82gxpZT4SaH1"; ## SECRET-DATA
}
}
}
services {
ftp;
telnet;
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
}
}
interfaces {
fe-0/0/1 {
vlan-tagging;
encapsulation vlan-ccc;
unit 0 {
encapsulation vlan-ccc;
vlan-id 550;
}
}
so-0/1/0 {
encapsulation ppp;
sonet-options {
fcs 32;
}
unit 0 {
family inet {
address 133.40.1.2/30;
}
family mpls;
}
}
fxp0 {
description "MGMT INTERFACE - DO NOT DELETE";
unit 0 {
family inet {
address 172.27.10.174/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 20.20.20.20/32;
}
}
}
}
routing-options {
static {
route 172.0.0.0/8 {
next-hop 172.27.10.129;
retain;
no-readvertise;
}
}
autonomous-system 100;
}
protocols {
mpls {
interface all;
}
bgp {
group ibgp-l2vpn {
type internal;
family inet-vpn {
any;
}
family l2vpn {
unicast;
}
neighbor 10.10.10.10 {
local-address 20.20.20.20;
peer-as 100;
}
}
}
ospf {
area 0.0.0.0 {
interface so-0/1/0.0;
interface lo0.0;
}
}
ldp {
interface so-0/1/0.0;
interface all;
}
}
routing-instances {
kompella-l2vpn {
instance-type l2vpn;
interface fe-0/0/1.0;
route-distinguisher 10:10;
vrf-target target:10:10;
protocols {
l2vpn {
encapsulation-type ethernet-vlan;
no-control-word;
site l2vpn-site {
site-identifier 2;
interface fe-0/0/1.0 {
remote-site-id 1;
}
}
}
}
}
}
[edit]
[url=mailto:lab@Amsterdam]lab@Amsterdam[/url]#
[url=mailto:lab@London]lab@London[/url]# run show l2vpn connections extensive
Layer-2 VPN Connections:
Legend for connection status (St)
OR -- out of range WE -- intf encaps != instance encaps
EI -- encapsulation invalid Dn -- down
EM -- encapsulation mismatch VC-Dn -- Virtual circuit down
CM -- control-word mismatch -> -- only outbound conn is up
CN -- circuit not provisioned
Legend for interface status
Up -- operational
Dn -- down
Instance: kompella-l2vpn
Local site: l2vpn-site (1)
fe-0/0/0.0 2
800000 1 2
status-vector: 80
connection-site Type St Time last up # Up trans
2 rmt Up Aug 12 16:43:48 2005 1
Local interface: fe-0/0/0.0, Status: Up, Encapsulation: VLAN
Remote PE: 20.20.20.20, Negotiated control-word: No
Incoming label: 800001, Outgoing label: 800000
Time Event Interface/Lbl/PE
Aug 12 16:43:48 2005 status update timer
Aug 12 16:43:47 2005 PE route changed
Aug 12 16:43:47 2005 Out lbl Update 800000
Aug 12 16:43:47 2005 In lbl Update 800001
Aug 12 16:43:47 2005 loc intf up fe-0/0/0.0
[edit]
[url=mailto:lab@London]lab@London[/url]# run show l2vpn connections status
Layer-2 VPN Connections:
Legend for connection status (St)
OR -- out of range WE -- intf encaps != instance encaps
EI -- encapsulation invalid Dn -- down
EM -- encapsulation mismatch VC-Dn -- Virtual circuit down
CM -- control-word mismatch -> -- only outbound conn is up
CN -- circuit not provisioned
Legend for interface status
Up -- operational
Dn -- down
Instance: kompella-l2vpn
Local site: l2vpn-site (1)
connection-site Type St Time last up # Up trans
2 rmt Up Aug 12 16:43:48 2005 1
Local interface: fe-0/0/0.0, Status: Up, Encapsulation: VLAN
Remote PE: 20.20.20.20, Negotiated control-word: No
Incoming label: 800001, Outgoing label: 800000
[edit]
[url=mailto:lab@London]lab@London[/url]# run show l2vpn connections
Layer-2 VPN Connections:
Legend for connection status (St)
OR -- out of range WE -- intf encaps != instance encaps
EI -- encapsulation invalid Dn -- down
EM -- encapsulation mismatch VC-Dn -- Virtual circuit down
CM -- control-word mismatch -> -- only outbound conn is up
CN -- circuit not provisioned
Legend for interface status
Up -- operational
Dn -- down
Instance: kompella-l2vpn
Local site: l2vpn-site (1)
connection-site Type St Time last up # Up trans
2 rmt Up Aug 12 16:43:48 2005 1
Local interface: fe-0/0/0.0, Status: Up, Encapsulation: VLAN
Remote PE: 20.20.20.20, Negotiated control-word: No
Incoming label: 800001, Outgoing label: 800000
[edit]
[url=mailto:lab@London]lab@London[/url]#
***************************************************************
[edit]
[url=mailto:lab@SaoPaulo]lab@SaoPaulo[/url]# run ping 192.168.20.1
PING 192.168.20.1 (192.168.20.1): 56 data bytes
64 bytes from 192.168.20.1: icmp_seq=0 ttl=255 time=1.144 ms
64 bytes from 192.168.20.1: icmp_seq=1 ttl=255 time=0.967 ms
64 bytes from 192.168.20.1: icmp_seq=2 ttl=255 time=0.980 ms
64 bytes from 192.168.20.1: icmp_seq=3 ttl=255 time=0.952 ms
^C
--- 192.168.20.1 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.952/1.011/1.144/0.078 ms
[edit]
[url=mailto:lab@SaoPaulo]lab@SaoPaulo[/url]#
**********************************************
[edit]
[url=mailto:lab@Montreal]lab@Montreal[/url]# run ping 192.168.20.2
PING 192.168.20.2 (192.168.20.2): 56 data bytes
64 bytes from 192.168.20.2: icmp_seq=0 ttl=255 time=1.141 ms
64 bytes from 192.168.20.2: icmp_seq=1 ttl=255 time=0.956 ms
64 bytes from 192.168.20.2: icmp_seq=2 ttl=255 time=0.983 ms
64 bytes from 192.168.20.2: icmp_seq=3 ttl=255 time=0.975 ms
^C
--- 192.168.20.2 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.956/1.014/1.141/0.074 ms# show | no-more
version 7.2R1.7;
system {
host-name London;
backup-router 172.27.10.129;
ports {
console type vt100;
auxiliary type vt100;
}
root-authentication {
encrypted-password "$1$RKHmQOvE$FASh/2fxJRtLErAq7/UMf0"; ## SECRET-DATA
}
login {
user lab {
uid 2000;
class superuser;
authentication {
encrypted-password "$1$Je8ILftj$csvhh/E.PK82gxpZT4SaH1"; ## SECRET-DATA
}
}
}
services {
ftp;
telnet;
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
}
}
interfaces {
fe-0/0/0 {
vlan-tagging;
encapsulation vlan-ccc;
unit 0 {
encapsulation vlan-ccc;
vlan-id 550;
family ccc;
}
}
so-0/1/0 {
encapsulation ppp;
sonet-options {
fcs 32;
path-trace jncip_lab;
}
unit 0 {
family inet {
address 133.40.1.1/30;
}
family mpls;
}
}
fxp0 {
description "MGMT INTERFACE - DO NOT DELETE";
unit 0 {
family inet {
address 172.27.10.175/25;
}
}
}
lo0 {
unit 0 {
family inet {
address 10.10.10.10/32;
}
}
}
}
routing-options {
static {
route 172.0.0.0/8 {
next-hop 172.27.10.129;
retain;
no-readvertise;
}
}
autonomous-system 100;
}
protocols {
mpls {
interface all;
}
bgp {
group ibgp-l2vpn {
type internal;
local-address 10.10.10.10;
family inet-vpn {
any;
}
family l2vpn {
unicast;
}
neighbor 20.20.20.20 {
peer-as 100;
}
}
}
ospf {
area 0.0.0.0 {
interface so-0/1/0.0;
interface lo0.0;
}
}
ldp {
interface so-0/1/0.0;
interface all;
}
}
routing-instances {
kompella-l2vpn {
instance-type l2vpn;
interface fe-0/0/0.0;
route-distinguisher 10:10;
vrf-target target:10:10;
protocols {
l2vpn {
encapsulation-type ethernet-vlan;
no-control-word;
site l2vpn-site {
site-identifier 1;
interface fe-0/0/0.0 {
remote-site-id 2;
}
}
}
}
}
}
[edit]
[url=mailto:lab@London]lab@London[/url]#
[url=mailto:lab@Amsterdam]lab@Amsterdam[/url]# show | no-more
version 7.2R2.4;
system {
host-name Amsterdam;
backup-router 172.27.10.129;
ports {
console type vt100;
auxiliary type vt100;
}
root-authentication {
encrypted-password "$1$RKHmQOvE$FASh/2fxJRtLErAq7/UMf0"; ## SECRET-DATA
}
login {
user lab {
uid 2000;
class superuser;
authentication {
encrypted-password "$1$Je8ILftj$csvhh/E.PK82gxpZT4SaH1"; ## SECRET-DATA
}
}
}
services {
ftp;
telnet;
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
}
}
interfaces {
fe-0/0/1 {
vlan-tagging;
encapsulation vlan-ccc;
unit 0 {
encapsulation vlan-ccc;
vlan-id 550;
}
}
so-0/1/0 {
encapsulation ppp;
sonet-options {
fcs 32;
}
unit 0 {
family inet {
address 133.40.1.2/30;
}
family mpls;
}
}
fxp0 {
description "MGMT INTERFACE - DO NOT DELETE";
unit 0 {
family inet {
address 172.27.10.174/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 20.20.20.20/32;
}
}
}
}
routing-options {
static {
route 172.0.0.0/8 {
next-hop 172.27.10.129;
retain;
no-readvertise;
}
}
autonomous-system 100;
}
protocols {
mpls {
interface all;
}
bgp {
group ibgp-l2vpn {
type internal;
family inet-vpn {
any;
}
family l2vpn {
unicast;
}
neighbor 10.10.10.10 {
local-address 20.20.20.20;
peer-as 100;
}
}
}
ospf {
area 0.0.0.0 {
interface so-0/1/0.0;
interface lo0.0;
}
}
ldp {
interface so-0/1/0.0;
interface all;
}
}
routing-instances {
kompella-l2vpn {
instance-type l2vpn;
interface fe-0/0/1.0;
route-distinguisher 10:10;
vrf-target target:10:10;
protocols {
l2vpn {
encapsulation-type ethernet-vlan;
no-control-word;
site l2vpn-site {
site-identifier 2;
interface fe-0/0/1.0 {
remote-site-id 1;
}
}
}
}
}
}
[edit]
[url=mailto:lab@Amsterdam]lab@Amsterdam[/url]#
[url=mailto:lab@London]lab@London[/url]# run show l2vpn connections extensive
Layer-2 VPN Connections:
Legend for connection status (St)
OR -- out of range WE -- intf encaps != instance encaps
EI -- encapsulation invalid Dn -- down
EM -- encapsulation mismatch VC-Dn -- Virtual circuit down
CM -- control-word mismatch -> -- only outbound conn is up
CN -- circuit not provisioned
Legend for interface status
Up -- operational
Dn -- down
Instance: kompella-l2vpn
Local site: l2vpn-site (1)
fe-0/0/0.0 2
800000 1 2
status-vector: 80
connection-site Type St Time last up # Up trans
2 rmt Up Aug 12 16:43:48 2005 1
Local interface: fe-0/0/0.0, Status: Up, Encapsulation: VLAN
Remote PE: 20.20.20.20, Negotiated control-word: No
Incoming label: 800001, Outgoing label: 800000
Time Event Interface/Lbl/PE
Aug 12 16:43:48 2005 status update timer
Aug 12 16:43:47 2005 PE route changed
Aug 12 16:43:47 2005 Out lbl Update 800000
Aug 12 16:43:47 2005 In lbl Update 800001
Aug 12 16:43:47 2005 loc intf up fe-0/0/0.0
[edit]
[url=mailto:lab@London]lab@London[/url]# run show l2vpn connections status
Layer-2 VPN Connections:
Legend for connection status (St)
OR -- out of range WE -- intf encaps != instance encaps
EI -- encapsulation invalid Dn -- down
EM -- encapsulation mismatch VC-Dn -- Virtual circuit down
CM -- control-word mismatch -> -- only outbound conn is up
CN -- circuit not provisioned
Legend for interface status
Up -- operational
Dn -- down
Instance: kompella-l2vpn
Local site: l2vpn-site (1)
connection-site Type St Time last up # Up trans
2 rmt Up Aug 12 16:43:48 2005 1
Local interface: fe-0/0/0.0, Status: Up, Encapsulation: VLAN
Remote PE: 20.20.20.20, Negotiated control-word: No
Incoming label: 800001, Outgoing label: 800000
[edit]
[url=mailto:lab@London]lab@London[/url]# run show l2vpn connections
Layer-2 VPN Connections:
Legend for connection status (St)
OR -- out of range WE -- intf encaps != instance encaps
EI -- encapsulation invalid Dn -- down
EM -- encapsulation mismatch VC-Dn -- Virtual circuit down
CM -- control-word mismatch -> -- only outbound conn is up
CN -- circuit not provisioned
Legend for interface status
Up -- operational
Dn -- down
Instance: kompella-l2vpn
Local site: l2vpn-site (1)
connection-site Type St Time last up # Up trans
2 rmt Up Aug 12 16:43:48 2005 1
Local interface: fe-0/0/0.0, Status: Up, Encapsulation: VLAN
Remote PE: 20.20.20.20, Negotiated control-word: No
Incoming label: 800001, Outgoing label: 800000
[edit]
[url=mailto:lab@London]lab@London[/url]#
***************************************************************
[edit]
[url=mailto:lab@SaoPaulo]lab@SaoPaulo[/url]# run ping 192.168.20.1
PING 192.168.20.1 (192.168.20.1): 56 data bytes
64 bytes from 192.168.20.1: icmp_seq=0 ttl=255 time=1.144 ms
64 bytes from 192.168.20.1: icmp_seq=1 ttl=255 time=0.967 ms
64 bytes from 192.168.20.1: icmp_seq=2 ttl=255 time=0.980 ms
64 bytes from 192.168.20.1: icmp_seq=3 ttl=255 time=0.952 ms
^C
--- 192.168.20.1 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.952/1.011/1.144/0.078 ms
[edit]
[url=mailto:lab@SaoPaulo]lab@SaoPaulo[/url]#
**********************************************
[edit]
[url=mailto:lab@Montreal]lab@Montreal[/url]# run ping 192.168.20.2
PING 192.168.20.2 (192.168.20.2): 56 data bytes
64 bytes from 192.168.20.2: icmp_seq=0 ttl=255 time=1.141 ms
64 bytes from 192.168.20.2: icmp_seq=1 ttl=255 time=0.956 ms
64 bytes from 192.168.20.2: icmp_seq=2 ttl=255 time=0.983 ms
64 bytes from 192.168.20.2: icmp_seq=3 ttl=255 time=0.975 ms
^C
--- 192.168.20.2 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.956/1.014/1.141/0.074 ms
页:
[1]