241
Usage guidelines
The device starts a detection timer when a port is shut down by a protocol. If the port is still down when
the detection timer expires, the device automatically brings up the port so the port status reflects the port's
actual physical status.
If you change the detection timer to T1 during port detection, the interval from when you change the timer
to the time when the protocol module shuts down the port is T. If T<T1, the down port will be recovered
after T1-T time. If T>=T1, the down port is recovered immediately. For example, if the detection timer is set
to 30 seconds and you change it to 10 seconds (T1=10) two seconds after the port is shut down (T=2),
this port will be recovered 8 seconds later. If the detection timer is set to 30 seconds and you change it
to 2 seconds ten seconds after the port is shut down, this port is recovered immediately.
Examples
# Set the detection timer to 100 seconds.
<Sysname> system-view
[Sysname] shutdown-interval 100
statistic mode
Use
statistic mode
to set the packet statistics collection mode.
Use
undo statistic mode
to restore the default.
Syntax
statistic mode
{
queue
|
vsi
}
undo statistic mode
Default
The packet statistics collection mode is
vsi
.
Views
System view
Predefined user roles
network-admin
Parameters
queue
: Collects outgoing packet statistics for interfaces on a per-queue basis.
vsi
: Collects packet statistics for VSIs.
Usage guidelines
The device supports the following packet statistics collection modes:
•
queue
—Collects outgoing packet statistics for interfaces on a per-queue basis. To display the
statistics, use the
display qos queue-statistics
command. For more information about this command,
see
ACL and QoS Command Reference
.
•
vsi
—Collects packet statistics for VSIs. To change the statistics collection mode from
queue
to
vsi
,
you must also use the
statistics enable
command to enable packet statistics for VSIs. To display the
statistics, use the
display l2vpn vsi verbose
command. For more information about this command,
see
VXLAN Command Reference
.
If you configure this command multiple times, the most recent configuration takes effect.