Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show evpn vpws-instance

date_range 13-Jun-24

Syntax

content_copy zoom_out_map
show evpn vpws-instance 
evpn-vpws-instance-name

Description

Display the details of the VPWS instance of the EVPN.

Options

evpn-vpws-instance-name

(Optional) Name of the VPWS instance of the EVPN.

Required Privilege Level

view

Output Fields

Table 1 describes the output fields for the show evpn vpws-instance command. Output fields are listed in the approximate order in which they appear.

Table 1: show evpn vpws-instance Output Fields

Field Name

Field Description

Instance

Name of the routing instance.

Route Distinguisher

Route distinguisher as configured for the routing instance on the node.

Number of local interfaces

Number of interfaces configured to be part of the routing instance.

Interface name

Name of the interface.

ESI

Ethernet segment identifier (ESI) configured for the interface.

Mode

Single-homed, single-active, or all-active form of multihoming.

Role

Primary or backup, depending on the role. The role, depending on the mode, is as follows:

  • Single-active multihoming–Role is primary if the interface is the designated forwarder(DF) and backup if the interface is the non-DF.

  • All-active multihoming–Role is always primary.

  • Single-homed–Role is always primary.

Status

Status of the interface is either Up or Down. Interface is available if the status is Up and interface is not available if the interface is Down.

Control-Word Whether the device has negotiated to use the control word for MPLS pseudowire traffic (Yes) or not (No, the default).
Flow-Label-Tx Flow-aware transport of pseudowires (FAT) flow labels is enabled (Yes) or is not enabled (No, the default) in the routing instance to push flow labels in pseudowire packets sent to a remote provider edge (PE) router.
Flow-Label-Rx Flow-aware transport of pseudowires (FAT) flow labels is enabled (Yes) or is not enabled (No, the default) in the routing instance to pop flow labels from pseudowire packets from a remote PE router.

Local SID

Local service identifier configured on the interface.

Advertised Label

Label advertised for the service identifier as part of the autodiscovery route per the EVPN instance (EVI).

Srv6 SID mode

  • Classic SID—Indicates classic SID SRv6 routing instance.

  • Micro SID—Indicates micro-SID SRv6 routing instance.

PE routers hosting the local service identifier as configured on the interface

 

PE addr

IP address of the PE router advertising the autodiscovered route per the EVI.

ESI

ESI encoded in the autodiscovered route per the EVI.

Label

Label as encoded in the autodiscovered route per the EVI.

Mode

Single-homed, single-active, or all-active form of multihoming.

Role

Primary or backup depending on the role. The role depending on the mode is as follows:

  • Single-active multihoming–Role is primary if the interface is designated forwarder(DF) and backup if the interface is non-DF.

  • All-active multihoming–Role is always primary.

  • Single-homed–Role is always primary.

TS

Timestamp of the receipt of the autodiscovered route per the EVI. This is used as tie breaker in case there are two PE routers advertising the autodiscovered route per the EVI with the P bit set.

Status

The status can be as follows:

  • Resolved—The autodiscovered route per the ESI was received for the ESI from the PE router.

  • Unresolved—The autodiscovered route per the ESI was not received for the ESI from the PE router.

PE routers hosting the remote service identifier as configured on the interface

 

Remote SID

Remote service identifier configured on the interface.

PE addr

IP address of the PE router advertising the autodiscovered route per the EVI.

ESI

ESI encoded in the autodiscovered route per the EVI.

Label

Label as encoded in the autodiscovery route per the EVI.

Mode

Single-homed, single-active, or all-active form of multihoming.

Role

Primary or backup depending on the role. The role depending on the mode is as follows:

  • Single-active multihoming–Role is primary if the interface is designated forwarder(DF) and backup if the interface is non-DF.

  • All-active multihoming–Role is always primary.

  • Single-homed–Role is always primary.

TS

