Chapter 3. Command Reference

log [alert audit block firewallblock firewallsession packet-trace system vpn] clears the specified log or logs. When used without parameters, the command erases all entries in all logs. This command is disabled when the SMS manages the device.

Note: When admin-level users issue the clear log command without parameters, the audit log is not cleared. Only super-user-level users can clear the audit log.

 

np [rule-stats softlinx]

 

clears the statistical information related to either rules or the Softlinx.

 

 

 

ramdisk stats

 

clears the statistical information related to the RAM disk.

 

 

 

rate-limit streams

 

clears rate limited streams from the data table.

 

 

 

Using the clear command

clear all

Enter clear counter interface ethernet without the slot or port parameters to clear the counters for all

ethernet

Ethernet ports in all slots.

counters

 

 

hostname# clear count int ethernet

clear ethernet

Enter clear counter interface ethernet slot-numberwithout the port parameter to clear the counters

counters of a

for all Ethernet ports in a slot.

specific slot

 

 

hostname# clear count int ethernet 7

clear ethernet

Enter clear counter interface ethernet slot-numberport-numberto clear the counters for a specific

counter for a

Ethernet port.

specific port

 

 

hostname# clear count int ethernet 7 2

clear all

Enter clear counter interface mgmtEthernet to clear all Management Ethernet counters.

Management

 

Ethernet

hostname# clear count int mgmtethernet

counters

 

reset all

Enter the clear interface command without any other parameters to reset the chassis. You will be

interfaces

asked to confirm this command.

32 X Family CLI Reference V 2.5.1