SGS-6341-Series User Manual

Table Of Contents
20-92
The IP subnet based VLAN is divided according to the source IP address and its subnet mask
of every host. It assigns corresponding VLAN ID to the data packet according to the subnet
segment, leading the data packet to specified VLAN. Its advantage is the same as that of the
MAC-based VLAN; the user does not have to change configuration when relocated.
The VLAN is divided by the network layer protocol, assigning a different protocol to different
VLANs. This is very attractive to the network administrators who wish to organize the user by
applications and services. Moreover the user can move freely within the network while
maintaining his membership. Advantage of this method enables user to change physical
position without changing their VLAN residing configuration, while the VLAN can be divided by
types of protocols which is important to the network administrators. Further, this method has
no need of added frame label to identify the VLAN, which reduces the network traffic.
Note: Dynamic VLAN needs to associate with Hybrid attribute of the ports to work, so the ports
that may be added to a dynamic VLAN must be configured as Hybrid port.
20.6.2 Dynamic VLAN Configuration
Dynamic VLAN Configuration Task Sequence:
1. Configure the MAC-based VLAN function on the port
2. Set the VLAN to MAC VLAN
3. Configure the correspondence between the MAC address and the VLAN
4. Configure the IP-subnet-based VLAN function on the port
5. Configure the correspondence between the IP subnet and the VLAN
6. Configure the correspondence between the Protocols and the VLAN
7. Adjust the priority of the dynamic VLAN
1. Configure the MAC-based VLAN function on the port
Command Explanation
Port Mode
switchport mac-vlan enable
no switchport mac-vlan enable
Enable/disable the MAC-based VLAN
function on the port.
User’s Manual of SGS-6341 series