Clearing MSDP Information
You can clear the following MSDP information:
Clearing Peer Information
To clear MSDP peer information, enter the following command at the privileged EXEC level of the CLI.
device# clear ip msdp peer 205.216.162.1
The command in this example clears the MSDP peer connection with MSDP router 205.216.162.1. The CLI displays a message to indicate when the connection has been successfully closed. To clear all the peers, omit the ip-addr variable from the command.
Clearing Peer Information on a VRF
To clear the MSDP VRF peers, enter the following command at the MSDP VRF configuration level.
device# clear ip msdp vrf blue peer 207.207.162.5
Clearing the Source Active Cache
To clear the source active cache, enter the following command at the privileged EXEC level of the CLI.
device# clear ip msdp sa-cache
The command in this example clears all the cache entries. Use the ip-addr variable to clear only the entries matching either a source or a group.
Clearing the Source Active Cache for a VRF
To clear the MSDP VRF source active cache by entering the following command at the MSDP VRF configuration level.
device# clear ip msdp sa-cache vrf blue
Clearing MSDP Statistics
To clear MSDP statistics, enter the following command at the privileged EXEC level of the CLI.
device# clear ip msdp statistics
The command in this example clears statistics for all the peers. To clear statistics for only a specific peer, enter the IP address of the peer.
Clearing MSDP VRF Statistics
To clear the MSDP VRF statistics by entering the following command.
device# clear ip msdp vrf blue sa-cache
The command in this example clears all statistics for all the peers in the VRF named blue.