Port-Based Vlan Commands; Display Port - HP 6125XLG Command Reference Manual

Blade switch layer 2 - lan switching
Table of Contents

Advertisement

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. The vlan-id1 and vlan-id2 arguments specify VLAN IDs in
the range of 1 to 4094. The vlan-id1 argument cannot be greater than vlan-id2.
all: Creates or removes all VLANs except reserved VLANs.
Usage guidelines
You cannot create or remove the default VLAN (VLAN 1).
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.
154

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents