Versions Compared

Key

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

...

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



Image Added



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;
}




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




Code Block
titlevpls
collapsetrue
root@ACX5048-R103# top show routing-instances
. . .
VPLS2 {
    instance-type vpls;
    interface ge-0/0/34.600;
    interface ge-0/0/36.600;
    protocols {
        vpls {
            no-tunnel-services;
            vpls-id 600;
            neighbor 10.99.92.177;
        }
    }
}

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.177




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>




...