The vc-switching parameter must be specified at the time the VLL service is created.
The following example show the configuration when a SAP is added to a pseudowire. The CLI generates an error response if you attempt to create a SAP. VC switching is only needed on the pseudowire at the S-PE.
*A:ALA-701>config>service# epipe 28 customer 1 create vc-switching
*A:ALA-701>config>service>epipe$ sap 1/1/3 create
MINOR: SVCMGR #1311 SAP is not allowed under PW switching service
*A:ALA-701>config>service>epipe$
Use the following syntax to create pseudowire switching VLL services.
config>service# epipe service-id [customer customer-id][vpn vpn-id] [vc-
switching]
description description-string
spoke-sdp sdp-id:vc-id
The following example shows command usage to configure VLL pseudowire switching services.
*A:7210SAS>config>service# info
.............
epipe 1 customer 1 vpn 1 vc-switching create
description "Default epipe description for service id 1"
spoke-sdp 1:1 vc-type vlan create
description "Description for Sdp Bind 1 for Svc ID 1"
ingress
vc-label 4501
exit
egress
vc-label 4501
exit
control-word
pw-path-id
agi 1:1
saii-type2 1:0.0.0.2:1
taii-type2 1:0.0.0.1:1
exit
control-channel-status
refresh-timer 10
no shutdown
exit
no shutdown
exit
spoke-sdp 1001:1 vc-type vlan create
description "Description for Sdp Bind 1001 for Svc ID 1"
ingress
vc-label 5501
exit
egress
vc-label 5501
exit
control-word
pw-path-id
agi 1:1
saii-type2 1:0.0.0.1:1
taii-type2 1:0.0.0.2:1
exit
control-channel-status
refresh-timer 10
no shutdown
exit
no shutdown
exit
no shutdown
exit
----------------------------------------------
*A:7210SAS>config>service#
The following example shows configuration output for S-PE1.
*A:ALA-S-PE1>config>service>epipe# info
----------------------------------------------
...
spoke-sdp 2:200 create
exit
spoke-sdp 3:300 create
exit
no shutdown
----------------------------------------------
*A:ALA-S-PE1>config>service>epipe#
The following example shows configuration output for S-PE2.
*A:ALA-S-PE2>config>service>epipe# info
----------------------------------------------
...
spoke-sdp 2:200 create
exit
spoke-sdp 3:300 create
exit
no shutdown
----------------------------------------------
*A:ALA-S-PE2>config>service>epipe#