--- title: "virtual-connection" slug: "cli-as-virtual-connection" tags: ["Assurance Sensor CLI"] updated: 2025-07-03T03:54:41Z published: 2025-09-04T19:22:30Z canonical: "docs.crossworkassurance.cisco.com/cli-as-virtual-connection" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.crossworkassurance.cisco.com/llms.txt > Use this file to discover all available pages before exploring further. # virtual-connection ## virtual-connection add vca virtual-connection add vca - Add a VCA instance **Description:** Used to add a new virtual connection association by specifying a list of one or more VCEs or VCAs. **Syntax:** ``` virtual-connection add vca {{vc-list +} }+ ``` **Parameters:** | Parameter | Description | | --- | --- | | | . Unique name associated to the VCA instance. | | vc-list | A comma separated list of VCE or implicit VCA containing a VCE Tunnel instance referenced by name. | ## virtual-connection add vce virtual-connection add vce - Add a VCE instance **Description:** Used to add a new Virtual Connection Element. **Syntax:** ``` virtual-connection add vce {Customer | Operator | Tunnel} { {tpid {0x8100 | 0x88a8 | 0X9100} | {component-id } | {tp-a {internal | external} | {tp-a-port {PORT-n, LAG-n} | {tp-a-vid <1-4095>} | {tp-a-pcp-mapping | {tp-z {internal | external} | {tp-z-port {PORT-n, LAG-n} | {tp-z-vid <1-4095>} | {tp-z-pcp-mapping | {frame-type {all-to-one | untagged | vlan-tagged | any}} | {vid-relay-action {preserve | untag | translate | tag}} }+ ``` **Parameters:** | Parameter | Description | | --- | --- | | | . Unique name associated to the VCE instance. | | type | Choose the type of VCE component: Customer, Operator, or Tunnel. | | tpid | The VLAN TPID attributed to this VCE (0x8100, 0x88a8, or 0x9100). | | component-id | The ID of the Component into which the VCE will be attached. Specifying 0 indicates that the system shall automatically assign a component ID. | | tp-a | Defines the type of interface tp-a is connected to. The TP can be connected to another VCE (internal) or an external port (external). | | tp-a-port | Specifies the physical port when tp-a is configured as external. | | tp-a-vid | For VID values 1-4095, all combinations are allowed. Example: <1-10, 15, 20-25>. | | tp-a-pcp-mapping | CoS profile name with the type PCP. | | tp-z | Defines the type of interface tp-z is connected to. The TP can be connected to another VCE (internal) or an external port (external). | | tp-z-port | Specifies the physical port when tp-z is configured as external. | | tp-z-vid | It is applicable when 'vid-relay-action' is set to 'translate' or 'tag'. Only a single VID may be specified. | | tp-z-pcp-mapping | CoS profile name with the type PCP. | | frame-type | Defines the acceptable frames coming to a VCE. | | vid-relay-action | Usage is dependent on VCE type. Used to translate tp-a-vid to tp-z-vid when a single VLAN ID is used. If a set of VIDs is provided for 'tp-a-vid', then this parameter must be set to 'preserve'. When 'all-to-one' is enabled and type is 'Operator' or type is 'Tunnel', the value should be 'tag'. For all other cases, set as required. | ## virtual-connection delete vca virtual-connection delete vca - Delete a VCA instance **Description:** Used to delete a VCA object. **Syntax:** ``` virtual-connection delete vca ``` **Parameters:** | Parameter | Description | | --- | --- | | | . Unique name associated to the VCA instance. | ## virtual-connection delete vce virtual-connection delete vce - Delete a VCE instance **Description:** Used to delete an existing VCE object. **Syntax:** ``` virtual-connection delete vce ``` **Parameters:** | Parameter | Description | | --- | --- | | | . Unique name associated to the VCE instance. | ## virtual-connection edit vca virtual-connection edit vca - Edit a VCA instance **Description:** Used to edit an existing VCA object. An implicit VCA cannot be modified. **Syntax:** ``` virtual-connection edit vca { {name } | {vc-list +} }+ ``` **Parameters:** | Parameter | Description | | --- | --- | | | . Unique name associated to the VCA instance. | | name | A new name for the VCA instance. | | vc-list | A comma separated list of VCE or implicit VCA containing a VCE tunnel instances referenced by name. | ## virtual-connection edit vce virtual-connection edit vce - Edit a VCE instance **Description:** Used to edit an existing VCE object. **Syntax:** ``` virtual-connection edit vce { {name } | {component-id } | {tp-a {internal | external} | {tp-a-port {PORT-n, LAG-n} | {tp-a-vid <1-4095>} | {tp-a-pcp-mapping | {tp-z {internal | external} | {tp-z-port {PORT-n, LAG-n} | {tp-z-vid <1-4095>} | {tp-z-pcp-mapping | {frame-type {all-to-one | untagged | vlan-tagged | any}} | {vid-relay-action {preserve | untag | translate | tag}} }+ ``` **Parameters:** | Parameter | Description | | --- | --- | | | . Unique name associated to the VCE instance. | | name | A new name for the VCE instance. | | component-id | The ID of the Component into which the VCE will be attached. Specifying 0 indicates that the system shall automatically assign a component ID. | | tp-a | Defines the type of interface tp-a is connected to. The TP can be connected to another VCE (internal) or an external port (external). | | tp-a-port | Specifies the physical port when tp-a is configured as external. | | tp-a-vid | For VID values 1-4095, all combinations are allowed. Example: <1-10, 15, 20-25>. | | tp-a-pcp-mapping | CoS profile name with the type PCP. | | tp-z | Defines the type of interface tp-z is connected to. The TP can be connected to another VCE (internal) or an external port (external). | | tp-z-port | Specifies the physical port when tp-z is configured as external. | | tp-z-vid | It is applicable when 'vid-relay-action' is set to 'translate' or 'tag'. Only a single VID may be specified. | | tp-z-pcp-mapping | CoS profile name with the type PCP. | | frame-type | Defines the acceptable frames coming to a VCE. | | vid-relay-action | Usage is dependent on VCE type. Used to translate tp-a-vid to tp-z-vid when a single VLAN ID is used. If a set of VIDs is provided for 'tp-a-vid', then this parameter must be set to 'preserve'. When 'all-to-one' is enabled and type is 'Operator' or type is 'Tunnel', the value should be 'tag'. For all other cases, set as required. | ## virtual-connection show vca configuration virtual-connection show vca configuration - Show vca configuration **Description:** Without arguments, this command displays the VCA configuration summary in a table format. When specifying a VCA name, this command displays the detailed configuration for that VCA. **Syntax:** ``` virtual-connection shows vca configuration [] ``` **Parameters:** | Parameter | Description | | --- | --- | | | . Unique name associated to the VCA instance. | ## virtual-connection show vce configuration virtual-connection show vce configuration - Show vce configuration **Description:** Used to display a summary of vce configurations. **Syntax:** ``` virtual-connection shows vce configuration { | } ``` **Parameters:** | Parameter | Description | | --- | --- | | | . Unique name associated to the VCE instance. | ## virtual-connection show vce configuration layer-2 virtual-connection show vce configuration - Show vce configuration **Description:** Used to display a summary of vce configurations. **Syntax:** ``` virtual-connection show vce configuration { | } ``` **Parameters:** | Parameter | Description | | --- | --- | | | . Unique name associated to the VCE instance. | **© 2026 Cisco and/or its affiliates. All rights reserved.** For more information about trademarks, please visit: [Cisco trademarks](https://www.cisco.com/c/en/us/about/legal/trademarks.html)[](https://www.cisco.com/c/en/us/about/legal/trademarks.html) For more information about legal terms, please visit: [Cisco legal terms](https://www.cisco.com/c/en/us/about/legal/terms-conditions.html)