This section describes how to configure Virtual Leased Line (VLL) services using the command line interface.
This section provides a brief overview of the tasks that must be performed to configure the VLL services and provides the CLI commands.
| Note: Spoke-SDP parameters are only supported on 7210 SAS platforms operating in the network mode. |
This section provides VLL configuration examples for the VLL services.
This section provides information about creating a Cpipe service.
The following fields require specific input (there are no defaults) to configure a basic Cpipe service:
The following is a sample configuration of a Cpipe service:
Use the following syntax to create a Cpipe service. A route distinguisher must be defined in order for Cpipe to be operationally active.
The following is a sample Cpipe service configuration output:
Before a Cpipe service can be provisioned, the following tasks must be completed:
The following is a sample DS1 port configured for CES:
The following is a sample DS1 channel group configured for CES:
The following is a sample Cpipe SAP and spoke-SDP configuration output:
Use the following syntax to create an Epipe service.
The following is a sample Epipe configuration output:
| Note: This section only applies to 7210 SAS-M and 7210 SAS-T operating in access-uplink mode. |
Use the following syntax to create an Epipe service.
A default QoS policy is applied to each ingress SAP. Additional QoS policies can be configured in the config>qos context. Filter policies are configured in the config>filter context and explicitly applied to a SAP. There are no default filter policies.
To configure a basic local Epipe service, enter the sap sap-id command twice with different port IDs in the same service configuration.
By default, QoS policy ID 1 is applied to ingress service SAPS. Existing filter policies or other existing QoS policies can be associated with service SAPs on ingress and egress ports.
Ingress and egress SAP parameters can be applied to local and distributed Epipe service SAPs.
The following is a sample of SAP configurations for local Epipe service 500 on SAP 1/1/2 and SAP 1/1/3 on ALA-1:
| Note: SDPs are supported on all 7210 SAS platforms as described in this document, except those operating in access-uplink mode. |
To configure a distributed Epipe service, you must configure service entities on the originating and far-end nodes. You must use the same service ID on both ends (for example, Epipe 5500 on ALA-1 and Epipe 5500 on ALA-2). The spoke-sdp sdp-id:vc-id must match on both sides. A distributed Epipe consists of two SAPs on different nodes.
By default, QoS policy ID 1 is applied to ingress service SAPs. On egress, QoS policies are associated with a port. Existing filter policies can be associated with service SAPs on ingress and egress.
Meters (defined in SAP-ingress policies) can be applied on ingress, which is associated with SAPs. Scheduler policies can be applied on egress, which is associated with a port.
Ingress and egress SAP parameters can be applied to local and distributed Epipe service SAPs.
For SDP configuration information, see Configuring an SDP. For SDP binding information, see Configuring SDP Bindings.
The following example configures a distributed service between ALA-1 and ALA-2:
The following is a sample of the SAP configurations for ALA-1 and ALA-2:
By default, QoS policy ID 1 is applied to ingress service SAPs. Existing filter policies or other existing QoS policies can be associated with service SAPs on ingress and egress ports.
Ingress and egress SAP parameters can be applied to local and distributed Epipe service SAPs.
The following is a sample of SAP ingress and egress parameters:
The following is a sample Epipe SAP ingress configuration output:
The following is a sample of connection-profile used to configure a range of SAPs and an Epipe configuration output using the connection profile:
| Note: Default QinQ SAPs are only supported on 7210 SAS platforms operating in the access-uplink mode. |
In Figure 38, 7210-1 is used to deliver some services to customers connected to the device, and additionally it needs to pass through transit from other nodes on the ring (for example, traffic from 7210-2 to 7210-3 or from 7210-2 to 7750-SR onto the core network).

Without default QinQ SAPs, the user would need to configure a service on 7210-1, with access-uplink SAPs for each service originating on some other node in the ring. With support for default QinQ SAPs, all traffic that does not need to be delivered to any customer service configured on 7210-1 can be switched using the Epipe service.
The following is a sample configuration output:
| Note: SDPs are supported on all 7210 SAS platforms as described in this document, except those operating in access-uplink mode. |
Figure 39 shows an example of a distributed Epipe service configuration between two routers, identifying the service and customer IDs, and the unidirectional SDPs required to communicate to the far-end routers.
A spoke-SDP is treated like the equivalent of a traditional bridge “port” where flooded traffic received on the spoke-SDP is replicated on all other “ports” (other spoke and mesh SDPs or SAPs) and not transmitted on the port it was received.

Use the following syntax to create a spoke-SDP binding with an Epipe service.
The following shows the command usage to bind an Epipe service between ALA-1 and ALA-2. This example assumes that the SAPs have already been configured (see Distributed Epipe Service).
The following is a sample SDP binding for the Epipe service between ALA-1 and ALA-2 configuration output:
| Note: SDPs are supported on all 7210 SAS platforms as described in this document, except those operating in access-uplink mode. |
The control-word command provides the option to add a control word as part of the packet encapsulation for PW types for which the control word is optional. On the 7210 SAS, an option is provided to enable it for Ethernet PW (Epipe). The control word might be needed because when ECMP is enabled on the network, packets of a specific PW may be spread over multiple ECMP paths if the hashing router mistakes the PW packet payload for an IPv4 or IPv6 packet. This occurs when the first nibble following the service label corresponds to a value of 4 or 6.
The control word negotiation procedures described in Section 6.2 of RFC 4447 are not supported, and therefore the service will only come up if the same C-bit value is signaled in both directions. If a spoke-SDP is configured to use the control word, but the node receives a label mapping message with a C-bit clear, the node releases the label with an “Illegal C-bit” status code per Section 6.1 of RFC 4447. As soon as the user enables control of the remote peer, the remote peer withdraws its original label and sends a label mapping with the C-bit set to 1 and the VLL service is up in both nodes.
When the control word is enabled, VCCV packets also include the VCCV control word. In that case, the VCCV CC type 1 (OAM CW) is signaled in the VCCV parameter in the FEC. If the control word is disabled on the spoke-SDP, the router alert label is used. In that case, VCCV CC type 2 is signaled. Note that for a multi-segment PW (MS-PW), the CC type 1 is the only type supported, and therefore the control word must be enabled on the spoke-SDP to be able to use VCCV-ping and VCCV-trace.
The following is a sample spoke-SDP control word configuration output:
Figure 40 shows an example to create VLL resilience. Note that the zero revert-time value means that the VLL path will be switched back to the primary immediately after it comes back up.

PE1
The following is a sample configuration output on PE1:
Figure 41 shows VLL resilience with pseudowire switching.

T-PE1
The following is a sample configuration output on TPE1:
T-PE2
The following is a sample configuration output on TPE2:
S-PE1
The following is a sample configuration output on S-PE1:
This section provides information about VLL service management tasks.
The following is a sample Cpipe service configuration output:
A Cpipe service cannot be deleted until SAPs are shut down and deleted. If a spoke-SDP is defined, it must be shut down and removed from the configuration as well.
Use the following syntax to delete a Cpipe service.
The following shows the command usage to add an accounting policy to an existing SAP.
The following is a sample SAP configuration output:
Use the following syntax to shut down an Epipe service without deleting the service parameters.
Use the following syntax to re-enable an Epipe service that was shut down.
Perform the following steps before deleting an Epipe service.
Use the following syntax to delete an Epipe service.