HP MSR2000/3000/4000 Router Series Layer 2 - LAN Switching Command Reference

Table Of Contents
62
($), percent sign (%), caret (^), ampersand sign (&), asterisk (*), left brace ({), right brace (}), left
parenthesis ((), right parenthesis ()), left bracket ([), right bracket (]), left angle bracket (<), right angle
bracket (>), hyphen (-), underscore(_), plus sign (+), equal sign (=), vertical bar (|), back slash (\), colon
(:), semi-colon (;) quotation marks ("), apostrophe ('), comma (,), dot (.), and slash (/), spaces, and other
Unicode characters and symbols.
For a VLAN, this argument is a string of 1 to 32 characters.
For a VLAN interface, this argument is a string of 1 to 255 characters.
Usage guidelines
You can configure a description to describe the function or connection of a VLAN or VLAN interface,
which is very helpful when a large number of VLANs are created on the device.
Examples
# Change the description of VLAN 2 to sales-private.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] description sales-private
# Change the description of VLAN-interface 2 to linktoPC56.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] quit
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] description linktoPC56
Related commands
display interface vlan-interface
display vlan
display interface vlan-interface
Use display interface vlan-interface to display information about a specified VLAN interface or all VLAN
interfaces.
Syntax
display interface vlan-interface [ vlan-interface-id ] [ brief [ description ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vlan-interface-id: Specifies a VLAN interface number. If you do not specify this argument, this command
displays information about all VLAN interfaces.
brief: Displays brief interface information. If you do not specify this keyword, the command displays
detailed interface information.