S-VLANs are created via the CLI using the svlan vid
command.
Syntax:
[no] svlan
vid
If
vid
does not exist in the switch, this command creates a port-based S-VLAN with the specified. If the command does not include options, the CLI moves to the newly created S-VLAN context. If you do not specify an optional name, the switch assigns a name in the default format:
vid
svlan
wheren
is theassigned to the S-VLAN. If the S-VLAN already exists and you enter either the
vid
or the
vid
ascii-name-string
, the CLI moves to the specified S-VLAN's context.
|
|
NOTE: When QinQ is disabled, all VLANs must be C-VLANs. When QinQ is enabled in SVLAN mode, all VLANs must be S-VLANs. When QinQ is enabled in mixed VLAN mode, VLANs can be configured as either C-VLANs or S-VLANs. |
|
|