Configuration restrictions and guidelines, Configuration procedure – H3C Technologies H3C S5560 Series Switches User Manual
Page 186
152
{
Configure a downlink port (for example, the port connecting Device B to a host in
) as
a host port. The host port can be automatically assigned to the secondary VLAN and its
associated primary VLAN.
{
If a downlink port allows multiple secondary VLANs, configure the port as a trunk secondary
port. The trunk secondary port can be automatically assigned to the secondary VLANs and
their associated primary VLANs.
For more information about promiscuous, trunk promiscuous, host, and trunk secondary ports, see
Layer 2—LAN Switching Command Reference.
4.
Associate the secondary VLANs with the primary VLAN.
5.
(Optional.) Configure Layer 3 communication between the specified secondary VLANs that are
associated with the primary VLAN.
Configuration restrictions and guidelines
When you configure the private VLAN feature, follow these restrictions and guidelines:
•
After you complete the private VLAN configurations, perform the following tasks:
{
For a promiscuous port, make sure the following requirements are met:
−
The primary VLAN is the PVID of the port.
−
The port is an untagged member of the primary VLAN and secondary VLANs.
{
For a host port, make sure the following requirements are met:
−
The PVID of the port is a secondary VLAN.
−
The port is an untagged member of the primary VLAN and the secondary VLAN.
{
For a trunk promiscuous or trunk secondary port, make sure the port is a tagged member of the
primary VLANs and the secondary VLANs.
•
VLAN 1 (system default VLAN) does not support the private VLAN configuration.
Configuration procedure
To configure the private VLAN feature:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a VLAN and enter
VLAN view.
vlan vlan-id N/A
3.
Configure the VLAN as a
primary VLAN.
private-vlan primary
By default, a VLAN is not a primary
VLAN.
4.
Return to system view.
quit
N/A
5.
Create one or multiple
secondary VLANs.
vlan { vlan-id1 [ to vlan-id2 ] | all }
N/A
- H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module