arp l2-proxy timeout (Bridge domain view)

Function

The arp l2-proxy timeout command sets the aging time of Address Resolution Protocol (ARP) snooping entries.

The undo arp l2-proxy timeout command restores the default aging time of ARP snooping binding entries.

By default, the aging time of ARP snooping binding entries is 900s.

Format

arp l2-proxy timeout expire-time

undo arp l2-proxy timeout [ expire-time ]

Parameters

Parameter Description Value
expire-time

Specifies the aging time of ARP snooping binding entries.

The value is an integer ranging from 1 to 62640, in seconds.

Views

Bridge domain view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
arp write

Usage Guidelines

Usage Scenario

Each ARP snooping binding entry has a life cycle, called aging time. If an ARP snooping binding entry is not updated before its aging time expires, the entry will be deleted.

If the device stores a large number of ARP snooping binding entries, the CPU resources are wasted, and ARP snooping binding entries for new users cannot be generated. To resolve this problem, run the arp l2-proxy timeout command to set the aging time of ARP snooping binding entries.

Prerequisites

Layer 2 proxy ARP has been enabled using the arp l2-proxy enable command.

Precautions

Set the aging time for ARP snooping binding entries based on the networking requirement.

  • If the aging time of ARP snooping binding entries is too short, the device refreshes ARP snooping binding entries frequently, wasting CPU resources and affecting other services.
  • If the aging time of ARP snooping binding entries is too long, the device cannot refresh ARP snooping binding entries promptly and sends packets to the peer device based on the existing ARP snooping binding entries. As a result, services will be interrupted.

    Using the default aging time of ARP snooping binding entries is recommended.

Example

# Set the aging time of BD-based ARP snooping binding entries to 700s.
<HUAWEI> system-view
[~HUAWEI] bridge-domain 10
[*HUAWEI-bd10] arp l2-proxy enable
[*HUAWEI-bd10] arp l2-proxy timeout 700
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >