Clearing ARP entries

Use this procedure to clear dynamic ARP table entries associated with the interface or VLAN.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Clear ARP entries:

    clear ip arp interface <gigabitethernet|vlan> <slot/port[/sub-port][-slot/port[/sub-port]][,...]| <1-4059>>

Example

Clear ARP entries:

Switch:1> enable
Switch:1# clear ip arp interface gigabitethernet 1/16

Variable definitions

Use the data in the following table to use the clear ip arp interface command.

Variable

Value

<1-4059>

Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.

gigabitethernet|vlan

Specifies the interface type.

{slot/port[/sub-port][-slot/port[/sub-port]][,...]}

Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.