Verifying the configuration
# Verify the primary VLAN configurations on Device B. The following output uses primary VLAN 5 as an
example.
[DeviceB] display private-vlan 5
Primary VLAN ID: 5
Secondary VLAN ID: 2-3
VLAN ID: 5
VLAN type: Static
Private VLAN type: Primary
Route interface: Not configured
Description: VLAN 0005
Name: VLAN 0005
Tagged
Ten-GigabitEthernet1/1/5
Untagged ports:
Ten-GigabitEthernet1/1/6
VLAN ID: 2
VLAN type: Static
Private VLAN type: Secondary
Route interface: Not configured
Description: VLAN 0002
Name: VLAN 0002
Tagged
Ten-GigabitEthernet1/1/5
Untagged ports:
Ten-GigabitEthernet1/1/6
VLAN ID: 3
VLAN type: Static
Private VLAN type: Secondary
Route interface: Not configured
Description: VLAN 0003
Name: VLAN 0003
Tagged
Ten-GigabitEthernet1/1/5
Untagged ports:
Ten-GigabitEthernet1/1/7
Trunk promiscuous and trunk secondary port configuration
example
Network requirements
As shown in
ports:
ports:
ports:
Figure
47, configure the private VLAN feature to meet the following requirements:
Ten-GigabitEthernet1/1/7
165