C Commands
This chapter describes the Cisco NX-OS Layer 3 interfaces commands that begin with C.
clear ip arp
To clear the Address Resolution Protocol (ARP) information, use the clear ip arp command.
clear ip arp [ip-addr | ethernet slot/port[.sub_if] | loopback if_number | port-channel number[.sub_if_number]] [force-delete | statistics] [vrf vrf-name | all | default | management]
Syntax Description
Command Default
None
Command Modes
Any command mode
Command History
|
|
5.0(3)N1(1) |
This command was introduced. |
Examples
This example shows how to clear the ARP table:
switch# clear ip arp
Related Commands
|
|
---|---|
show ip arp |
Displays information about ARP. |
clear ip interface statistics
To clear IP interface statistics, use the clear ip interface statistics command.
clear ip interface statistics
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
Any command mode
Command History
|
|
5.0(3)N1(1) |
This command was introduced. |
Examples
This example shows how to clear the IP interface statistics:
switch# clear ip interface statistics
Related Commands
|
|
---|---|
show ip interface |
Displays IP interface information. |
clear ipv6 icmp interface statistics
To clear statistics about ICMPv6, use the clear ipv6 icmp interface statistics command.
clear ipv6 icmp interface statistics [type number]
Syntax Description
type |
(Optional) Interface type. Use ? to see the list of supported interfaces. |
number |
(Optional) Interface number. Use ? to see the range. |
Defaults
None
Command Modes
Any command mode
Command History
|
|
5.2(1) |
This command was introduced. |
Usage Guidelines
This command does not require a license.
Examples
This example shows how to clear the ICMPv6 statistics:
switch(config-if)# clear ipv6 icmp interface statistics
Related Commands
|
|
---|---|
ipv6 icmp |
Configures ICMPv6 on an interface. |
clear ipv6 nd interface statistics
To clear information about Neighbor Discovery (ND), use the clear ipv6 nd interface statistics command.
clear ipv6 nd interface statistics [type number]
Syntax Description
type |
(Optional) Interface type. Use ? to see the list of supported interfaces. |
number |
(Optional) Interface number. Use ? to see the range. |
Defaults
None
Command Modes
Any command mode
Command History
|
|
5.2(1) |
This command was introduced. |
Usage Guidelines
This command does not require a license.
Examples
This example shows how to clear the ND information:
switch(config-if)# clear ipv6 nd interface statistics
Related Commands
|
|
---|---|
ipv6 nd |
Configures ICMPv6 ND on an interface. |
clear ipv6 neighbor
To clear IPv6 neighbors, use the clear ipv6 neighbor command.
clear ipv6 neighbor [type number] [force-clear] [vrf vrf-name]
Syntax Description
Defaults
None
Command Modes
Any command mode
Command History
|
|
5.2(1) |
This command was introduced. |
Usage Guidelines
Use the clear ipv6 neighbor command to clear the IPv6 adjacency table.
This command does not require a license.
Examples
This example shows how to clear the IPv6 neighbors:
switch# clear ipv6 neighbor
Related Commands
|
|
---|---|
ipv6 nd |
Configures ICMPv6 ND on an interface. |