The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS Layer 3 interfaces commands that begin with C.
To clear the Address Resolution Protocol (ARP) information, use the clear ip arp command.
clear ip arp [ip-addr | {[event-history | all | cli | client-errors | client event | control | errors | event | ha | lcache | lcache-errors | packet | snmp | sync-event]} | [force-delete | statistics] | [mgmt mgmt-inteface-number] | [statistics] | [tunnel-statistics] | [vlan vlan-interface-number] | [vpc-statistics] | [vrf vrf-name | all | default | management]
None
Any command mode
|
|
6.0(2)N1(2) |
Support for the QSFP+ GEM was added. |
5.2(1)N1(1) |
This command was introduced. |
This example shows how to clear the ARP table:
switch# clear ip arp
|
|
---|---|
show ip arp |
Displays information about ARP. |
To clear IP interface statistics, use the clear ip interface statistics command.
clear ip interface statistics
This command has no arguments or keywords.
None
Any command mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to clear the IP interface statistics:
switch# clear ip interface statistics
|
|
---|---|
show ip interface |
Displays IP interface information. |
To clear statistics about ICMPv6, use the clear ipv6 icmp interface statistics command.
clear ipv6 icmp interface statistics [type number]
type |
(Optional) Interface type. Use ? to see the list of supported interfaces. |
number |
(Optional) Interface number. Use ? to see the range. |
None
Any command mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This command does not require a license.
This example shows how to clear the ICMPv6 statistics:
switch(config-if)# clear ipv6 icmp interface statistics
|
|
---|---|
ipv6 icmp |
Configures ICMPv6 on an interface. |
To clear information about Neighbor Discovery (ND), use the clear ipv6 nd interface statistics command.
clear ipv6 nd interface statistics [type number]
type |
(Optional) Interface type. Use ? to see the list of supported interfaces. |
number |
(Optional) Interface number. Use ? to see the range. |
None
Any command mode
|
|
5.2(1)N1(1) |
This command was introduced. |
This command does not require a license.
This example shows how to clear the ND information:
switch(config-if)# clear ipv6 nd interface statistics
|
|
---|---|
ipv6 nd |
Configures ICMPv6 ND on an interface. |
To clear IPv6 neighbors, use the clear ipv6 neighbor command.
clear ipv6 neighbor [type number] [force-clear] [vrf vrf-name]
None
Any command mode
|
|
5.2(1)N1(1) |
This command was introduced. |
Use the clear ipv6 neighbor command to clear the IPv6 adjacency table.
This command does not require a license.
This example shows how to clear the IPv6 neighbors:
switch# clear ipv6 neighbor
|
|
---|---|
ipv6 nd |
Configures ICMPv6 ND on an interface. |