R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
61
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] port link-type trunk
[Sysname-GigabitEthernet0/1] port trunk pvid vlan 100
# Configure VLAN 100 as the PVID of the trunk Layer 2 aggregate interface Bridge-Aggregation 1.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] port link-type trunk
[Sysname-Bridge-Aggregation1] port trunk pvid vlan 100
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 reset counters interface vlan-interface 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.
Related commands: display interface vlan-interface.
Examples
# Clear the statistics on VLAN-interface 2.
<Sysname> reset counters interface vlan-interface 2
shutdown
Syntax
shutdown
undo shutdown
View
VLAN interface view
Default level
2: System level