Configuring ARP

NOTE:

 A chassis switch supports a maximum of 12000 ARP entries in the ARP table, including both IPv4 ARP entries and IPv6 neighbor entries. Both of which are saved in the same system resource on the switch. One IPv6 neighbor entry takes up two ARP entries.

Configuring ARP Aging Time

In the default setting, the ARP aging time is 1200 seconds.

admin@XorPlus# set protocols arp aging-time 600
admin@XorPlus# commit 
Waiting for merging configuration.
Commit OK.
Save done.
admin@XorPlus# 

Configuring a Static ARP Entry

PicOS supports configuring static ARP on VLAN interface, routed interface or sub-interface. The following example shows how to configure a static ARP entry on the VLAN interface.

Step1         Configure a VLAN.

admin@XorPlus# set vlans vlan-id 2
admin@XorPlus# set interface gigabit-ethernet ge-1/1/1 family ethernet-switching native-vlan-id 2
admin@XorPlus# set vlans vlan-id 2 l3-interface vlan-2
admin@XorPlus# set l3-interface vlan-interface vlan-2 address 192.168.1.1 prefix-length 24
admin@XorPlus# commit
Waiting for merging configuration.
Commit OK.
Save done.

Step2         Configure a static MAC entry to create a hardware forwarding entry, where the interface is the outbound physical interface.

admin@XorPlus# set interface gigabit-ethernet ge-1/1/1 static-ethernet-switching mac-address 22:22:22:22:22:22 vlan 2
admin@XorPlus# commit 
Waiting for merging configuration.
Commit OK.
Save done.

Step3         Configure a static ARP entry.

admin@XorPlus#set protocols arp interface vlan-2 address 192.168.1.1 mac-address 22:22:22:22:22:22
admin@XorPlus# commit
Waiting for merging configuration.
Commit OK.
Save done.

Copyright © 2024 Pica8 Inc. All Rights Reserved.