155
GigabitEthernet1/0/5
Untagged ports: None
VLAN ID: 12
VLAN type: Static
Private-vlan type: Secondary
Route interface: Not configured
Description: VLAN 0012
Name: VLAN 0012
Tagged ports:
GigabitEthernet1/0/5
Untagged ports:
GigabitEthernet1/0/3
The output shows that:
•
The trunk promiscuous port GigabitEthernet 1/0/5 is a tagged member of primary VLAN 10 and
secondary VLANs 11 and 12.
•
The trunk secondary port GigabitEthernet 1/0/2 is a tagged member of primary VLAN 10 and
secondary VLAN 11.
•
The host port GigabitEthernet 1/0/3 is an untagged member of primary VLAN 10 and secondary
VLAN 12.
Secondary VLAN Layer 3 communication configuration
example
Network requirements
As shown in
, configure the private VLAN feature to meet the following requirements:
•
Primary VLAN 10 on Device A is associated with secondary VLANs 2 and 3. The IP address of
VLAN-interface 10 is 192.168.1.1/24.
•
The port GigabitEthernet 1/0/1 belongs to VLAN 10. The ports GigabitEthernet 1/0/2 and
GigabitEthernet 1/0/3 belong to VLAN 2 and VLAN 3, respectively.
•
Secondary VLANs are isolated at Layer 2 but interoperable at Layer 3.
Figure 48 Network diagram
Configuration procedure
# Create VLAN 10 and configure it as a primary VLAN.
VLAN 2
VLAN 3
VLAN 10
Device A
Device B
Vlan-int10
192.168.1.1/24
GE1/0/3
GE1/0/2
GE1/0/1
Содержание H3C S7500E-X
Страница 70: ...57 ...