clear arp

Syntax

clear arp [port <PORT-ID> | vrf {all-vrfs | <VRF-NAME>}]

描述

Clears IPv4 and IPv6 neighbor entries from the ARP table. If you do not specify any parameters, ARP table entries are cleared for the default VRF.

Command context

Manager (#)

Parameters

port

Specifies a physical port on the switch. Format:会员/槽/port. For example:1/1/1. .

all-vrfs
Selects all VRFs.

Specifies the name of a VRF. Default: default.

权威

Administrators or local user group members with execution rights for this command.

Examples

Clearing all IPv4 and IPv6 neighbor ARP entries for the default VRF:

switch#clear arp

Clearing all ARP neighbor entries for a port ():

switch#清晰的arp 1/1/35
Clearing all IPv4 and IPv6 neighbor ARP entries for all VRFs:
switch#clear arp vrf all-vrfs
Clearing all IPv4 and IPv6 neighbor ARP entries for a specific VRF instance:
switch#clear arp vrf RED