Network requirements – H3C Technologies H3C S5560 Series Switches User Manual

Page 199

Advertising
background image

165

Name: VLAN 0021

Tagged ports:

GigabitEthernet1/0/2 GigabitEthernet1/0/5

Untagged ports: None

VLAN ID: 22

VLAN type: Static

Private-vlan type: Secondary

Route interface: Not configured

Description: VLAN 0022

Name: VLAN 0022

Tagged ports:

GigabitEthernet1/0/5

Untagged ports:

GigabitEthernet1/0/1

The output shows that:

The trunk promiscuous port GigabitEthernet 1/0/5 is a tagged member of primary VLAN 20 and
secondary VLANs 21 and 22.

The trunk secondary port GigabitEthernet 1/0/2 is a tagged member of primary VLAN 20 and
secondary VLAN 21.

The host port 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

Figure 50

, configure the private VLAN feature to meet the following requirements:

Primary VLAN 10 on Device B is associated with secondary VLANs 2 and 3.

The uplink port GigabitEthernet 1/0/1 is in VLAN 10.

The IP address of VLAN-interface 10 is 192.168.1.1/24.

The ports GigabitEthernet 1/0/2 and GigabitEthernet 1/0/3 are in VLAN 2 and VLAN 3,
respectively.

Secondary VLANs are isolated at Layer 2 but interoperable at Layer 3.

Advertising