To do...
8.
Associate the hybrid ports with
the specified protocol-based
VLAN
Protocol-based VLAN configuration example
Network requirements
In a lab environment, as shown in
run the IPv6 protocol for teaching purpose. To avoid interference, isolate IPv4 traffic and IPv6 traffic at
Layer 2.
Figure 35 Network diagram for protocol-based VLAN configuration
Configuration consideration
Create VLANs 100 and 200. Associate VLAN 100 with IPv4, and VLAN 200 with IPv6. Configure
protocol-based VLANs to isolate IPv4 traffic and IPv6 traffic at Layer 2.
Configuration procedure
Configuration on Router
1.
# Create VLAN 100, and assign port GigabitEthernet 4/1/11 to VLAN 100.
<Router> system-view
[Router] vlan 100
[Router-vlan100] description protocol VLAN for IPv4
[Router-vlan100] port gigabitEthernet 4/1/11
[Router-vlan100] quit
# Create VLAN 200, and assign port GigabitEthernet 4/1/12 to VLAN 200.
[Router] vlan 200
Use the command...
port hybrid protocol-vlan vlan
vlan-id { protocol-index [ to
protocol-end ] | all }
Figure
35, most hosts run the IPv4 protocol, and the rest of the hosts
104
Remarks
Required.