Example: Configuring Static ARP Entries on Ethernet Interfaces

 

Requirements

No special configuration beyond device initialization is required before creating an interface.

Overview

In this example, you configure a static ARP entry on the logical unit 0 of the ge-0/0/3 Gigabit Ethernet interface. The entry consists of the interface’s IP address (10.1.1.1/24) and the corresponding MAC address of a node on the same Ethernet subnet (00:ff:85:7f:78:03). The example also configures the device to reply to ARP requests from the node using the publish option.

Configuration

CLI Quick Configuration

To quickly configure this example, copy the following command, paste it into a text file, remove any line breaks, change any details necessary to match your network configuration, copy and paste the command into the CLI at the [edit] hierarchy level, and then enter commit from configuration mode.

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode.

To configure a static ARP entry on an Ethernet interface:

  1. Create the Gigabit Ethernet interface.
  2. Configure a static ARP entry.
  3. Set the IP address of the subnet node and the corresponding MAC address.

Results

From configuration mode, confirm your configuration by entering the show interfaces ge-0/0/3 command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

If you are done configuring the device, enter commit from configuration mode.

Verification

Confirm that the configuration is working properly.

Verifying Static ARP Configurations

Purpose

Verify the IP address and MAC (hardware) address of the node.

Action

From operational mode, enter the show interfaces ge-0/0/3 command.

Verifying the Link State of All Interfaces

Purpose

Verify that all interfaces on the device are operational using the ping tool on each peer address in the network.

Action

For each interface on the device:

  1. In the J-Web interface, select Troubleshoot>Ping Host.
  2. In the Remote Host box, type the address of the interface for which you want to verify the link state.
  3. Click Start. The output appears on a separate page.

If the interface is operational, it generates an ICMP response. If this response is received, the round-trip time in milliseconds is listed in the time field..

Verifying Interface Properties

Purpose

Verify that the interface properties are correct.

Action

From operational mode, enter the show interfaces detail command.

user@host> show interfaces detail

The output shows a summary of interface information. Verify the following information:

  • The physical interface is Enabled. If the interface is shown as Disabled, do one of the following:

    • In the CLI configuration editor, delete the disable statement at the [edit interfaces ge-0/0/3] level of the configuration hierarchy.

    • In the J-Web configuration editor, clear the Disable check box on the Interfaces> ge-0/0/3 page.

  • The physical link is Up. A link state of Down indicates a problem with the interface module, interface port, or physical connection (link-layer errors).

  • The Last Flapped time is an expected value. The Last Flapped time indicates the last time the physical interface became unavailable and then available again. Unexpected flapping indicates likely link-layer errors.

  • The traffic statistics reflect expected input and output rates. Verify that the number of inbound and outbound bytes and packets matches expected throughput for the physical interface. To clear the statistics and see only new changes, use the clear interfaces statistics ge-0/0/3 command.