R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide

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