clear ip nhrp
To clear all dynamic entries from the Next Hop Resolution Protocol (NHRP) cache, use the clear ip nhrp
command in user EXEC or privileged EXEC mode.
clear ip nhrp[vrf {vrf-name | global}] [dest-ip-address [dest-mask] | tunnel number | counters [interface
tunnel number]| stats [tunnel number [vrf {vrf-name | global}]]]
Syntax Description
(Optional) Deletes entries from the NHRP cache for
the specified virtual routing and forwarding (VRF)
instance.
vrf
(Optional) Name of the VRF address family to which
the command is applied.
vrf-name
(Optional) Specifies the global VRF instance.global
(Optional) Destination IP address. Specifying this
argument clears NHRP mapping entries for the
specified destination IP address.
dest-ip-address
(Optional) Destination network mask.
dest-mask
(Optional) Clears the NHRP counters.counters
(Optional) Clears the NHRP mapping entries for all
interfaces.
interface
(Optional) Removes the specified interface from the
NHRP cache.
tunnel number
(Optional) Clears all IPv4 statistic information for all
interfaces.
stats
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
ModificationRelease
This command was introduced.Cisco IOS XE Denali 16.3.1
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
143
clear ip nhrp