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 | ethernet slot/port[.sub_if] | loopback if_number | port-channel number[.sub_if_number]] [force-delete | statistics] [vrf vrf-name | all | default | management]
None
Any command mode
|
|
5.0(3)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.0(3)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) |
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) |
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) |
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. |