Use the undo protocol-vlan command to remove the configured protocol template.
By default, no VLAN is bound with any protocol template.
Related commands: display protocol-vlan vlan.
Do not configure a VLAN as both a protocol-based VLAN and a voice VLAN.
Examples
# Configure VLAN 3 as an IPv4 based VLAN.
<Sysname> system-view
[Sysname] vlan 3
[Sysname-vlan3] protocol-vlan ipv4
Because IP depends on ARP for address resolution in Ethernet, you are recommended to configure
the IP and ARP templates in the same VLAN and associate them with the same port to prevent
communication failure.
# Create an ARP protocol template for VLAN 3 (ARP code is 0x0806) to make VLAN 3 transmit ARP
packets.
To use Ethernet encapsulation, use the command:
[Sysname-vlan3] protocol-vlan mode ethernetii etype 0806
To use 802.3 encapsulation, use the command:
[Sysname-vlan3] protocol-vlan mode snap etype 0806
IP Subnet-Based VLAN Configuration Commands
display ip-subnet-vlan interface
Syntax
display ip-subnet-vlan interface { interface-list | all }
View
Any view
Default Level
2: System level
6-27