Adds one or more switch ports to the specified VMAN as Customer Edge Ports (CEPs), and configures the CVIDs on those ports to map to the VMAN.
vman_name | Specifies the VMAN to configure. |
vman_id | Specifies the VMAN ID to configure. |
port_list | Specifies a list of ports. |
cvid_first | Specifies a CVLAN ID (CVID) or the first in a range of CVIDs that the CEP will accept and map to the specified VMAN. Valid values are 1-4095. |
cvid_last | Specifies the last in a range of CVIDs that the CEP will accept and map to the VMAN. Valid values are 1-4095. |
translate | Enables translation of the specified CEP CVID range to the specified VMAN CVID range. |
cvid_first_xlate | Specifies a VMAN CVID or the first in a range of VMAN CVIDs to which the CEP CVIDs will map. Valid values are 1-4095. |
cvid_last_xlate | Specifies the last in a range of VMAN CVIDs to which the CEP CVIDs will map. Valid values are 1-4095. The number of VMAN CVIDs in this range must equal the number of CEP CVIDs specified in this command. |
N/A.
If you specify only one CVID or a range of CVIDs without translation, the specified CVIDs are mapped to the specified VMAN and appear unchanged in the VMAN.
If you specify CVID translation, the CEP CVIDs map to different VMAN CVIDs. The number of CEP CVIDs specified must equal the number of VMAN CVIDs specified. The first CEP CVID in the specified range maps to the first CVID in the range specified for the VMAN. The difference between cvid_first and cvid_first_xlate establishes an offset N that maps CEP CVIDs to VMAN CVIDs. (Offset N = cvid_first_xlate - cvid_first.) The translated VMAN CVID that corresponds to a CEP CVID can be determined as follows:
VMAN CVID = CEP CVID + N
Note
CVID translation can reduce the number of CVIDs that can be mapped to VMANs.After you enable and configure a CEP with this command, you can use the following command to map additional CVIDs on the port to the VMAN:
configure [ {vman} vman_name | vman vman_id] ports port_list add cvid cvid_first {- cvid_last} {translate cvid_first_xlate {- cvid_last_xlate}}When this command specifies multiple ports, each port gets an independent CVID map; the ports do not share a common map. Changes to the CVID map affect only the ports specified in the configuration command. For example, consider the following commands:
configure vman vman1 add port 1-2 cep cvid 10
configure vman vman1 port 1 add cvid 11
After these commands are entered, port 1 maps CVIDs 10 and 11 to VMAN vman1, and port 2 maps only CVID 10 to vman1.
You can add the same port as a CEP to multiple VMANs. A port can also support multiple VMANs in different roles as shown in Port Support for Combined VMAN Roles and VLANs.
To view the CEP CVID configuration for a port, use the show vman command.
The following example configures port 1 as a CEP for VMAN vman1 and specifies that CEP CVID 5 maps to CVID 5 on the VMAN:
configure vman vman1 add port 1 cep cvid 5
The following example configures port 1 as a CEP for VMAN vman1 and enables the port to translate CEP CVIDs 10-19 to VMAN CVIDs 20-29:
configure vman vman1 add port 1 cep cvid 10 - 19 translate 20 - 29
This command was first available in ExtremeXOS 12.6.
This command is available on BlackDiamond X8, BlackDiamond 8800 series switches and Summit family switches
The CVID translation feature is available only on BlackDiamond X8, BlackDiamond 8900 c-, xl-, and xm-series modules and Summit X440, X460, X460-G2, X480, X670, X670-G2, and X770 series switches.