This chapter describes the VSR pseudowire ports (PW ports) command reference. The commands in this section are applicable only to VSR configurations.
For more information about Epipe CLI command syntax and descriptions, refer to 7450 ESS, 7750 SR, 7950 XRS, and VSR Layer 2 Services and EVPN Guide: VLL, VPLS, PBB, and EVPN.
This command is only applicable for VSR configurations. This command associates a Flex PW port with any of the following constructs:
With this configuration, a PW that is terminated on a Flex PW port can be seamlessly rerouted between I/O ports.
The payload from the PW is extracted from the Flex PW port and processed in accordance with the configured application (a capture SAP in ESM, a PW SAP for business services, and so on). The Epipe that associates the Flex PW port with the spoke SDP or with the tunnel is a regular Epipe service (not of type vc-switching).
This command must be configured before a spoke SDP is added to the Epipe.
The no form of this command removes the pw-port-id from the configuration.
This command enables the context to configure a port list to bind to Flex PW ports.
This command is only applicable for VSR configurations. This command is used to select ports eligible for use with Flex PW port. Physical ports used by Flex PW port can be shared with any other Layer 2 or Layer 3 service. In other words, a Layer 3 interface using a regular SAP can be associated with a VPRN service, while the port is used by a Flex PW port. Another regular SAP from the same port can be associated with a VPLS or Epipe service at the same time.The following rules should be followed when populating a pw-port-list:
From this, the operator can consider adding all ports that are in hybrid mode to a pw-port-list at the beginning of the system configuration. This ensures that those ports can be used by a Flex PW port at any later time, independently of their current use.
The no form of the command removes the port ID from the configuration.
This command is only applicable for VSR configurations. This command displays PW port configuration, state information, and forwarding statistics.
The following table describes show pw-port output fields:
Label | Description |
PW Port | The PW port identifier. |
Encap | The encapsulation type of the PW port. |
SDP:VD-Id | This field is not applicable to the Flex PW port. |
IfIndex | The interface index used for the PW port. |
Epipe | The ID of the Epipe service in which this PW port is configured. The tunnel type that is terminated on this PW port can be determined from the Epipe. |
Description | The description string for the PW port. |
Service Id | The ID of the Epipe service in which this PW port is configured. |
Admin Status | The Admin status of the SDP. |
Oper Status | The operational status of the SDP. |
I. Fwd. Pkts. | The number of forwarded packets ingress in this PW port. |
I. Fwd. Octs. | The number of forwarded octets ingressing this PW port. |
E. Fwd. Pkts. | The number of forwarded packets egressing this PW port. |
I. Dro. Pkts. | The number of dropped packets on ingress. |
I. Dro. Octs. | The number of dropped octets on ingress. |
E. Fwd. Octets. | The number of forwarded octets egressing this PW port. |
Grp Enc Stats | Not applicable to Flex PW port. |
The following is an example of PW port information.
Following is a sample of output using the L2oGRE tunnel type for the VSR only.
Following is a sample of output using the MPLS tunnel type for the VSR only.
Following is a sample of the PW port statistics output for the VSR only.
This command displays system PW port list information.
The following is an example of system pw-port-list information.
This command clears PW port statistics for the specified ID.