beautypg.com

5 arp, 6 arp timeout, Syntax – Planet Technology WGSD-8000 User Manual

Page 234: Default configuration, Command mode, User guidelines, Example

background image

User’s Manual of WGSD-1022/WGSD-8000

- 234 –

5.10.5 arp

The arp global configuration command adds a permanent entry in the Address Resolution Protocol (ARP) cache.

To remove an entry from the ARP cache, use the no form of this command.

Syntax

arp

ip_addr hw_addr {ethernet interface-number | vlan vlan-id | port-channel number | }

no arp

ip_addr hw_addr {ethernet interface-number | vlan vlan-id | port-channel number | }

ƒ

ip_addr — IP address or IP alias to map to the specified MAC address.

ƒ

hw_addr — MAC address to map to the specified IP address or IP alias.

ƒ

ethernet interface-number — Ethernet port number.

ƒ

vlan vlan-id — VLAN number.

ƒ

port-channel number — Port-channel number.

Default Configuration

By default, ARP is disabled.

Command Mode

Global Configuration mode

User Guidelines

The software uses ARP cache entries to translate 32-bit IP addresses into 48-bit hardware addresses. Because most hosts

support dynamic resolution, static ARP cache entries do not need to be specified.

Example

The following example adds the IP address 198.133.219.232 and MAC address 00-00-0c-40-0f-bc to the ARP table.

Console (config)# arp 198.133.219.232 0000.0c40.0fbc ethernet e8

5.10.6 arp timeout

The arp timeout global configuration command configures how long an entry remains in the ARP cache. To restore the default

value, use the no form of this command.

Syntax

arp timeout seconds

no arp timeout seconds

ƒ

seconds — Time (in seconds) that an entry remains in the ARP cache. (Range: 1 - 40000000)

Default Configuration

The default timeout is 60000 seconds.