beautypg.com

3 gratuitous arp packet configuration, 1 configuring sending of gratuitous arp packets, 4 displaying and debugging arp – H3C Technologies H3C S3100 Series Switches User Manual

Page 375: 3 gratuitous arp packet configuration -8, 4 displaying and debugging arp -8

background image

Operation Manual – ARP

H3C S3100-52P Ethernet Switch

Chapter 1 ARP Configuration

1-8

1.3 Gratuitous ARP Packet Configuration

1.3.1 Configuring Sending of Gratuitous ARP Packets

Sending of gratuitous ARP packets is enabled as long as an S3100-52P switch
operates. And no command is needed for this function.

1.3.2 Configuring the Gratuitous ARP packet Learning Function

Table 1-8 lists the operations to configure the gratuitous ARP packet learning function.

Table 1-8

Configure the gratuitous ARP packet learning function

Operation

Command

Description

Enter system view

system-view

Enable the gratuitous

ARP packet learning

function

gratuitous-arp-learning
enable

Required
By default, the gratuitous

ARP packet learning

function is enabled.

1.4 Displaying and Debugging ARP

After the above configuration, you can execute the display command in any view to
display the running of the ARP configuration, and to verify the effect of the
configuration.
You can execute the reset command in user view to clear ARP mapping entries.

Table 1-9

Display and debug ARP

Operation

Command

Description

Display specific ARP

mapping table entries

display arp

[ static | dynamic |

ip-address

]

Display the ARP mapping

entries related to a

specified string in a

specified way

display arp

[ dynamic | static |

ip-address

] | { begin | include |

exclude

} text

Display the number of the

ARP mapping entries of a

specified type

display arp count

[ [ dynamic |

static

] [ | { begin | include |

exclude

} text ] | ip-address ]

Display the setting of the

ARP aging timer

display arp timer aging

These commands

can be executed

in any view.

Clear specific ARP

mapping entries

reset

arp [ dynamic | static |

interface

interface-type

interface-number

]

Execute this

command in user

view.