Configuration Guide Configuring ARP
Interface configuration mode
If the device has learned the dynamic ARP entries and converted the ARP entries into static ARP entries
through Web, disable dynamic ARP learning. Otherwise, enable dynamic ARP learning. After this function is
enabled, users can convert dynamic ARP entries into static ARP entries through Web. Users can also use
the clear arp command to clear ARP entries to deny a user Internet access. If the clear arp command is not
configured, dynamic ARP entries will be cleared when the timeout expires. After the dynamic ARP learning
function is disabled on an interface, the any IP ARP and ARP trustworthiness detection functions will not
work.
Configuration
Example
For the network topology, see Figure 2-1.
Disable dynamic ARP entry learning on port GigabitEthernet 0/0.
Ruijie(config-if-GigabitEthernet 0/0)#no arp-learning enable
Run the show running-config interface command to check whether the configuration takes effect.
Ruijie#sh running-config interface gigabitEthernet 0/0
Building configuration...
Current configuration : 127 bytes
!
interface GigabitEthernet 0/0
duplex auto
speed auto
ip address 30.1.1.1 255.255.255.0
no arp-learning enable
2.5 Monitoring
Clearing
Running the clear commands may lose vital information and thus interrupt services.