EasyManua.ls Logo

Ruijie RG-S29 Series

Ruijie RG-S29 Series
1510 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Command Reference ARP Commands
2 ARP Commands
2.1 arp
Use this command to add a permanent IP address and MAC address mapping to the ARP cache
table. Use the no form of this command to restore the default setting.
arp ip-address MAC-address type [ alias ]
no arp ip-address MAC-address type [ alias ]
Parameter
Description
Parameter
Description
ip-address
The IP address that corresponds to the MAC address. It includes four parts
of numeric values in decimal format separated by dots.
MAC-address
48-bit data link layer address
type
ARP encapsulation type. The keyword is arpa for the Ethernet interface.
Defaults
There is no static mapping record in the ARP cache table by default.
Command
Mode
Global configuration mode.
Usage Guide
RGOS finds the 48-bit MAC address according to the 32-bit IP address using the ARP cache table.
Since most hosts support dynamic ARP resolution, usually static ARP mapping is not necessary.
The clear arp-cache command can be used to delete the ARP mapping that is learned
dynamically.
Configuration
Examples
The following example sets an ARP static mapping record for a host in the Ethernet.
Ruijie(config)# arp 1.1.1.1 4e54.3800.0002 arpa
Related
Commands
Command
Description
clear arp-cache
Clears the ARP cache table
Platform
Description
N/A
2.2 arp anti-ip-attack
For the messages corresponds to the directly-connected route, if the switch does not learn the
ARP that corresponds to the destination IP address, it is not able to forward the message in
hardware, and it needs to send the message to the CPU to resolve the address(that is the ARP
learning). Sending large number of this message to the CPU will influence the other tasks of
the switch. To prevent the IP messages from attacking the CPU, a discarded entry is set to the

Table of Contents

Related product manuals