34
Procedure
1.
Enter system view.
system-view
2.
Enter interface view of the downlink port.
interface interface-type interface-number
3.
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.
4.
Configure the downlink port as a host or trunk secondary port.
{
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
By default, a port is not a host or trunk secondary port.
5.
Return to system view.
quit
6.
Enter VLAN view of a secondary VLAN.
vlan
vlan-id
7.
(Optional.) Enable Layer 2 communication for ports in the same secondary VLAN. Choose one
command as needed:
undo private-vlan isolated
private-vlan community
By default, ports in the same secondary VLAN can communicate with each other at Layer 2.
Configuring Layer 3 communication for secondary
VLANs
1.
Enter system view.
system-view
2.
Enter VLAN interface view of the primary VLAN interface.
interface vlan-interface interface-number
3.
Enable Layer 3 communication between secondary VLANs that are associated with the primary
VLAN.
private-vlan secondary
vlan-id-list
By default, secondary VLANs cannot communicate with each other at Layer 3.
4.
Assign an IP address to the primary VLAN interface.
Содержание S6850 Series
Страница 108: ...48 WGE1 0 3 32768 49153 50100 0x7b 0001 0001 0001 ACDEF...
Страница 259: ...21 6 N A 200 6...
Страница 337: ...ii...