beautypg.com

2 built-in commands, Built-in commands -4 – Enterasys Networks 2200 User Manual

Page 240

background image

Built-in Commands

11-4

Network Tools Screens

11.2 BUILT-IN COMMANDS

The built-in commands listed in this section activate functions on the LM managed device or
devices being accessed through Network Tools.

arp

Description:

Provides access to the ARP (Address Resolution Protocol) cache, enabling
you to view cache data, delete entries, or add a static route. Super-user access
is required to delete an entry or add a static route.

Each ARP cache entry lists the network interface that the device is connected
to, the device’s network address or IP address, the device’s physical address
or MAC address, and the media type of connection to the device. Media types
display as numbers, which stand for the following states:

1 – Other

2 – Invalid entry (cannot ping device, timed out, etc.)

3 – Dynamic route entry

4 – Static route entry (not subject to change)

You must specify the arp command with one of the Options specified in this
table.

Syntax:

arp

Options:

-a –Views cache data

-d – Deletes an IP address entry. Requires additional arguments: [Interface

Number] [IP address]

-s – Adds a static entry. Requires additional arguments: [Interface Number] [IP

address] [MAC address]

-f – Flushes the ARP cache