Timestamp of the receipt of the autodiscovered route per the EVI. This is used as tie breaker in case there are two PE routers advertising the autodiscovered route per the EVI with the P bit set.

Status

The status can be as follows:

  • Resolved—The autodiscovered route per the ESI was received for the ESI from the PE router.

  • Unresolved—The autodiscovered route per the ESI was not received for the ESI from the PE router.

Fast Convergence Information

Details of the ESI, the PE router, and the advertised service identifier used during fast convergence.

ESI

ESI as advertised in the autodiscovered route per the ESI.

Number of PE nodes

Number of PE nodes available.

PE

IP address of the PE router advertising the autodiscovered route per the ESI.

Advertised SID

List of service identifiers that get impacted if the PE router withdraws the autodiscovered route per the ESI.

DF Election Information for Single-Active ESI

Details of the DF election information for the single-active ESI.

ESI

ESI as advertised in the Ethernet segment route.

SID used for DF Election

Minimum service identifier configured for the ESI in the EVI.

ESI granularity

Type: Per ESI.

LACP OOS on NDF

Enabled or Disabled

Primary PE

PE router that is the DF for the ESI.

Backup PE

PE router that is the backup DF for the ESI.

Last DF Election

Last time when the DF election algorithm was executed on the PE router.

Sample Output

show evpn vpws-instance instance-name

content_copy zoom_out_map
user@host> show evpn vpws-instance vpws1004
Instance: vpws1004
  Route Distinguisher: 100.100.100.4:1004
  Number of local interfaces: 1 (1 up)

    Interface name  ESI                            Mode            Role       Status
    ge-0/0/1.1004   00:00:00:00:00:00:00:00:00:00  single-homed    Primary    Up     
        Local SID: 1004 Advertised Label: 301360
        Remote SID: 2004
            PE addr         ESI                           Label  Mode           Role     TS                      Status 
            100.100.100.2   00:11:11:11:11:11:11:11:11:11 301888 all-active     Primary  2017-01-11 21:57:31.916 Resolved    
            100.100.100.1   00:11:11:11:11:11:11:11:11:11 301952 all-active     Primary  2017-01-11 21:59:28.491 Resolved    
            100.100.100.3   00:11:11:11:11:11:11:11:11:11 301984 all-active     Primary  2017-01-11 21:59:28.522 Resolved    

    Fast Convergence Information 
    ESI: 00:11:11:11:11:11:11:11:11:11 Number of PE nodes: 3
        PE: 100.100.100.2
            Advertised SID: 2004
        PE: 100.100.100.1
            Advertised SID: 2004
        PE: 100.100.100.3
            Advertised SID: 2004

show evpn vpws-instance instance-name

content_copy zoom_out_map
user@host>show evpn vpws-instance vpws1003
Instance: vpws1003
  Route Distinguisher: 100.100.100.4:1003
  Number of local interfaces: 2 (2 up)

    Interface name  ESI                            Mode            Role       Status
    ae10.2003       00:44:44:44:44:44:44:44:44:44  all-active      Primary    Up     
        Local SID: 2003 Advertised Label: 301312
            PE addr         ESI                           Label  Mode           Role     TS                      Status 
            100.100.100.3   00:44:44:44:44:44:44:44:44:44 301792 all-active     Primary  2017-01-11 21:59:28.498 Resolved    
        Remote SID: 1003
            Local Interface: ge-0/0/1.1003 (Up)

    Interface name  ESI                            Mode            Role       Status
    ge-0/0/1.1003   00:00:00:00:00:00:00:00:00:00  single-homed    Primary    Up     
        Local SID: 1003 Advertised Label: 301296
        Remote SID: 2003
            Local Interface: ae10.2003 (Up)
            PE addr         ESI                           Label  Mode           Role     TS                      Status 
            100.100.100.3   00:44:44:44:44:44:44:44:44:44 301792 all-active     Primary  2017-01-11 21:59:28.498 Resolved    

    Fast Convergence Information 
    ESI: 00:44:44:44:44:44:44:44:44:44 Number of PE nodes: 1
        PE: 100.100.100.3
            Advertised SID: 2003

