This chapter describes the pseudowire ports (PW-ports) command reference. For more information about PW ports, refer to 7450 ESS, 7750 SR, 7950 XRS, and VSR Services Overview Guide.
This command creates a PW-port that can be bound to a physical port or associated with an FPE (anchored PW-port). A PW-port's purpose is to provide, through a PW-SAP, access level (or SAP level) capability to customer traffic that is tunneled to the SR OS node through an IP/MPLS network.
The no form of this command removes the pw-port.
no pw-port
This command adds a text description to the pw-port.
The no form of this command removes the text description.
This command configures the Dot1q Ethertype on the PW-port. The PW-port is used to extract a customer's Ethernet traffic that is transported in a tunnel over an IP/MPLS network. The Dot1q-etype represents the first two bytes (TPID) in the 802.1Q header of a single-tagged Ethernet frame or the inner 802.1Q header of the double-tagged Ethernet frame inside the tunnel.
The no form of this command removes the configuration.
This command configures the encapsulation type on a PW-port. Customer Ethernet frames can be single-tagged or double-tagged, and this command determines the number of tags that the SR OS will check (and strip) on PW-SAP ingress and insert on PW-SAP egress.
The no form of this command removes the configuration.
This command configures the QinQ Ethertype on the PW-port. The PW-port is used to extract a customer's Ethernet traffic that is transported in a tunnel over an IP/MPLS network. The qinq-etype represents the first two bytes (TPID) in the outer 801.1Q header of the double-tagged Ethernet frame inside the tunnel.
The no form of this command removes the configuration.
The command enters the context to configure SDP bindings.
This command specifies the port or lag identifier, to which the PW ports associated with the underlying SDP are bound. If the underlying SDP is re-routed to a port or lag other than the specified one, the PW ports on the SDP are operationally brought down.
The no form of this command removes the value from the configuration.
This command creates a pseudowire port.
The no form of this command removes the pseudowire port ID from the configuration.
This command enables the setting of the control word bit in the label message. Control words are used to distinguish a PW payload (Ethernet) from an IP payload (identified by the first nibble past the bottom MPLS label, either 4 or 6) carried over an MPLS network.
Based on the payload type, the transit MPLS node can make an appropriate load balancing decision. Load balancing can rely on the MPLS labels, or rely on additional fields that are available only in IP header (source and destination IP addresses and ports).
The presence of a control word indicates that the header following the last MPLS label in the frame is not an IP header.
The no form of this command disables setting the control word bit in the label message.
no control-word
This command creates a text description stored in the configuration file for a configuration context.
The description command associates a text string with a configuration context to help identify the content in the configuration file.
The no form of this command removes the string from the configuration.
no description
This command enters the context to configure PW-port egress side parameters.
This command configures an egress shaping option for use by a PW port.
The no form of this command reverts to the default value.
no shaper
This command specifies the intermediate destination string configured for dynamic Vport selection.
This command is only valid for PW ports used for enhanced subscriber management (ESM on PW).
The no form of this command removes the configured intermediate destination string.
no int-dest-id
This command configures the name of the Vport to be used for the PW port.
This command is valid for PW ports used for enhanced subscriber management (ESM on pseudowire) and pseudowire SAPs on Ethernet ports. It is not valid for pseudowire ports on the HSMDA.
The no form of this command removes the configured Vport name.
no vport
This command changes the administrative status of the PW-port.
shutdown
This command sets the forwarding mode for PW-port. The vc-type is signaled to the peer, and must be configured consistently on both ends of the PW. vc-type VLAN is only configurable with dot1q encapsulation on the PW-port. The tag with vc-type vlan only has significance for transport, and is not used for service delineation or ESM. The top (provider tag) is stripped while forwarding out of the PW, and a configured vlan-tag (for vc-type vlan) is inserted when forwarding into the PW. With vc-type ether, the tags if present (max 2), are transparently preserved when forwarding in our out of the PW.
The no form of this command reverts to the default value.
vc-type ether
This command sets tag relevant for vc-type vlan mode. This tag is inserted in traffic forwarded into the PW.
The no form of this command reverts to the default value.
vlan-vs-tag 0
Displays pseudo-wire port information.
If no optional parameters are specified, the command displays a summary of all defined PW ports. The optional parameters restrict output to only ports matching the specified properties.
The following is an example of PW port information.
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 | The SDP identifier. |
IfIndex | The interface index used for the PW port. |
VC-Id | The Virtual Circuit identifier. |
Description | The description string for the PW port. |