In today’s article, I’ll quickly tell you about the Cisco IOS privileged EXEC mode command (router number) called “delete dmvpn session“. Network administrators (like you) use “delete dmvpn session” command to clear dynamic multipoint VPN (DMVPN) sessions.
In other words, you can use this command to remove existing DMVPN sessions based on input parameters.
The command syntax is shown below:
delete dmvpn session [peer {nbma | tunnel ipv4-address | ipv6-address}] [interface tunnel number] [vrf vrf-name] [static]
As you can see, this command has several keywords and arguments (optional):
pair – This keyword (optional) is used to specify a DMVPN pair.
nbma – This keyword (optional) is used to specify non-broadcast mapping (NBMA) access.
tunnel – This keyword (optional) is used to specify a tunnel.
ipv4 address – This argument (optional) is the IPv4 address of a DMVPN peer.
ipv6-address – This argument (optional) is the IPv6 address of a DMVPN peer.
Interface – This keyword (optional) is used to view DMVPN information about a specific interface.
tunnel number – This combination of keywords (optional) with arguments is used to specify the tunnel address for the DMVPN peer.
vrf vrf tunnel – This (optional) keyword combination with argument is used to clear (drop) all Next Hop Resolution Protocol (NHRP) sessions related to the specified Virtual Forwarding and Routing (VRF) configuration.
static – And this keyword (optional) is used to clear all static and dynamic NHRP entries. Remember, if you decide not to use this keyword with the command; only dynamic NHRP entries will be deleted.
By the way, if you decide to use the command, make sure your router (s) are running Cisco IOS 12.4 (20) T or higher.
I hope this article was very informative and helped you quickly understand the use of the clear dmvpn session command. If you need to learn more; I suggest you visit my website where you will find the latest information on Cisco CCNA Security Exam Techniques (640-553).
To your success,