| |
---|
|
Code Block |
---|
title | Interfaces |
---|
collapse | true |
---|
| root@ACX5048-R103# top show interfaces ge-0/0/34
vlan-tagging;
encapsulation vlan-vpls;
unit 600 {
encapsulation vlan-vpls;
vlan-id 600;
family vpls;
}
set interfaces ge-0/0/34 vlan-tagging
set interfaces ge-0/0/34 encapsulation vlan-vpls
set interfaces ge-0/0/34 unit 600 encapsulation vlan-vpls
set interfaces ge-0/0/34 unit 600 vlan-id 600
set interfaces ge-0/0/34 unit 600 family vpls
{master:0}[edit routing-instances VPLS2]
root@ACX5048-R103# top show interfaces ge-0/0/36
vlan-tagging;
encapsulation vlan-vpls;
unit 600 {
encapsulation vlan-vpls;
vlan-id 600;
family vpls;
} |
|
show ldp database |
Code Block |
---|
title | OSPF, MPLS and LDP |
---|
collapse | true |
---|
| {master:0}[edit routing-instances VPLS2]
root@ACX5048-R103# top show protocols
ldp {
interface ge-0/0/0.0;
interface lo0.0;
oam {
ingress-policy ldp-oam;
bfd-liveness-detection {
minimum-interval 300;
}
lsp-ping-interval 30;
}
}
ospf {
traffic-engineering;
area 0.0.0.0 {
interface ge-0/0/0.0;
interface lo0.0;
}
}
mpls {
interface ge-0/0/0.0;
}
lldp {
interface all;
}
{master:0}[edit routing-instances VPLS2]
root@ACX5048-R103# top show protocols | display set
set protocols ldp interface ge-0/0/0.0
set protocols ldp interface lo0.0
set protocols ldp oam ingress-policy ldp-oam
set protocols ldp oam bfd-liveness-detection minimum-interval 300
set protocols ldp oam lsp-ping-interval 30
set protocols ospf traffic-engineering
set protocols ospf area 0.0.0.0 interface ge-0/0/0.0
set protocols ospf area 0.0.0.0 interface lo0.0
set protocols mpls interface ge-0/0/0.0
set protocols lldp interface all
| Image Removed
Code Block |
---|
title | vplsshow ospf database |
---|
collapse | true |
---|
| root@ACX5048-R103#R103> top show routing-instancesospf .database
.
. VPLS2 { OSPF database, instance-type vpls;
interface ge-0/0/34.600;
Area 0.0.0.0
Type interface ge-0/0/36.600; ID protocols { vpls { Adv Rtr no-tunnel-services; Seq Age Opt vpls-id 600;
neighborCksum Len
Router *10.99.92.95 10.99.92.95 0x80000081 1199 0x22 0x1ff 48
Router 10.99.92.177; 10.99.92.177 } 0x80000080 1113 }0x22 }0x3ecd root@ACX5048-R103#60
show | display set
set routing-instances VPLS2 instance-type vpls
set routing-instances VPLS2 interface ge-0/0/34.600
set routing-instances VPLS2 interface ge-0/0/36.600
set routing-instances VPLS2 protocols vpls no-tunnel-services
set routing-instances VPLS2 protocols vpls vpls-id 600
set routing-instances VPLS2 protocols vpls neighbor 10.99.92.177
| Code Block |
---|
title | show vpls mac-tableNetwork *10.99.70.95 10.99.92.95 0x8000007d 199 0x22 0x5e7e 32
OpaqArea*1.0.0.1 10.99.92.95 0x8000007c 2199 0x22 0x570a 28
{master:0}
root@ACX5048-R103> show ospf database extensive
OSPF database, Area 0.0.0.0
Type ID Adv Rtr Seq Age Opt Cksum Len
Router *10.99.92.95 10.99.92.95 0x80000081 1204 0x22 0x1ff 48
bits 0x0, link count 2
id 10.99.70.95, data 10.99.70.95, Type Transit (2)
Topology count: 0, Default metric: 1
id 10.99.92.95, data 255.255.255.255, Type Stub (3)
Topology count: 0, Default metric: 0
Topology default (ID 0)
Type: Transit, Node ID: 10.99.70.95
Metric: 1, Bidirectional
Gen timer 00:29:55
Aging timer 00:39:55
Installed 00:20:04 ago, expires in 00:39:56, sent 00:20:02 ago
Last changed 4d 06:50:44 ago, Change count: 5, Ours
Router 10.99.92.177 10.99.92.177 0x80000080 1118 0x22 0x3ecd 60
bits 0x0, link count 3
id 10.99.70.95, data 10.99.70.177, Type Transit (2)
Topology count: 0, Default metric: 1
id 10.99.92.177, data 255.255.255.255, Type Stub (3)
Topology count: 0, Default metric: 0
id 192.168.255.51, data 255.255.255.255, Type Stub (3)
Topology count: 0, Default metric: 0
Topology default (ID 0)
Type: Transit, Node ID: 10.99.70.95
Metric: 1, Bidirectional
Aging timer 00:41:21
Installed 00:18:35 ago, expires in 00:41:22
Last changed 4d 06:49:19 ago, Change count: 3
Network *10.99.70.95 10.99.92.95 0x8000007d 204 0x22 0x5e7e 32
mask 255.255.255.0
attached router 10.99.92.95
attached router 10.99.92.177
Topology default (ID 0)
Type: Transit, Node ID: 10.99.92.177
Metric: 0, Bidirectional
Type: Transit, Node ID: 10.99.92.95
Metric: 0, Bidirectional
Gen timer 00:46:35
Aging timer 00:56:35
Installed 00:03:24 ago, expires in 00:56:36, sent 00:03:22 ago
Last changed 4d 06:52:14 ago, Change count: 1, Ours
OpaqArea*1.0.0.1 10.99.92.95 0x8000007c 2204 0x22 0x570a 28
Opaque LSA
RtrAddr (1), length 4:
10.99.92.95
Gen timer 00:13:15
Aging timer 00:23:15
Installed 00:36:44 ago, expires in 00:23:16, sent 00:36:42 ago
Last changed 4d 06:53:03 ago, Change count: 1, Ours
{master:0}
root@ACX5048-R103>
|
---|
Code Block |
---|
title | show ldp database |
---|
collapse | true |
---|
| {master:0}
root@ACX5048-R203> show ldp database
Input label database, 10.99.92.177:0--10.99.92.95:0
Labels received: 3
Label Prefix
3 10.99.92.95/32
25 10.99.92.177/32
26 L2CKT NoCtrlWord ETHERNET VC 600
Output label database, 10.99.92.177:0--10.99.92.95:0
Labels advertised: 3
Label Prefix
25 10.99.92.95/32
3 10.99.92.177/32
27 L2CKT NoCtrlWord ETHERNET VC 600
{master:0}
root@ACX5048-R203> show ldp database detail
Input label database, 10.99.92.177:0--10.99.92.95:0
Labels received: 3
Label Prefix
3 10.99.92.95/32
State: Active
Age: 3d 8:28:56
Entropy Label Capability: No
25 10.99.92.177/32
State: Active
Age: 3d 8:28:56
Entropy Label Capability: No
26 L2CKT NoCtrlWord ETHERNET VC 600
MTU: 1500 Flow Label T Bit: 0 Flow Label R Bit: 0
State: Active
Age: 3:56:28
VCCV Control Channel types:
MPLS router alert label
VCCV Control Verification types:
LSP ping
BFD with IP/UDP-encapsulation for Fault Detection
Ou
|
|
Image Added |
Code Block |
---|
| {master:0}
root@ACX5048-R103> show ldp database
Input label database, 10.99.92.95:0--10.99.92.177:0
Labels received: 3
Label Prefix
25 10.99.92.95/32
3 10.99.92.177/32
27 L2CKT NoCtrlWord ETHERNET VC 600
Output label database, 10.99.92.95:0--10.99.92.177:0
Labels advertised: 3
Label Prefix
3 10.99.92.95/32
25 10.99.92.177/32
26 L2CKT NoCtrlWord ETHERNET VC 600
{master:0}
root@ACX5048-R103> show ldp database extensive
Input label database, 10.99.92.95:0--10.99.92.177:0
Labels received: 3
Label Prefix
25 10.99.92.95/32
State: Active
Age: 3d 8:30:48
Entropy Label Capability: No
3 10.99.92.177/32
State: Active
Age: 3d 8:30:48
Entropy Label Capability: No
27 L2CKT NoCtrlWord ETHERNET VC 600
MTU: 1500 Flow Label T Bit: 0 Flow Label R Bit: 0
State: Active
Age: 3:42:32
VCCV Control Channel types:
MPLS router alert label
VCCV Control Verification types:
LSP ping
BFD with IP/UDP-encapsulation for Fault Detection
Output label database, 10.99.92.95:0--10.99.92.177:0
Labels advertised: 3
Label Prefix
3 10.99.92.95/32
State: Active
Age: 3d 8:30:48
Entropy Label Capability: No
25 10.99.92.177/32
State: Active
Age: 3d 8:30:48
Entropy Label Capability: No
26 L2CKT NoCtrlWord ETHERNET VC 600
MTU: 1500 Flow Label T Bit: 0 Flow Label R Bit: 0
State: Active
Age: 3:58:18
VCCV Control Channel types:
MPLS router alert label
VCCV Control Verification types:
LSP ping
BFD with IP/UDP-encapsulation for Fault Detection
{master:0}
root@ACX5048-R103>
|
|
|
Code Block |
---|
title | show vpls mac-table |
---|
collapse | true |
---|
| {master:0}
root@ACX5048-R103> show vpls mac-table
MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static, C - Control MAC
SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC)
Ethernet switching table : 3 entries, 3 learned
Routing instance : VPLS2
Vlan MAC MAC Age Logical NH RTR
name address flags interface Index ID
__VPLS2__ c8:e7:f0:a9:90:a5 D - lsi.1048576 0 0
__VPLS2__ c8:e7:f0:a9:90:a7 D - ge-0/0/36.600 0 0
__VPLS2__ c8:e7:f0:a9:93:45 D - ge-0/0/34.600 0 0
{master:0}
{master:0}
root@ACX5048-R103> show vpls mac-table extensive
MAC address: c8:e7:f0:a9:90:a5
Routing instance: VPLS2
VLAN name: __VPLS2__, VLAN ID: NA
Learning interface: lsi.1048576
Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd
Epoch: 0 Sequence number: 5
Learning mask: 0x00000001
MAC address: c8:e7:f0:a9:90:a7
Routing instance: VPLS2
VLAN name: __VPLS2__, VLAN ID: NA
Learning interface: ge-0/0/36.600
Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd
Epoch: 2 Sequence number: 4
Learning mask: 0x00000001
MAC address: c8:e7:f0:a9:93:45
Routing instance: VPLS2
VLAN name: __VPLS2__, VLAN ID: NA
Learning interface: ge-0/0/34.600
Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd
Epoch: 4 Sequence number: 4
Learning mask: 0x00000001
|
|
|
Code Block |
---|
title | show vpls connections |
---|
collapse | true |
---|
| {master:0}
root@ACX5048-R103> 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 HS -- Hot-standby Connection
Legend for interface status
Up -- operational
Dn -- down
Instance: VPLS2
VPLS-id: 600
Neighbor Type St Time last up # Up trans
10.99.92.177(vpls-id 600) rmt Up Jan 21 16:08:06 2019 1
Remote PE: 10.99.92.177, Negotiated control-word: No
Incoming label: 26, Outgoing label: 27
Negotiated PW status TLV: No
Local interface: lsi.1048576, Status: Up, Encapsulation: ETHERNET
Description: Intf - vpls VPLS2 neighbor 10.99.92.177 vpls-id 600
Flow Label Transmit: No, Flow Label Receive: No
syntax error, expecting <command>.
root@ACX5048-R103> show vpls connections extensive
Layer-2 VPN connections:
. . . .
Instance: VPLS2
VPLS-id: 600
Number of local interfaces: 2
Number of local interfaces up: 2
ge-0/0/34.600
ge-0/0/36.600
lsi.1048576 Intf - vpls VPLS2 neighbor 10.99.92.177 vpls-id 600
Neighbor Type St Time last up # Up trans
10.99.92.177(vpls-id 600) rmt Up Jan 21 16:08:06 2019 1
Remote PE: 10.99.92.177, Negotiated control-word: No
Incoming label: 26, Outgoing label: 27
Negotiated PW status TLV: No
Local interface: lsi.1048576, Status: Up, Encapsulation: ETHERNET
Description: Intf - vpls VPLS2 neighbor 10.99.92.177 vpls-id 600
Flow Label Transmit: No, Flow Label Receive: No
Connection History:
Jan 21 16:20:43 2019 Out lbl Update 27
Jan 21 16:08:06 2019 status update timer
Jan 21 16:08:06 2019 PE route changed
Jan 21 16:08:06 2019 Out lbl Update 26
Jan 21 16:08:06 2019 In lbl Update 26
Jan 21 16:08:06 2019 loc intf up lsi.1048576
{master:0}
root@ACX5048-R103> |
|
|
Code Block |
---|
title | Vlan on the EX ( trunk interfaces) |
---|
collapse | true |
---|
| {master:0}
root@EX4300-R103-33> show configuration interfaces ge-0/0/34
flexible-vlan-tagging;
unit 0 {
family ethernet-switching {
interface-mode trunk;
vlan {
members vlan600;
}
}
}
{master:0}
root@EX4300-R103-33> show configuration interfaces ge-0/0/36
flexible-vlan-tagging;
unit 0 {
family ethernet-switching {
interface-mode trunk;
vlan {
members vlan600;
}
}
}
{master:0}
root@EX4300-R103-33> show configuration interfaces ge-0/0/34 | display set
set interfaces ge-0/0/34 flexible-vlan-tagging
set interfaces ge-0/0/34 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/0/34 unit 0 family ethernet-switching vlan members vlan600
set interfaces ge-0/0/36 flexible-vlan-tagging
set interfaces ge-0/0/36 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/0/36 unit 0 family ethernet-switching vlan members vlan600
{master:0}
root@EX4300-R103-33> show configuration vlans
default {
vlan-id 1;
l3-interface irb.0;
}
vlan600 {
vlan-id 600;
l3-interface irb.600;
}
{master:0}
root@EX4300-R103-33> show configuration vlans | display set
. . .
set vlans vlan600 vlan-id 600
set vlans vlan600 l3-interface irb.600
|
Code Block |
---|
title | show commands on the EX |
---|
collapse | true |
---|
| {master:0}
root@ACX5048root@EX4300-R103-R103>33> show vpls macethernet-tableswitching interface
MACRouting flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static, C - Control MACInstance Name : default-switch
Logical Interface flags (DL - disable learning, AD - packet action drop,
SE - statistics enabled, NM - non configured MAC, RLH - remoteMAC PElimit MAChit, ODN - ovsdb MAC)
interface down,
Ethernet switching table : 3 entries, 3 learned Routing instance : VPLS2 Vlan MMAS - Mac-move action shutdown, AS MAC- Autostate-exclude enabled,
MAC Age SCTL - Logicalshutdown by Storm-control, MI - MAC+IP limit hit)
Logical NH Vlan RTR name TAG MAC MAC+IP addressSTP Logical flags Tagging
interface interfacemembers Index ID limit __VPLS2__limit state interface c8:e7:f0:a9:90:a5flags
ge-0/0/34.0 D - lsi.1048576 0 65535 8192 0 __VPLS2__ c8:e7:f0:a9:90:a7 D tagged
- ge-0/0/36.600 0vlan600 0 __VPLS2__ 600 65535 1024 c8:e7:f0:a9:93:45Forwarding D - tagged
ge-0/0/34.600 36.0 0 0 {master:0} {master:0} root@ACX5048-R103> show vpls mac-table extensive MAC address: c8:e7:f0:a9:90:a5 Routing instance: VPLS2 65535 VLAN name: __VPLS2__, VLAN ID: NA8192 Learning interface: lsi.1048576 Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd Epoch: 0 tagged
vlan600 Sequence number: 5 Learning mask: 0x00000001 MAC address: c8:e7:f0:a9:90:a7
600 Routing instance:65535 VPLS2 1024 VLAN name: __VPLS2__, VLAN ID: NAForwarding Learning interface: ge-0/0/36.600 Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd tagged
ge-0/0/3.0 Epoch: 2 Sequence number: 465535 8192 Learning mask: 0x00000001 MAC address: c8:e7:f0:a9:93:45 Routing instance: VPLS2 DN VLAN name: __VPLS2__, VLAN ID: NA Learning interface: ge-0/0/34.600 untagged
Layer 2 flags: in_hash,in_ifd,in_ifl,in_vlan,in_rtt,kernel,in_ifbd Epoch: 4 default 1 65535 Sequence1024 number: 4 Discarding Learning mask: 0x00000001 | Code Block |
---|
title | show vpls connections |
---|
collapse | true |
---|
| {master:0} root@ACX5048-R103> show vpls connections Layer-2 VPN connections: Legend for connectionuntagged
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
{master:0}
root@EX4300-R103-33> show ethernet-switching table vlan-id 600
MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static, C - Control MAC
SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC)
Ethernet switching table : 1 entries, 1 learned
Routing instance : default-switch
Vlan MAC Up -- operational OL -- no outgoing label MAC Dn -- downAge LD -- local siteLogical signaled down CF -- call admission control failure RD -- remote site signaled downNH SC -- local and remote site IDRTR
collision LN -- local sitename not designated LM -- local site ID not minimum designated RN -- remote site notaddress designated RM -- remote site ID not minimum designated XX -- unknown connectionflags status IL -- no incoming label MM -- MTU mismatch interface MI -- Mesh-GroupIndex ID not available BK --ID
Backup connection vlan600 ST -- Standby connection PF -- Profile parse failure c8:e7:f0:a9:93:45 D PB -- Profile busy RS -- remote site standby- ge-0/0/36.0 SN -- Static Neighbor LB -- Local site0 not best-site RB -- Remote site not0
best-site
VM
root@EX4300-R103-33> VLAN ID mismatch HS -- Hot-standby Connection
Legend for interface status
Up -- operational
Dn -- down
Instance: VPLS2
VPLS-id: 600
Neighborshow ethernet-switching instance
Information for routing instance and VLAN:
Flags (DL - disable learning, SE - stats enabled,
AD - packet action drop, LH - MAC limit hit,
MI - mac+ip limit hit)
Inst Logical Routing Type St Time last up VLAN # Up trans 10.99.92.177(vpls-id 600) rmt Up Index IRB Flags Tag
type system Janinstance 21 16:08:06 2019 1 Remote PE: 10.99.92.177, Negotiated control-word: No Incoming label: 26, Outgoing label:index
27RTT Default default-switch Negotiated PW status TLV: No Local interface: lsi.1048576, Status: Up, Encapsulation: ETHERNET 5
vlan Default Description: Intf default-switch vpls VPLS2 neighbor 10.99.92.177 vpls-id 600 default Flow Label Transmit: No,2 Flow Label Receive: No 548 syntax error, expecting <command>. root@ACX5048-R103> show vpls connections1
extensivevlan Layer-2Default VPN connections: default-switch . . . . vlan600 Instance: VPLS2 VPLS-id: 600 Number of3 local interfaces: 2 595 Number of local interfaces up: 2 600
ge-0/0/34.600
ge-0/0/36.600{master:0}
root@EX4300-R103-33> show interfaces terse irb
Interface lsi.1048576 Admin Link Proto Local Intf - vpls VPLS2 neighbor 10.99.92.177 vpls-id 600 Neighbor Remote
irb Type St up Time last up
irb.0 # Up trans 10.99.92.177(vpls-id 600) rmtup down Upinet
irb.600 Jan 21 16:08:06 2019 up 1 up inet Remote PE: 10.99.92.177, Negotiated control-word: No
Incoming label: 26, Outgoing label: 2750.195/24
{master:0}
root@EX4300-R103-33> show vlans vlan600
Routing instance VLAN name Tag Negotiated PW status TLV: No Interfaces
default-switch Local interface: lsi.1048576, Status: Up, Encapsulation: ETHERNET vlan600 Description: Intf - vpls VPLS2 neighbor 10.99.92.177 vpls-id 600
Flow Label Transmit: No, Flow Label Receive: No Connection History: Jan 21 16:20:43 2019 Out lbl Update 27ge-0/0/34.0*
Jan 21 16:08:06 2019 status update timer Jan 21 16:08:06 2019 PE route changed Jan 21 16:08:06 2019 Out lbl Update ge-0/0/36.0*
{master:0}
root@EX4300-R103-33> show vlans vlan600 detail
Routing instance: default-switch
VLAN 26Name: vlan600 Jan 21 16:08:06 2019 In lbl Update State: Active
Tag: 600
Internal index: 3, Generation Index: 3, Origin: Static
MAC aging time: 300 26seconds
Layer 3 interface: irb.600
VXLAN Enabled : No
JanInterfaces:
21 16:08:06 2019 loc intf up ge-0/0/34.0*,tagged,trunk
ge-0/0/36.0*,tagged,trunk
Number of interfaces: Tagged 2 , Untagged 0
Total MAC count: lsi.10485761
{master:0}
root@ACX5048-R103>
|
|