show evpn vpws-instance instance-name(Per ESI)

content_copy zoom_out_map
user@host>show evpn vpws-instance vpws1001
    DF Election Information for Single-Active ESI 
    ESI: 00:11:11:11:11:11:11:11:11:11
    DF Election Algorithm: MOD based
    SID used for DF Election: 1001
    ESI granularity: Per ESI
    LACP OOS on NDF: Enabled
    Primary PE: 10.10.10.2
    Backup PE: 10.10.10.1
    Last DF Election: 2020-04-16 16:04:32

show evpn vpws-instance instance-name (with FAT flow label load balancing enabled)

content_copy zoom_out_map
user@host> show evpn vpws-instance
Instance: VPWS-MH-SA, Instance type: EVPN VPWS
  Route Distinguisher: 10.255.0.1:200
  Number of local interfaces: 1 (1 up)

    Interface name  ESI                           Mode          Role     Status   Control-Word  Flow-Label-Tx  Flow-Label-Rx
    ge-0/0/2.200    00:00:00:00:00:00:00:22:22:22 single-active Primary  Up       No            Yes            Yes  
        Local SID: 102 Advertised Label: 299808
            PE addr      ESI                           Label  Mode           Role     TS                      Status 
            10.255.0.2   00:00:00:00:00:00:00:22:22:22 299808 single-active  Backup   2021-03-08 17:19:02.107 Resolved    
        Remote SID: 202
            PE addr      ESI                           Label  Mode           Role     TS                      Status 
            10.255.0.3   00:00:00:00:00:00:00:00:00:00 299808 single-homed   Primary  2021-03-08 17:17:53.121 Resolved    
  Number of protect interfaces: 0

    Fast Convergence Information 
    ESI: 00:00:00:00:00:00:00:22:22:22 Number of PE nodes: 1
        PE: 10.255.0.2
            Advertised SID: 102

    DF Election Information for Single-Active ESI 
    ESI: 00:00:00:00:00:00:00:22:22:22
    DF Election Algorithm: MOD based
    SID used for DF Election: 102
    Primary PE: 10.255.0.1
    Backup PE: 10.255.0.2
    Last DF Election: 2021-03-08 17:19:02

show evpn vpws-instance (Micro-SID)

content_copy zoom_out_map
user@host> show evpn vpws-instance evpn-vpws-mh
Instance: evpn-vpws-mh, Instance type: EVPN VPWS, Encapsulation type: SRv6
  Route Distinguisher: 10.1.1.1:12
  Number of local interfaces: 1 (1 up)

    Interface name  ESI                            Mode          Role       Status     Control-Word    Flow-Label-Tx    Flow-Label-Rx
    ae0.0           00:12:12:12:12:12:12:12:12:12 single-active   Primary    Up         No              No               No
        Local SID: 103 Advertised Label: 3 Advertised End.Dx2 SID: fcbb:bb01:100:e000:: Srv6 SID mode: Micro-SID
        Remote SID: 301
            PE addr         ESI                           Label  End.Dx2 SID     Mode           Role     TS                      Status
            2001:db8:a3:1:: 00:00:00:00:00:00:00:00:00:00 0      fcbb:cc01:100:e000:: single-homed Primary 2023-12-05 12:28:05.760 Resolved
  Number of protect interfaces: 0

    DF Election Information for Single-Active ESI
    ESI: 00:12:12:12:12:12:12:12:12:12
    DF Election Algorithm: MOD based
    SID used for DF Election: 103
    LACP OOS on NDF: Enabled
    Primary PE: abcd::128:205:181:57
    ESI granularity: Per ESI
    Last DF Election: 2023-12-05 19:28:40

Release Information

Statement introduced in Junos OS Release 17.1.

external-footer-nav