# Monitoring VPWS Instances

#### Purpose

To display configuration and status information for VPWS instances configured on the router. You can display information for all VPWS instances or information about a particular VPWS instance. The detail keyword displays detailed information about the specified VPWS instance or all VPWS instances.

#### Action

To display information about all VPWS instances configured on the router:

    host1#show l2vpn all

    L2VPN: l2vpn1
        Encapsulation Type Ethernet
        Use of control word is preferred
        Send sequence numbers
        Route Distinguisher 100:11
        Site Range 10
        Sites:
          Site Name boston Site Id 1
        Route Targets:
          Route Target: RT:100:1 both

    L2VPN: l2vpn2
        Encapsulation Type ATM AAL5 SDU VCC transport
        Use of control word is preferred
        Send sequence numbers
        Route Distinguisher 100:12
        Site Range 20
        Sites:
          Site Name westford Site Id 1
          Site Name boston Site Id 3
        Route Targets:
          Route Target: RT:100:2 both

To display detailed information about all VPWS instances configured on the router:

    host1#show l2vpn instance all detail
    L2VPN: l2vpn1
        Encapsulation Type Ethernet
        Use of control word is preferred
        Send sequence numbers
        Route Distinguisher 100:11
        Site Range 10
        Sites:
          Site Name boston Site Id 1
        Route Targets:
          Route Target: RT:100:1 both

                                                        Admin    Oper
       Interface      Local-Site-Id   Remote-Site-Id    state    state
    ---------------   -------------   --------------   -------   -----
    FastEthernet4/1   1               2                enabled   up

    L2VPN: l2vpn2
        Encapsulation Type ATM AAL5 SDU VCC transport
        Use of control word is preferred
        Send sequence numbers
        Route Distinguisher 100:12
        Site Range 20
        Sites:
          Site Name westford Site Id 1
          Site Name boston Site Id 3
        Route Targets:
          Route Target: RT:100:2 both

                                                   Admin    Oper
    Interface    Local-Site-Id   Remote-Site-Id    state    state
    ----------   -------------   --------------   -------   -----
    ATM2/0.122   1               2                enabled   up
    ATM2/0.123   1               3                enabled   up
    ATM2/0.124   3               1                enabled   up
    ATM2/0.121   3               2                enabled   up

To display detailed information about a particular VPWS instance:

    host1#show l2vpn instance l2vpn1 detail
    L2VPN: l2vpn1
        Encapsulation Type ATM AAL5 SDU VCC transport
        Use of control word is preferred
        Send sequence numbers
        Route Distinguisher 100:11
        Site Range 10
        Sites:
          Site Name westford Site Id 1
            Multi-homed:            Yes
            Site-Priority:          45

        Route Targets:
          Route Target: RT:100:2 both

                                                   Admin    Oper
    Interface    Local-Site-Id   Remote-Site-Id    state    state
    ----------   -------------   --------------   -------   -----
    ATM2/0.100   1               2                enabled   up
    ATM2/0.12    1               3                enabled   up
    ATM1/1.1     1               2                enabled   down

#### Meaning

Table 140 lists the show l2vpn instance command output fields.

Table 140: show l2vpn instance Output Fields

Field Name | Field Description
--- | ---
L2VPN | Name of VPWS instance
Encapsulation Type | Encapsulation type configured for the VPWS instance
Use of control word | Local preference for control word, preferred or not preferred
sequence numbers | Local preference for sequence number, send or don’t send
Route Distinguisher | Route distinguisher configured for the VPWS instance
Site Range | Maximum number of customer sites allowed in the L2VPN instance
Sites | Site name and site ID for each customer site in the VPWS instance
Multi-homed | Status of the site. Yes designates a multihomed site. No designates a site that is not multihomed.
Site-Priority | Priority value for the VPWS instance for the multihomed site; displayed only when the value for the Multi-homed field is Yes
Route Targets | Route targets configured for the VPWS instance
Interface | Layer 2 interface that is a member of the VPWS instance
Local-Site-Id | Local customer site ID configured on the layer 2 interface
Remote-Site-Id | Remote customer site ID configured on the layer 2 interface
Admin state | Administrative state of the connection, disabled or enabled
Oper state | Operational state of the connection, up or down

#### Related Documentation

- show l2vpn instance