1-15
Examples
# Set the default VLAN ID of the trunk port Ethernet 1/0/1 to 100.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] port link-type trunk
[Sysname-Ethernet1/0/1] port trunk pvid vlan 100
Protocol-Based VLAN Configuration Commands
display protocol-vlan interface
Syntax
display protocol-vlan interface { interface-type interface-number [ to interface-type interface-number ]
| all }
View
Any view
Parameters
interface-type interface-number: Specify a port by its type and number to display the protocol VLAN(s)
bound with the port. You can use the interface-type interface-number to interface-type
interface-number keyword and argument combination to specify a port range to display the protocol
template information of the ports bound with protocol VLAN(s) in the range. When defining a port range,
note that the second port must not be less than the first port.
all: Displays all the ports bound with at least one protocol VLAN and the associated protocol templates.
Description
Use the display protocol-vlan interface command to display information about protocol-based
VLANs and protocol templates for the specified port(s).
Related commands: port hybrid protocol-vlan vlan, protocol-vlan.
Examples
# Display the protocol VLAN information of ports Ethernet1/0/1 and Ethernet1/0/2.
<Sysname> display protocol-vlan interface Ethernet 1/0/1 to Ethernet 1/0/2
Interface: Ethernet1/0/1
VLAN ID Protocol-Index Protocol-type
50 0 ip
80 1 ip
100 0 ip
100 1 ipx ethernetii
Interface: Ethernet1/0/2
VLAN ID Protocol-Index Protocol-type
50 1 ipx raw
80 2 at
100 3 snap etype 0x0abc