Step 3: Configure a Static Address Resolution Protocol Table Entry
Purpose
Configure a static Address Resolution Protocol (ARP) entry to allow a packet to be sent out of a looped Ethernet interface.
NOTE: Remove the static ARP entry at the end of the loop test after you have completed the ping test, checked interface statistics, and monitored interface traffic.
Action
To configure a static ARP table entry for a Gigabit Ethernet interface, follow these steps. You can follow the same procedure to configure a static ARP entry for a Fast Ethernet interface.
- Find the Media Access Control (MAC) address for the Gigabit Ethernet interface:
user@host>show interfaces ge-fpc/pic/port- In configuration mode, go to the following hierarchy level:
[edit]user@host#edit interfacesinterface-nameunitlogical-unit-numberfamily inet addressaddress- Configure the static ARP
entry:user@host#set arpip-addressmacmac-address
NOTE: The MAC address used should be the same as the physical address of the port being tested because this allows the port to receive the frames when you run the ping test.
- Verify the configuration:
user@host#show- Commit the configuration:
user@host#commit- Verify that the static ARP entry is installed:
user@host#run show arp no-resolveSample Output
user@host> show interfaces ge-7/2/1Physical interface: ge-7/2/1, Enabled, Physical link is DownInterface index: 44, SNMP ifIndex: 35Link-level type: Ethernet, MTU: 1514, Source filtering: DisabledSpeed: 100mbps, Loopback: Disabled, Flow control: EnabledDevice flags : Present Running DownInterface flags: Hardware-Down SNMP-TrapsLink flags : NoneCurrent address: 00:90:69:8d:2c:db, Hardware address: 00:90:69:8d:2c:dbInput rate : 0 bps (0 pps), Output rate: 0 bps (0 pps)[edit interfaces ge-7/2/1 unit 0 family inet address 10.108.120.1/30]user@host# set arp 10.108.120.2 mac 00:90:69:8d:2c:db[edit interfaces ge-7/2/1 unit 0 family inet address 10.108.120.1/30]user@host# showarp 10.108.120.2 mac 00:90:69:8d:2c:db;[edit interfaces ge-7/2/1 unit 0 family inet address 10.108.120.1/30]user@host# commitcommit complete[edit interfaces ge-7/2/1 unit 0 family inet address 10.108.120.1/30]user@host# run show arp no-resolveMAC Address Address Interface Flags00:90:69:8d:2c:db 10.108.120.2 ge-7/2/1.0 permanent00:e0:34:bb:8c:40 209.211.135.1 fxp0.0 none00:a0:a5:28:0c:70 209.211.135.8 fxp0.0 none00:a0:a5:12:12:c7 209.211.135.10 fxp0.0 none00:90:ab:3c:68:a0 209.211.135.31 fxp0.0 none08:00:20:a1:53:15 209.211.135.65 fxp0.0 none00:a0:cc:66:3e:85 209.211.135.98 fxp0.0 noneTotal entries: 7What It Means
The sample output is for Steps 1 through 6 and shows that a static ARP entry was configured on Gigabit Ethernet interface
ge-7/2/1. The MAC address used is the same as the physical address of the port being tested because this allows the port to receive the frames when you run the ping test. The port is working as expected if you see that the time to live (TTL) expired; if you do not receive a response to your ping test, it indicates a hardware problem.