2 clear arp-cache, 3 debug arp – PLANET WGSW-50040 User Manual

Page 226

Advertising
background image

specified IP address.

Parameters:

<ip_address> is the IP address, at the same filed 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-30-4f-f0-12-34 eth 1/2

12.3.2 clear arp-cache

Command:

clear arp-cache

Function:

Clears ARP table.

Command mode:

Admin Mode

Usage Guide:

Clears the content of current ARP table, but it does not clear the current static ARP table.

Example:

Switch#clear arp-cache

12.3.3 debug arp

Command:

debug arp {receive|send|state}

no debug arp {receive|send|state}

Function:

Enables the ARP debugging function; the “no debug arp {receive|send|state} command disables

Advertising