12
Configuring server-assigned MAC-based VLAN
1.
Enter system view.
system-view
2.
Enter Layer 2 Ethernet interface view.
interface
interface-type interface-number
3.
Set the port link type to hybrid.
port link-type
hybrid
By default, all ports are access ports.
4.
Assign the hybrid port to the MAC-based VLANs.
port hybrid
vlan
vlan-id-list
{
tagged
|
untagged
}
By default, a hybrid port is an untagged member of the VLAN to which the port belongs when its
link type is
access
.
5.
Enable the MAC-based VLAN feature.
mac-vlan enable
By default, MAC-based VLAN is disabled.
6.
Configure 802.1X or MAC authentication.
For more information, see
Security Command Reference
.
Configuring IP subnet-based VLANs
Restrictions and guidelines
This feature is available only on hybrid ports, and it processes only untagged packets.
Procedure
1.
Enter system view.
system-view
2.
Enter VLAN view.
vlan
vlan-id
3.
Associate the VLAN with an IP subnet or IP address.
ip-subnet-vlan
[
ip-subnet-index
]
ip ip-address
[
mask
]
By default, a VLAN is not associated with an IP subnet or IP address.
A multicast subnet or a multicast address cannot be associated with a VLAN.
4.
Return to system view.
quit
5.
Enter interface view.
{
Enter Layer 2 Ethernet interface view.
interface interface-type interface-number
{
Enter Layer 2 aggregate interface view.
interface bridge-aggregation interface-number
6.
Set the port link type to hybrid.
port link-type
hybrid
By default, all ports are access ports.
7.
Assign the hybrid port to the specified IP subnet-based VLANs.
Содержание S6850 Series
Страница 108: ...48 WGE1 0 3 32768 49153 50100 0x7b 0001 0001 0001 ACDEF...
Страница 259: ...21 6 N A 200 6...
Страница 337: ...ii...