Clearing the MSDP SA cache

Clear the SA cache to clear the SA entries the router learns from all peers or a specific peer.
Note

Note

This procedure clears the foreign cache. This procedure does not clear the local cache.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Clear the SA cache for all peers:

    clear ip msdp sa-cache [vrf WORD<0-16>] [vrfids WORD<0-512>]

  3. Clear the SA cache for a specific peer:

    clear ip msdp sa-cache peer {A.B.C.D} [vrf WORD<0-16>] [vrfids WORD<0-512>]

  4. Clear the SA cache for a specific group range, source range, and RP.

    clear ip msdp sa-cache [source prefix/len] [group prefix/len] [rp {A.B.C.D}] [vrf WORD<0-16>] [vrfids WORD<0-512>]

Example

Switch:1>enable

Switch:1#configure terminal

Switch:1(config)#clear ip msdp sa-cache peer 21.0.0.2

Variable definitions

The following table defines parameters for the clear ip msdp sa-cache command.

Variable

Value

{A.B.C.D}

Specifies the MSDP peer IP address.

vrf WORD<0–16>

Specifies the VRF names.

vrfids WORD<0–512>

Specifies the VRF ID.