beautypg.com

Displaying and maintaining arp – H3C Technologies H3C SecPath F1000-E User Manual

Page 7

background image

6

To do…

Use the command…

Remarks

Enter system view

system-view

Enable the ARP entry check

arp check enable

Optional
By default, ARP entry check is enabled, or

in other words, the device is disabled from

learning multicast MAC addresses.

Enabling the Support for ARP Requests from a Natural Network

This feature enables the device to learn the MAC address from an ARP request whose source IP address

is on the same natural network but a different subnet as the IP address of the inbound interface.
Suppose that the IP address of VLAN-interface 10 is 10.10.10.5/24 and that this interface receives an

ARP packet from 10.11.11.1/8. Because these two IP addresses are not on the same subnet,

VLAN-interface 10 cannot process the packet. With this feature enabled, the device makes a judgment

on natural network basis. Because 10.10.10.5/24 is a Class A address whose default mask length is 8,
it is on the same natural network as 10.11.1/8. Thus VLAN-interface 10 can learn the MAC address

corresponding to the source IP address 10.11.11.1.
Follow these steps to enable the support for ARP requests from a natural network:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable the support for ARP
requests from a natural network

naturemask-arp enable

Required
Disabled by default.

Displaying and Maintaining ARP

To do…

Use the command…

Remarks

Display ARP entries in the ARP
table

display arp [ [ all | dynamic | static ] |
vlan
vlan-id | interface interface-type
interface-number
] [ [ verbose ] [ | { begin
| exclude | include } regular-expression ]
| count ]

Available in any view

Display the ARP entry for a
specified IP address

display arp ip-address [ verbose ] [ |
{ begin | exclude | include }

regular-expression ]

Available in any view

Display the ARP entries for a
specified VPN instance

display arp vpn-instance
vpn-instance-name [ | { begin | exclude |
include
} regular-expression | count ]

Available in any view

Display the aging time for dynamic
ARP entries

display arp timer aging

Available in any view

Clear ARP entries from the ARP
table

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

Available in user view