beautypg.com

H3C Technologies H3C S5560 Series Switches User Manual

Page 187

background image

153

Step Command

Remarks

6.

Enable Layer 2
communication for ports in the

same secondary VLAN.

undo private-vlan isolated

private-vlan community

Use either command.
By default, ports in the same
secondary VLAN can

communicate with each other at

Layer 2.
This configuration takes effect
when the following conditions

exist:

The ports in the secondary

VLAN are configured as host

ports.

The secondary VLAN is

associated with a primary

VLAN.

7.

Return to system view.

quit

N/A

8.

Enter Layer 2 Ethernet

interface view or Layer 2
aggregate interface view.

interface interface-type
interface-number

N/A

9.

Configure the uplink port as a

promiscuous or trunk
promiscuous port of the

specified VLANs.

Configure the uplink port as a
promiscuous port of the

specified VLAN:
port private-vlan vlan-id

promiscuous

Configure the uplink port as a

trunk promiscuous port of the
specified VLANs:

port private-vlan vlan-id-list

trunk promiscuous

By default, a port is not a
promiscuous or trunk promiscuous

port of any VLAN.

10.

Return to system view.

quit

N/A

11.

Enter Layer 2 Ethernet
interface view or Layer 2

aggregate interface view.

interface interface-type
interface-number

N/A

12.

Assign the downlink port to
secondary VLANs.

a.

Set the link type of the
port:

port link-type { access |

hybrid | trunk }

b.

Assign the access port to

the specified VLAN:
port access vlan vlan-id

c.

Assign the trunk port to the
specified VLANs:

port trunk permit vlan

{ vlan-id-list | all }

d.

Assign the hybrid port to

the specified VLANs:

port hybrid vlan
vlan-id-list { tagged |

untagged }

Select substep b, c, or d depending
on the port link type.