clear srp counters
To clear the SRP counters, use the clear srp counters command in EXEC mode.
clear srp counters {interface srp interface-path-id | location node-id}
Syntax Description
interface srp |
Specifies the SRP interface. |
||
interface-path-id |
Physical interface or virtual interface.
For more information about the syntax for the router, use the question mark (? ) online help function. |
Command Default
No default behavior or values
Command Modes
EXEC
Command History
Release |
Modification |
---|---|
Release 3.2.2 |
This command was introduced and is supported only on the 4-port OC-192c/STM-64c POS/DPT PLIM. |
Release 3.4.0 |
This command was introduced on the 16-port OC-48c/STM-16c POS/DPT PLIM. |
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
For the interface-path-id argument, use the following guidelines:
- If specifying a physical interface, the naming notation is
rack/slot/module/port. The slash between values is
required as part of the notation. An explanation of each component of the naming
notation is as follows:
-
rack : Chassis number of the rack.
-
slot : Physical slot number of the line card.
-
module : Module number. A physical layer interface module (PLIM) is always 0.
-
port : Physical port number of the interface.
-
- If specifying a virtual interface, the number range varies, depending on interface type.
The clear srp counters command clears the counters displayed in the following commands:
- show controllers srp rac-error
- show srp counters
- show srp counters source
- show srp transit
Task ID
Task ID |
Operations |
---|---|
pos-dpt |
read, write |
Examples
The following example shows how to use the clear srp counters command to make the counts displayed from the show srp source-counters command return to zero:
RP/0/RP0/CPU0:router# show srp counters interface srp 0/7/0/0
Data Traffic Counters for Interface SRP0/7/0/0
Side A:
Transit Packets Bytes
Total Low Priority: 0 0
Total High Priority: 183 768543
Total Multicast: 174 767913
Total Unicast: 9 630
Host Receive Packets Bytes
Unicast Low Priority: 6 648
Unicast High Priority: 0 0
Multicast Low Priority: 0 0
Multicast High Priority: 1 41
Total Receive Packets Bytes
Unicast Low Priority: 6 648
Unicast High Priority: 9 630
Multicast Low Priority: 3 144
Multicast High Priority: 174 767913
Host Transmit Packets Bytes
Unicast Low Priority: 4 480
Unicast High Priority: 0 0
Multicast Low Priority: 0 0
Multicast High Priority: 0 0
Total Transmit Packets Bytes
Unicast Low Priority: 4 480
Unicast High Priority: 0 0
Multicast Low Priority: 0 0
Multicast High Priority: 772 1575090
Traffic Rate (5 Minutes) packets/sec bits/sec
Transit Low Priority 0 0
Transit High Priority 0 0
Transit Multicast 0 0
Transit Unicast 0 0
Host Receive 0 0
Total Receive 0 0
Host Transmit 0 0
Total Transmit 0 0
Received Errors:
0 input errors, 0 CRC, 0 ignored,
0 framer runts, 0 framer giants, 0 framer aborts,
0 mac runts, 0 mac giants, 0 mac ttl strips
Side B:
Transit Packets Bytes
Total Low Priority: 0 0
Total High Priority: 772 1575090
Total Multicast: 772 1575090
Total Unicast: 0 0
Host Receive Packets Bytes
Unicast Low Priority: 6 648
Unicast High Priority: 0 0
Multicast Low Priority: 0 0
Multicast High Priority: 1 41
Total Receive Packets Bytes
Unicast Low Priority: 6 648
Unicast High Priority: 0 0
Multicast Low Priority: 0 0
Multicast High Priority: 772 1575090
Host Transmit Packets Bytes
Unicast Low Priority: 6 720
Unicast High Priority: 0 0
Multicast Low Priority: 3 144
Multicast High Priority: 0 0
Total Transmit Packets Bytes
Unicast Low Priority: 6 720
Unicast High Priority: 9 630
Multicast Low Priority: 3 144
Multicast High Priority: 174 767913
Traffic Rate (5 Minutes) packets/sec bits/sec
Transit Low Priority 0 0
Transit High Priority 0 0
Transit Multicast 0 0
Transit Unicast 0 0
Host Receive 0 0
Total Receive 0 0
Host Transmit 0 0
Total Transmit 0 0
Received Errors:
0 input errors, 0 CRC, 0 ignored,
0 framer runts, 0 framer giants, 0 framer aborts,
0 mac runts, 0 mac giants, 0 mac ttl strips
RP/0/RP0/CPU0:router# clear srp counters interface srp 0/7/0/0
RP/0/RP0/CPU0:router# show srp counters interface srp 0/7/0/0
Data Traffic Counters for Interface SRP0/7/0/0
Side A:
Transit Packets Bytes
Total Low Priority: 0 0
Total High Priority: 0 0
Total Multicast: 0 0
Total Unicast: 0 0
Host Receive Packets Bytes
Unicast Low Priority: 0 0
Unicast High Priority: 0 0
Multicast Low Priority: 0 0
Multicast High Priority: 0 0
Total Receive Packets Bytes
Unicast Low Priority: 0 0
Unicast High Priority: 0 0
Multicast Low Priority: 0 0
Multicast High Priority: 0 0
Host Transmit Packets Bytes
Unicast Low Priority: 0 0
Unicast High Priority: 0 0
Multicast Low Priority: 0 0
Multicast High Priority: 0 0
Total Transmit Packets Bytes
Unicast Low Priority: 0 0
Unicast High Priority: 0 0
Multicast Low Priority: 0 0
Multicast High Priority: 0 0
Traffic Rate (5 Minutes) packets/sec bits/sec
Transit Low Priority 0 0
Transit High Priority 0 0
Transit Multicast 0 0
Transit Unicast 0 0
Host Receive 0 0
Total Receive 0 0
Host Transmit 0 0
Total Transmit 0 0
Received Errors:
0 input errors, 0 CRC, 0 ignored,
0 framer runts, 0 framer giants, 0 framer aborts,
0 mac runts, 0 mac giants, 0 mac ttl strips
Side B:
Transit Packets Bytes
Total Low Priority: 0 0
Total High Priority: 0 0
Total Multicast: 0 0
Total Unicast: 0 0
Host Receive Packets Bytes
Unicast Low Priority: 0 0
Unicast High Priority: 0 0
Multicast Low Priority: 0 0
Multicast High Priority: 0 0
Total Receive Packets Bytes
Unicast Low Priority: 0 0
Unicast High Priority: 0 0
Multicast Low Priority: 0 0
Multicast High Priority: 0 0
Host Transmit Packets Bytes
Unicast Low Priority: 0 0
Unicast High Priority: 0 0
Multicast Low Priority: 0 0
Multicast High Priority: 0 0
Total Transmit Packets Bytes
Unicast Low Priority: 0 0
Unicast High Priority: 0 0
Multicast Low Priority: 0 0
Multicast High Priority: 0 0
Traffic Rate (5 Minutes) packets/sec bits/sec
Transit Low Priority 0 0
Transit High Priority 0 0
Transit Multicast 0 0
Transit Unicast 0 0
Host Receive 0 0
Total Receive 0 0
Host Transmit 0 0
Total Transmit 0 0
Received Errors:
0 input errors, 0 CRC, 0 ignored,
0 framer runts, 0 framer giants, 0 framer aborts,
0 mac runts, 0 mac giants, 0 mac ttl strips