Chapter 6. Manage / Configure the Switch
61
[ Private VLAN Port Assignment ]
switchport private-vlan host-association x command is used to assign this interface port(s) to a Community VLAN.
And the port type of the interface port(s) must be “host” first. “x” is the VLAN ID of the Community VLAN and its
valid value is 2~4094.
switchport private-vlan isolated x command is used to assign this interface port(s) to a Isolated VLAN. And the
port type of the interface port(s) must be “host” or “promiscuous” first. “x” is the VLAN ID of the Isolated VLAN
and its valid value is 2~4094.
switchport private-vlan mapping x command is used to assign this interface port(s) to a Primary VLAN. And the
port type of the interface port(s) must be “promiscuous” first. “x” is the VLAN ID of the Primary VLAN and its
valid value is 2~4094.
[ VLAN Stacking (Q-in-Q) Setting ]
switchport vlan-stacking normal command is used to set the port(s) as normal 802.1Q VLAN port(s).
And the
tagged/untagged setting will follow the settings in 802.1Q VLAN.
switchport vlan-stacking access command is used to set the port(s) as access port(s) for VLAN stacking operation.
It
will strip a tag from tagged or double-tagged packets before forwarding. It is for downward connection of VLAN stacking
operation.
switchport vlan-stacking tunnel command is used to set the port as tunnel port for VLAN stacking operation.
It will
add a tag and allow two 802.1Q VLAN tags in a packet. It is for tunnel and upward connection of VLAN stacking operation.
6.2.4.2 Interface Configuring Commands for VLAN
Commands in Configuring Mode are for general switch settings. And its prompt is “(config)#”.
If the characteristics are for VLAN group, it is done with “interface vlan x” command in configure mode. For
example, “interface vlan 100” is for characteristics settings on VLAN 100.
Note
: The general VLAN settings are done with “vlan database” command. Please refer to section 6.2.5 VLAN
Configuring Commands for the details. And interface vlan x command is used to assign characteristics to a VLAN
group interface. For example, assigning IP address to a VLAN interface is done with this command.