139
VLAN ID Protocol Index Protocol Type
======================================================
100 1 ipv4
200 1 ipv6
Interface: Ethernet 1/0/2
VLAN ID Protocol Index Protocol Type
======================================================
100 1 ipv4
200 1 ipv6
Configuration guidelines
Protocol-based VLAN configuration applies only to hybrid ports.
Configuring IP subnet-based VLANs
In this approach, packets are assigned to VLANs based on their source IP addresses and subnet masks.
A port configured with IP subnet-based VLANs assigns a received untagged packet to a VLAN based on
the source address of the packet.
This feature is used to assign packets from the specified IP subnet or IP address to a specific VLAN.
Configuration procedure
IMPORTANT:
This feature is applicable only on hybrid ports.
To configure an IP subnet-based VLAN:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VLAN view.
vlan
vlan-id
N/A
3.
Associate an IP subnet
with the VLAN.
ip-subnet-vlan
[
ip-subnet-index
]
ip
ip-address
[
mask
]
The IP subnet or IP address to be
associated with a VLAN cannot be a
multicast subnet or a multicast address.
4.
Return to system view.
quit
N/A