clear ip
This command deletes IP information.
Syntax
# clear
Command |
Description |
---|---|
access-list {counters} |
Deletes IP access list counters. |
arp {<A.B.C.D.>|all|interface} |
Deletes a specific dynamic ARP entry in the format A.B.C.D., or the entire ARP cache, or the dynamic ARP cache of a specific interface. |
bgp {<*>|<1-65535>|<A.B.C.D>| <X:X::X:X>|dampening|external| peer-group|view} |
Deletes BGP information. |
dhcp {binding} |
Deletes items from the DHCP database. |
mroute <VRF Table Name> |
Deletes the multicast route table entries, or, optionally, for a specified Virtual Routing and Forwarding (VRF) table. |
nat translations |
Deletes the current NAT (Network Address Translation) connections. |
prefix-list <Prefix List Name> |
Deletes the counters for IP prefix lists or for a specified prefix list. |
vrf <VRF Table Name> |
Deletes IP information associated with a specified Virtual Routing and Forwarding (VRF) table. |
Command Mode
Privileged User
Example
This example deletes
# clear ip nat translations
All NAT translations cleared.
This example deletes access list counters:
# clear access-list