Cabletron Systems EMM-E6 Ethernet Manual De Usuario

Descargar
Página de 205
MIB NAVIGATOR COMMAND SET OVERVIEW
EMM-E6 User’s Guide
13-11
13.3.3
Built-In Commands
The following provides a brief description, the proper format, and an 
example of each Built-In command.
arp
The arp command provides access to the ARP (Address 
Resolution Protocol) cache, enabling you to view cache 
data, delete entries, or add a static route. Superuser 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. The device’s 
media connection occurs in one of the following ways:
1 - Other
2 - Invalid entry (cannot ping device, timed out, etc.)
3 - Dynamic route entry
4 - Static route entry (not subject to change).
Format
arp -a (to view cache data)
arp -d <INTERFACENUM> 
<IPADDRESS> (deletes an IP address 
entry)
arp -s <INTERFACENUM> 
<IPADDRESS> <MACADDR>
 (adds a 
static entry)
Example
   MIBNav>
 arp -a
# Interface   Network Address  Physical Address  Media Type
# (SonicInt) 122.144.40.111     00.00.0e.12.3c.04  3(dynamic)
# (SonicInt) 122.144.48.109
    
00.00.0e.f3.3d.14   3(dynamic)
# (SonicInt) 122.144.52.68       00.00.0e.12.3c.04  3(dynamic)
# (SonicInt) 122.144.21.43       00.00.0e.03.1d.3c
  
3(dynamic)
Example     
MIBNav> 
 arp -d  1  122.144.52.68
Example     
MIBNav> 
 arp 
-
s 1 22
.
44
.
2
.
3 00
:
00
:
0e
:
03
:
1d
:
3c
CH1Book  Page 11  Wednesday, March 20, 1996  7:48 AM