Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Widget Connector
urlhttps://www.youtube.com/watch?v=vux8LEQwc3A

Image Modified





Code Block
titleInterfaces
collapsetrue
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
titleOSPF, MPLS and LDP
collapsetrue
{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
titlevplsshow ldp database
collapsetrue
{master:0}
root@ACX5048-R103# top show routing-instances
. . .
VPLS2 {
    instance-type vpls;
    interface ge-0/0/34.600;
    interface ge-0/0/36.600;
    protocols {
  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      vpls {10.99.92.177/32
     26      L2CKT  no-tunnel-services;
 NoCtrlWord ETHERNET VC 600

Output label        vpls-id 600;
 database, 10.99.92.177:0--10.99.92.95:0
Labels advertised: 3
  Label     Prefix
     25     neighbor 10.99.92.177;95/32
      3  }     }
}

root@ACX5048-R103# 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.17710.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
titlevpls
collapsetrue
{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
titleshow vpls mac-table
collapsetrue
{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
titleshow vpls connections
collapsetrue
{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
titlevpls on the EX
collapsetrue
{master:0}
root@EX4300-R103-33> show configuration routing-instances
CE3 {
    ##
    ## Warning: requires 'virtual-router' license
    ##
    instance-type virtual-router;
    inactive: interface ge-0/0/34.600;
    interface ge-0/0/36.600;
    interface lo0.600;
}


{master:0}
root@EX4300-R103-33> show configuration routing-instances | display set
set routing-instances CE3 instance-type virtual-router
set routing-instances CE3 interface ge-0/0/34.600
deactivate routing-instances CE3 interface ge-0/0/34.600
set routing-instances CE3 interface ge-0/0/36.600
set routing-instances CE3 interface lo0.600



...