Protocol-Based Vlan Configuration Commands; Display Protocol-Vlan Interface - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

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
50
80
100
100
Interface: Ethernet1/0/2
VLAN ID
50
80
100
Protocol-Index
Protocol-type
0
1
0
1
Protocol-Index
Protocol-type
1
2
3
ip
ip
ip
ipx ethernetii
ipx raw
at
snap etype 0x0abc
1-15

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the s3600 series and is the answer not in the manual?

Questions and answers

Table of Contents