Linksys DES-3028/DES-3028P/DES-3052/DES-3052P 用户手册

下载
页码 250
DES-3028 DES-3028P DES-3052 DES-3052P  Layer 2 Fast Ethernet Switch CLI Reference Manual 
27 
ARP C
OMMANDS
 
The ARP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following 
table. 
Command Parameters 
create arpentry 
<ipaddr> <macaddr> 
config arpentry 
<ipaddr> <macaddr> 
delete arpentry   
{[<ipaddr> | all]} 
show arpentry 
{ipif [System] | ipaddress <ipaddr> | static} 
config arp_aging time  <value 0-65535> 
clear arptable 
 
Each command is listed, in detail, in the following sections. 
create arpentry 
Purpose 
Used to make a static entry into the ARP table. 
Syntax 
create arpentry <ipaddr> <macaddr> 
Description 
This command is used to enter an IP address and the 
corresponding MAC address into the Switch’s ARP table. 
Parameters 
<ipaddr> 
− The IP address of the end node or station. 
<macaddr> 
− The MAC address corresponding to the IP address 
above. 
Restrictions 
Only administrator-level users can issue this command. The Switch 
supports up to 255 static ARP entries. 
Example Usage: 
To create a static arp entry for the IP address 10.48.74.121 and MAC address 00:50:BA:00:07:36: 
DES-3028P:4#create arpentry 10.48.74.121 00-50-BA-00-07-36 
Command: create arpentry 10.48.74.121 00-50-BA-00-07-36 
 
Success. 
 
DES-3028P:4# 
 
config arpentry 
Used to configure a static entry in the ARP table. 
Syntax 
config arpentry <ipaddr> <macaddr> 
Description 
This command is used to configure a static entry in the ARP Table. 
The user may specify the IP address and the corresponding MAC 
address of an entry in the Switch’s ARP table. 
Parameters 
<ipaddr> 
− The IP address of the end node or station. 
<macaddr> 
− The MAC address corresponding to the IP address 
above. 
Restrictions Only 
administrator-level users can issue this command. 
Purpose 
 
176