HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 2 - LAN Switching Command Refer - Page 161
Port-based VLAN commands, display port
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 161 highlights
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. system-view [Sysname] vlan 2 [Sysname-vlan2] # Create VLAN 4 through VLAN 100. 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