beautypg.com

Arp configuration example, Static arp entry configuration example, Network requirements – H3C Technologies H3C S10500 Series Switches User Manual

Page 19: Configuration procedure

background image

8

To do…

Use the command…

Remarks

Display the ARP entries for a
specified VPN instance

display arp vpn-instance vpn-instance-name
[ count ] [ | { 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 (in standalone mode)

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

interface-number }

Available in user view

Clear ARP entries from the ARP
table (in IRF mode)

reset arp { all | dynamic | static | chassis
chassis-number 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 4

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

interface GigabitEthernet 1/0/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 4 Network diagram for configuring static ARP entries

Configuration procedure

Configure the switch