Appendix A
Command Reference
arp
The arp command relates to the ARP cache on the MARS Appliance. You can view the list of mappings,
clear an entry, or add a new mapping.
To display the current entries in the ARP cache, enter:
To display the cached entries for a specific host, enter:
To add a host to the cache, enter one of the following commands:
To delete a host from the cache, enter:
In all places where a hostname is expected, you can alternatively enter an IP address in dotted-decimal
notation.
As a special case for compatibility the order of the hostname and the hardware address can be exchanged.
Each complete entry in the ARP cache is marked with the C flag. Permanent entries are marked with M
and published entries have the P flag.
You cannot add arp entries from a file, as you do not have access to the file system on the MARS
Note
Appliance.
Syntax Description
noneThe default behavior of this command displays the IP address, hardware type, interface name, and
MAC address associated with the network interface in the MARS Appliance.
-vTell the user what is going on by being verbose.
-nDisplay numerical addresses instead of symbolic host, port, or usernames.
-H typeWhen setting or reading the ARP cache, this optional parameter identifies which class of entries
(hardware type) ARP should check for. The default value of this parameter is ether. The list of valid type
values is as follows:
•
•
•
•
•
•
OL-14672-01
arp
arp [-evn] [-H type] [-i if_local] -a [hostname]
arp [-v] [-H type] [-i if_local] -s hostname hw_addr [netmask] pub
arp [-v] [-H type] [-i if_local] -s hostname hw_addr [temp]
arp [-v] [-H type] [-i if_loca] -Ds hostname if_dest [netmask] pub
arp [-v] [-i if_local] -d hostname [pub | nopub]
strip (Metricom Starmode IP)
ash (Ash)
ether (Ethernet)
tr (16/4 Mbps Token Ring)
tr (16/4 Mbps Token Ring [New])
ax25 (AMPR AX.25)
Install and Setup Guide for Cisco Security MARS
arp
A-7