Step
4.
Exit VLAN view.
5.
Enter interface view or port
group view.
6.
Configure the port link
type as hybrid.
7.
Assign the hybrid port to
specified protocol-based
VLANs.
8.
Assign the protocol
template you have created
to the hybrid port.
Protocol-based VLAN configuration example
Network requirements
In a lab environment as shown in
protocol for teaching purposes.
To avoid interference, isolate IPv4 traffic and IPv6 traffic at Layer 2.
Figure 37 Network diagram
Command
quit
•
Enter Ethernet interface
view:
interface interface-type
interface-number
•
Enter port group view:
port-group manual
port-group-name
port link-type hybrid
port hybrid vlan vlan-list
{ tagged | untagged }
port hybrid protocol-vlan vlan
vlan-id { protocol-index [ to
protocol-end ] | all }
Figure
37, most hosts run the IPv4 protocol, and the rest run the IPv6
107
Remarks
N/A
Use one of the commands.
•
The configuration made in Ethernet
interface view applies only to the port.
•
The configuration made in port group
view applies to all ports in the port
group.
By default, all ports are access ports.
By default, a hybrid port is only in VLAN
1.
N/A