Displaying and maintaining arp, Arp configuration example, Static arp entry configuration example – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 17: Network requirements

Advertising
background image

6

Displaying and maintaining ARP

To do…

Use the command…

Remarks

Display ARP entries in the
ARP table

display arp [ [ all | dynamic | static ] [ slot
slot-number ] | vlan vlan-id | interface interface-type

interface-number ] [ count | verbose ] [ | { begin |

exclude | include } regular-expression ]

Available in any view

Display the ARP entry for
a specified IP address

display arp ip-address [ slot slot-number ] [ verbose ]
[ | { begin | exclude | include } regular-expression ]

Available in any view

Display the age timer for
dynamic ARP entries

display arp timer aging [ | { begin | exclude |
include } regular-expression ]

Available in any view

Clear ARP entries from the
ARP table

reset arp { all | dynamic | static | slot slot-number |
interface interface-type interface-number }

Available in user view

NOTE:

Clearing ARP entries from the ARP table may cause communication failures.

ARP configuration example

Static ARP entry configuration example

Network requirements

As shown in

Figure 3

, hosts are connected to the switch, which is connected to the router through

interface Ethernet 1/1 in VLAN 10. The IP and MAC addresses of the router are 192.168.1.1/24 and

00e0-fc01-0000 respectively.
To prevent malicious users from attacking the switch and enhance security for communications between

the router and switch, configure a static ARP entry for the router on the switch.

Figure 3 Network diagram for configuring static ARP entries

Advertising