Port-Based Vlan Configuration Commands; Display Port - HP A5830 Series Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

Dynamic VLANs
VLANs configured with QoS policies
Control VLANs configured for smart link groups or RRPP domains
Source VLANs for port mirroring
Remote probe VLANs for remote port mirroring
If an isolate-user-VLAN is associated with a secondary VLAN with the isolate-user-vlan command, you
cannot remove the isolate-user-VLAN or secondary VLAN unless you remove the association first.
Related commands: display vlan.
Syntax
vlan { vlan-id1 [ to vlan-id2 ] | all }
undo vlan { vlan-id1 [ to vlan-id2 ] | all }
View
System view
Default level
2: System level
Parameters
vlan-id1, vlan-id2: Specifies a VLAN ID, in the range of 1 to 4094.
vlan-id1 to vlan-id2: Specifies a VLAN range.
all: Creates or removes all VLANs except reserved VLANs. The parameter is not supported when the
maximum number of VLANs that can be created on a device is less than 4094.
Examples
# Enter VLAN 2 view.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2]
# Create VLAN 4 through VLAN 100.
<Sysname> system-view
[Sysname] vlan 4 to 100
Please wait............. Done.

Port-based VLAN configuration commands

display port

Description
Use the display port command 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 } [ | { begin | exclude | include } regular-expression ]
154

Advertisement

Table of Contents
loading

Table of Contents