clear

clear

access: global; super, admin

The clear command resets logs or hardware interfaces. The command requires one of the following subcommands.

arp-cache

clears dynamic entries from the Address Resolution Protocol (ARP) cache. ARP is an internet protocol used to map an IP address to a MAC address.

connection-table blocks

clears all connection table block entries.

counter interface

clears interface counters. This command is disabled when the SMS manages the device.

ethernet

clears Ethernet interface counters. When used without slot and port information, it clears the counters for all Ethernet interfaces on the device.

mgmtEthernet

clears the counters for the Management Ethernet port on the device.

counter policy

clears all policy counters. This command is disabled when the SMS manages the device.

interface

clears the interface. When used without parameters, the command resets all interfaces on the device. This command is disabled when the SMS manages the device.

ethernet [slot] [port]

clears the Ethernet interface. When used without parameters, the command clears all Ethernet ports.

slot

clears all Ethernet ports in the blade that sits in slot.

port

clears the numbered port.

X Family CLI Reference V 2.5.1

31