R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
38
name
Syntax
name text
undo name
View
VLAN view
Default level
2: System level
Parameters
text: Specifies a VLAN name, a string of 1 to 32 characters. The string can include case-sensitive letters,
digits, special characters (including ~ ! @ # $ % ^ & * ( ) - _ + = { } [ ] | \ : ; " ' < > , . /), and spaces.
Description
Use the name command to configure a name for the VLAN.
Use the undo name command to restore the default name of the VLAN.
By default, the name of a VLAN is its VLAN ID. For example, VLAN 0001.
Examples
# Configure the name of VLAN 2 as Test VLAN.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] name Test VLAN
reset counters interface vlan-interface
Syntax
reset counters interface vlan-interface [ vlan-interface-id ]
View
User view
Default level
2: System level
Parameters
vlan-interface-id: Specifies a VLAN interface number.
Description
Use the reset counters interface vlan-interface command to clear the statistics on a VLAN interface.
Before collecting the traffic statistics within a specific period of time on an interface, you need to clear the
existing statistics first.
If the vlan-interface-id argument is not specified, this command clears the statistics of all VLAN interfaces.
If the vlan-interface-id argument is specified, this command clears the statistics of the specified VLAN
interface.