Port-Based Vlan Commands; Display Port - HP 5900 series Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for 5900 series:
Table of Contents

Advertisement

You cannot create or remove VLANs that are reserved for specific functions.
You cannot use the undo vlan command to delete a dynamic VLAN, a VLAN with a QoS policy applied,
or a VLAN locked by an application. To delete such a VLAN, first remove the configuration from the
VLAN.
Examples
# Create VLAN 2 and enter its view.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2]
# Create VLAN 4 through VLAN 100.
<Sysname> system-view
[Sysname] vlan 4 to 100
Related commands
display vlan

Port-based VLAN commands

display port

Use display port to display information about the hybrid or trunk ports on the device, including the port
names, PVIDs, and allowed VLAN IDs.
Syntax
display port { hybrid | trunk }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
hybrid: Displays hybrid ports.
trunk: Displays trunk ports.
Examples
# Display information about the hybrid ports in the system.
<Sysname> display port hybrid
Interface
XGE1/0/4
# Display information about the trunk ports in the system.
<Sysname> display port trunk
PVID
VLAN Passing
100
Tagged:
1000, 1002, 1500, 1600-1611, 2000,
2555-2558, 3000, 4000
Untagged:1, 10, 15, 18, 20-30, 44, 55, 67, 100,
150-160, 200, 255, 286, 300-302
150

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5920 series

Table of Contents