vc-mode

Configures the virtual connection (VC) mode for a pseudowire (PW) profile.

Syntax

vc-mode { raw | raw-passthrough | tag }
no vc-mode

Command Default

The default VC mode is raw .

Parameters

raw
Specifies using raw mode. At VC label imposition, when a tagged packet is received on a tagged AC endpoint, the VLAN tag is removed before it is sent out on the wire. Untagged packets that are received on an untagged AC endpoint are encapsulated as is and sent out on the wire.
raw-passthrough
(DNX devices only) Specifies using raw-passthrough mode, which enables interoperation with third-party devices. When all endpoints are configured as tagged endpoints, raw passthrough mode behaves the same way as tagged mode. When all endpoints are configured as untagged endpoints, raw-passthrough mode behaves the same way as raw mode. Select the raw-passthrough option, when all endpoints are configured as untagged endpoints (even when peer devices signal the PW VC mode as raw).
tag
Note

Note

The tag option is not supported on the SLX 9640 platform.
Specifies using tag mode. At VC label imposition, when a tagged packet is received on a tagged AC endpoint, the packet is encapsulated as is and sent out on the wire. When an untagged packet is received on an untagged AC endpoint, a dummy tag is added and it is sent out on the wire.

Modes

Pseudowire-profile configuration mode.

Usage Guidelines

The no form of the command restores the default value.

The raw-passthrough parameter is supported only on devices based on the DNX chipset family. For a list of such devices, see "Supported Hardware."

Examples

The following example shows how to set the VC mode to raw-passthrough for a PW profile named test.

device# configure terminal
device(config)# pw-profile test
device(config-pw-profile-test)# vc-mode raw-passthrough

The following example shows how to set the VC mode to tag for a PW profile named test.

device# configure terminal
device(config)# pw-profile test
device(config-pw-profile-test)# vc-mode tag