Specifications
IP Switching Commands
clear adjacency
ISW-7
Cisco IOS IP Switching Command Reference
May 2008
clear adjacency
To clear the Cisco Express Forwarding adjacency table, use the clear adjacency command in privileged
EXEC mode.
clear adjacency
Syntax Description This command has no arguments or keywords.
Command Modes Privileged EXEC
Command History
Usage Guidelines Using the clear adjacency command repopulates adjacencies from sources. Any remaining stale
adjacencies (meaning those that fail to repopulate on request) are then purged. Layer 2 next hop
information is reevaluated.
Clearing adjacencies cause the adjacency table to repopulate from the Layer 2 to Layer 3 mapping tables.
To reevaluate the mappings, clear the source information by using a Cisco IOS command, such as the
clear arp-cache command.
For Cisco 7500 Routers
On a distributed system, the adjacency tables that reside on line cards are always synchronized to the
adjacency table that resides on the Route/Switch Processor (RSP). Refreshing the adjacencies also
refreshes adjacencies on line cards and purges stale entries. (Entering the clear adjacency command on
a line card has no effect.)
Examples The following example clears the adjacency table:
Router# clear adjacency
Related Commands
Release Modification
11.2GS This command was introduced to support the Cisco 12012 Internet router.
11.1CC Support was added for multiple platforms.
12.2(25)S This command was integrated into Cisco IOS Release 12.2(25)S.
12.2(28)SB This command was integrated into Cisco IOS Release 12.2(28)SB and
implemented on the Cisco 10000 series routers.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2(33)SXH This command was integrated into Cisco IOS Release 12.2(33)SXH.
Command Description
clear arp-cache Deletes all dynamic entries from the ARP cache.
debug adjacency Enables the display of information about the adjacency database.