H3C S7500X Series Configuration Manual page 130

Comware 7 layer 2 - lan switching
Hide thumbs Also See for S7500X Series:
Table of Contents

Advertisement

Step
1.
Enter system view.
2.
Create a VLAN and enter
VLAN view.
3.
Configure the VLAN as a
primary VLAN.
4.
Return to system view.
5.
Create one or multiple
secondary VLANs.
6.
Return to system view.
7.
Enter VLAN view of the
primary VLAN.
8.
Associate the primary
VLAN with the secondary
VLANs.
9.
Return to system view.
10. Enter interface view of the
uplink port.
11. Configure the uplink port
as a promiscuous or trunk
promiscuous port of the
specified VLANs.
12. Return to system view.
13. Enter interface view of the
downlink port.
14. Assign the downlink port to
secondary VLANs.
15. Configure the downlink
port as a host or trunk
secondary port.
Command
system-view
vlan vlan-id
private-vlan primary
quit
vlan { vlan-id-list | all }
quit
vlan vlan-id
private-vlan secondary vlan-id-list
quit
interface interface-type
interface-number
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
quit
interface interface-type
interface-number
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 }
Configure the downlink port as a
host port:
port private-vlan host
Configure the downlink port as a
trunk secondary port of the
specified VLANs:
port private-vlan vlan-id-list
trunk secondary
32
Remarks
N/A
N/A
By default, a VLAN is not a
primary VLAN.
N/A
N/A
N/A
N/A
By default, a primary VLAN is not
associated with any secondary
VLANs.
N/A
N/A
By default, a port is not a
promiscuous or trunk
promiscuous port of any VLANs.
N/A
N/A
Select substep b, c, or d
depending on the port link type.
By default, a port is not a host or
trunk secondary port.

Advertisement

Table of Contents
loading

Table of Contents