Cisco Cisco Packet Data Interworking Function (PDIF)
Exec Mode Commands (A-C)
clear port ▀
Command Line Interface Reference, StarOS Release 17 ▄
3921
clear port
Clears port related statistics.
Product
All
Privilege
Security Administrator, Administrator, Operator
Mode
Exec
The following prompt is displayed in the Exec mode:
[local]host_name#
Syntax
clear port { datalink counters { all | slot/port } | npu counters { all | slot/port [
untagged | vlan tag_id ] }
untagged | vlan tag_id ] }
clear port datalink counters
Clears data link port statistics.
clear port npu counters
Clears statistics for the network processing unit(s).
all
Clears counters for all datalink or NPU ports.
slot/port
Clears the statistics for the specified slot and port number.
untagged
Clears NPU statistics for all ports that do not have a VLAN tag.
vlan
tag_id
Clears NPU statistics for the port that has a previously configured VLAN tag ID.
Usage
Manually clear the statistics for a specified port. This is useful when preparing to trouble shoot or monitor the
system.
system.
Example
The following command clears the data link related statistics for port 1 in slot 17.
clear port datalink counters 17/1
The following command clears the network processing unit related statistics for port 1 in slot 17.