arp (Interfaces)
Syntax arp ip-address (mac | multicast-mac) mac-address publish;
Hierarchy Level [edit interfaces interface-name unit logical-unit-numberfamily inetaddress address],
[edit logical-systems logical-system-name interfaces interface-nameunit logical-unit-number
family inetaddress address]
Release Information Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Statement introduced in Junos OS Release 11.1 for the QFX Series.
Description For Ethernet, Fast Ethernet, and Gigabit Ethernet interfaces only, configure Address
Resolution Protocol (ARP) table entries, mapping IP addresses to MAC addresses.
Options ip-address—IP address to map to the MAC address. The IP address specified must be
part of the subnet defined in the enclosing address statement.
mac mac-address—MAC address to map to the IP address. Specify the MAC address as
six hexadecimal bytes in one of the following formats: nnnn.nnnn.nnnn or
nn:nn:nn:nn:nn:nn. For example, 0011.2233.4455 or 00:11:22:33:44:55.
multicast-mac mac-address—Multicast MAC address to map to the IP address. Specify
the multicast MAC address as six hexadecimal bytes in one of the following formats:
nnnn.nnnn.nnnn or nn:nn:nn:nn:nn:nn. For example, 0011.2233.4455 or 00:11:22:33:44:55.
publish—(Optional) Have the router or switch reply to ARP requests for the specified IP
address. If you omit this option, the router or switch uses the entry to reach the
destination but does not reply to ARP requests.
NOTE: The edit logical-systems hierarchy is not available on QFabric systems.
Required Privilege
Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Related
Documentation
• Configuring Static ARP Table Entries on page 79
• Configuring Static ARP Entries
Copyright © 2015, Juniper Networks, Inc.160
Network Interfaces for EX4300 Switches