Configuring ARP
NOTEs:
Enable the IP routing function before using this feature. For details about the IP routing function, refer to Configuring IP Routing.
A chassis switch supports a maximum of 12000 ARP entries in the ARP table, including IPv4 ARP entries and IPv6 neighbor entries. All entries are saved in the same system resource on the switch. One IPv6 neighbor entry occupies two ARP entries.
Configuring the 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
Commit OK.
Save done.
admin@XorPlus# Configuring a Static ARP Entry
PicOS supports configuring a static ARP on a VLAN interface, a routed interface, or a 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
Commit OK.
Save done.Step2 Configure a static MAC entry on an interface to create a hardware forwarding entry. The interface is an 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
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
Commit OK.
Save done.Step4 Enable the IP routing to perform the Layer 3 forwarding.
admin@XorPlus# set ip routing enable true
admin@XorPlus# commit
Commit OK.
Save done.