2 clear arp-cache, 3 clear arp traffic, 2 clear arp-cache -202 – PLANET XGS3-24042 User Manual

Page 356: 3 clear arp traffic -202

Advertising
background image

19-202

Command:

arp <ip_address> <mac_address> {interface [ethernet] <portName>}

no arp <ip_address>

Function:

Configures a static ARP entry; the “no arp <ip_address>” command deletes a ARP entry of the

specified IP address.

Parameters:

<ip_address> is the IP address, at the same field with interface address; <mac_address> is the

MAC address; ethernet stands for Ethernet port; <portName> for the name of layer2 port.

Default:

No static ARP entry is set by default.

Command mode:

VLAN Interface Mode

Usage Guide:

Static ARP entries can be configured in the switch.

Example:

Configuring static ARP for interface VLAN1.

Switch(Config-if-Vlan1)#arp 1.1.1.1 00-03-0f-f0-12-34 interface eth 1/0/2

19.5.2 clear arp-cache

Command:

clear arp-cache

Function:

Clears ARP table.

Command mode:

Admin Mode

Example:

Switch#clear arp-cache

19.5.3 clear arp traffic

Command:

clear arp traffic

Function:

Clear the statistic information of ARP messages of the switch. For box switches, this command will

Advertising
This manual is related to the following products: