Firewall commands - clear


Remove commands from the configuration or reset command values. (All modes.)

Each clear command listed in one mode can be also accessed in each subsequent more secure mode going from unprivileged to configuration mode, but not from less secure modes.


Unprivileged Mode Clear Commands

Clear Command Description Described on Command Page
clear pager Resets the number of displayed lines to 24. pager


Privileged Mode Clear Commands

Clear Command Description Described on Command Page
clear arp Clears the ARP table. arp
clear auth-prompt Removes an auth-prompt command statement from the configuration. auth-prompt
clear blocks Resets the show blocks command statement counters. show blocks/clear blocks
clear configure Resets command parameters in the configuration to their default values. configure
clear flashfs Clears Flash memory prior to downgrading the PIX Firewall software version. fragment
clear floodguard Removes Flood Defender which protects against flood attacks from configuration. floodguard
clear local-host Resets the information displayed for the show local-host command. local-host (clear and show)
clear passwd Resets the Telnet password back to "cisco." passwd
clear traffic Resets the counters for the show traffic command. show traffic/clear traffic
clear uauth Deletes one user's or all users' AAA authorization caches, which forces the users to reauthenticate the next time they create a connection. uauth (clear and show)
clear xlate Clears the contents of the translation slots. xlate (clear and show)


Configuration Mode Clear Commands

Clear Command Description Described on Command Page
clear aaa Removes aaa command statements from the configuration. aaa
clear aaa-server Removes aaa-server command statements from the configuration. aaa-server
clear access-list Removes access-list command statements from the configuration. This command also stops all traffic through the firewall on the affected access-list command statements. access-list
clear access-group Removes access-group command statements from the configuration. access-group
clear alias Removes alias command statements from the configuration. alias
clear apply Removes apply command statements from the configuration. outbound/apply
clear conduit Removes conduit command statements from the configuration. conduit
clear dhcpd Removes dhcpd command statements from the configuration. dhcpd
clear established Removes established command statements from the configuration. established
clear filter Removes filter command statements from the configuration. filter
clear fixup Resets fixup protocol command statements to their default values. fixup protocol
clear flashfs Clears Flash memory before downgrading to a previous firewall version. fragment
clear global Removes global command statements from the configuration. global
clear http Removes all HTTP hosts and disables the server. http
clear icmp Removes icmp command statements from the configuration. icmp
clear ip Sets all firewall interface IP addresses to 127.0.0.1 and stops all traffic. ip address
clear ip address Clears all firewall interface IP addresses (configuration mode). ip address
clear ip audit Clears IDS signature of interface (configuration mode). ip audit
clear ip local pool Clears pool of local IP addresses for dynamic assignment to a VPN. ip local pool
clear ip verify reverse-path Clears RPF IP spoofing protection (configuration mode). ip verify reverse-path
clear [crypto] dynamic-map Remove crypto dynamic-map command statements from the configuration.The keyword crypto is optional. crypto dynamic-map and dynamic-map
clear [crypto] ipsec sa Delete the active IPSec security associations. The keyword crypto is optional. crypto ipsec
clear [crypto] ipsec sa counters Clear the traffic counters maintained for each security association. The keyword crypto is optional. crypto ipsec
clear [crypto] ipsec sa entry destination-address protocol spi Delete the active IPSec security association with the specified address, protocol, and SPI. The keyword crypto is optional. crypto ipsec
clear [crypto] ipsec sa map map-name Delete the active IPSec security associations for the named crypto map set. The keyword crypto is optional. crypto ipsec
clear [crypto] ipsec sa peer Delete the active IPSec security associations for the specified peer. The keyword crypto is optional. crypto ipsec
clear [crypto] isakmp sa Delete the active IKE security associations. The keyword crypto is optional. isakmp
clear [crypto] map Delete all parameters entered through the crypto map command belonging to the specified map. Does not delete dynamic maps. crypto map
clear ipsec Remove ipsec command statements from the configuration. ipsec
clear isakmp Remove isakmp command statements from the configuration. isakmp
clear interface Clear counters for the show interface command. interface
clear logging Clear syslog message queue accumulated by the logging buffered command. logging
clear names Removes name command statements from the configuration. name/names
clear nameif Reverts nameif command statements to default interface names and security levels. nameif
clear nat Removes nat command statements from the configuration. nat
clear outbound Removes outbound command statements from the configuration. outbound/apply
clear pdm Removes all locations, disables logging and clears the PDM buffer. Internal PDM command. pdm
clear rip Removes rip command statements from the configuration. rip
clear route Removes route command statements from the configuration that do not contain the CONNECT keyword. route
clear service Removes service command statements from the configuration. service
clear snmp-server Removes snmp-server command statements from the configuration. snmp-server
ssh Removes ssh command statement from the configuration. ssh
clear static Removes static command statements from the configuration. static
clear sysopt Removes sysopt command statements from the configuration. sysopt
clear telnet Removes telnet command statements from the configuration. telnet
clear tftp-server Removes tftp-server command statements from the configuration. tftp-server
clear timeout Resets timeout command durations to their default values. timeout
clear url-cache Removes url-cache command statements from the configuration. url-cache
clear url-server Removes url-server command statements from the configuration. url-server
clear virtual Removes virtual command statements from the configuration. virtual
clear vpdn Removes vpdn command statements from the configuration. vpdn