cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5491
Views
15
Helpful
3
Replies

How can i clear counters on TenGigE interface in Cisco NCS 6000 with 5.2.4 Versión

Octavio Jimenez
Level 1
Level 1
1 Accepted Solution

Accepted Solutions

Hi

Its a bug in the 5.2.4 release CSCuu42399

There is a workaround

RP/0/RP0/CPU0: ASR9k #clear counter TenGigE0/7/0/27 <<<<< if you specify TenGigE, command is not working
% Ambiguous command: "clear counter tengige0/7/0/27"
RP/0/RP0/CPU0: ASR9k #clear counter TenGig0/7/0/27 <<<<< if you specify TenGig (so without E at the end), command should working
...
Clear "show interface" counters on this interface [confirm]
RP/0/RP0/CPU0: ASR9k #
 

Regards Peter

View solution in original post

3 Replies 3

Mark Malone
VIP Alumni
VIP Alumni

HI

try it again but tab it out to get full syntax see first box below

 

Table 2-3 Common CLI Error Messages 

Error Message
Meaning
How to Get Help
% Ambiguous command: 
"show con"

You did not enter enough characters for your switch to recognize the command.

Re-enter the command followed by a question mark (?) with a space between the command and the question mark.

The possible keywords that you can enter with the command appear.

% Incomplete command.

You did not enter all the keywords or values required by this command.

Re-enter the command followed by a question mark (?) with a space between the command and the question mark.

The possible keywords that you can enter with the command appear.

% Invalid input detected 
at `^' marker.

You entered the command incorrectly. The caret (^) marks the point of the error.

Enter a question mark (?) to display all the commands that are available in this command mode.

The possible keywords that you can enter with the command appear.

Thanks Mark

I do this but the result is the same:

Router#clear ?

  controller         Clear interface controller data
  counters           Clear counters on one or all interfaces
  dampening          Clear state dampening on the given interface
  .
Rouer#clear counters ?
  
  PW-IW             PWHE VC11 IP Interworking Interface
  Serial            Serial network interface(s)
  TenGigE           TenGigabitEthernet/IEEE 802.3 interface(s) | short name is Te
  TenGigECtrlr      Ten Gigabit Ethernet controller
  all               Clear counters on all interfaces
  
Rouer#clear counters TenGigE ?
  0/6/0/0   TenGigE Interface Instance
  0/6/0/1   TenGigE Interface Instance
  0/6/0/10  TenGigE Interface Instance
  
Router#clear counters TenGigE 0/6/0/0 ?
% Ambiguous command:  "clear counters TenGigE 0/6/0/0 "
Router#clear counters TenGigE 0/6/0/0 

 

Is posible that this version does not support this command?

 

Hi

Its a bug in the 5.2.4 release CSCuu42399

There is a workaround

RP/0/RP0/CPU0: ASR9k #clear counter TenGigE0/7/0/27 <<<<< if you specify TenGigE, command is not working
% Ambiguous command: "clear counter tengige0/7/0/27"
RP/0/RP0/CPU0: ASR9k #clear counter TenGig0/7/0/27 <<<<< if you specify TenGig (so without E at the end), command should working
...
Clear "show interface" counters on this interface [confirm]
RP/0/RP0/CPU0: ASR9k #
 

Regards Peter