Route interface: Not configured
Description: VLAN 0022
Name: VLAN 0022
Tagged
Ten-GigabitEthernet1/0/5
Untagged ports:
Ten-GigabitEthernet1/0/1
The output shows that:
•
The trunk promiscuous port Ten-GigabitEthernet 1/0/5 is a tagged member of primary VLAN 20
and secondary VLANs 21 and 22.
The trunk secondary port Ten-GigabitEthernet 1/0/2 is a tagged member of primary VLAN 20
•
and secondary VLAN 21.
The host port Ten-GigabitEthernet 1/0/1 is an untagged member of primary VLAN 20 and
•
secondary VLAN 22.
Secondary VLAN Layer 3 communication configuration
example
Network requirements
As shown in
Primary VLAN 10 on Device B is associated with secondary VLANs 2 and 3.
•
•
The uplink port Ten-GigabitEthernet 1/0/1 is in VLAN 10.
The IP address of VLAN-interface 10 is 192.168.1.1/24.
•
The ports Ten-GigabitEthernet 1/0/2 and Ten-GigabitEthernet 1/0/3 are in VLAN 2 and VLAN 3,
•
respectively.
Secondary VLANs are isolated at Layer 2 but interoperable at Layer 3.
•
Figure 41 Network diagram
Configuration procedure
# Create VLAN 2 and VLAN 3.
<DeviceB> system-view
[DeviceB] vlan 2 to 3
ports:
Figure
41, configure the private VLAN feature to meet the following requirements:
148