< Home

arp direct-route enable

Function

The arp direct-route enable command enables the ARP module to send ARP Vlink direct routes to the route management (RM) module.

The undo arp direct-route enable command disables the ARP module from sending ARP Vlink direct routes to the RM module.

By default, the ARP module is disabled from sending ARP Vlink direct routes to the RM module.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

arp direct-route enable

undo arp direct-route enable

Parameters

None

Views

VLANIF interface view, GE sub-interface view, XGE sub-interface view, MultiGE sub-interface view, 25GE sub-interface view, 40GE sub-interface view, Eth-Trunk sub-interface view, 100GE sub-interface view, VE sub-interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

ARP Vlink direct routes are 32-bit host routes that are generated based on ARP entries statically configured or dynamically learned.

In most cases, ARP Vlink direct routes are only used to guide local forwarding. To control the scale and maintain the stability of the routing table, the ARP module does not send ARP Vlink direct routes to the RM module.

In some scenarios, however, the device needs to perform operations based on specific routes of users. For example, the device needs to directly send the network traffic to specific user terminals, or route filtering is used to restrict inter-device communication.

In these scenarios, run the arp direct-route enable command to enable the ARP module to send ARP Vlink direct routes to the RM module. This configuration allows the device to select ARP Vlink direct routes based on longest match first to guide traffic forwarding, and accordingly accurately control downstream traffic, which improves the forwarding efficiency.

Follow-up Procedure

If you want the device to advertise ARP Vlink direct routes to upstream devices after you enable the ARP module to send ARP Vlink direct routes to the RM module, perform the following operations in sequence:
  1. Run the arp vlink-direct-route advertise command to configure the device to advertise ARP Vlink direct routes.
  2. Configure the device to import the ARP Vlink direct routes to the routing tables of the routing protocols running on the device for the ARP Vlink direct routes to be advertised.

Precautions

Currently, the ARP module can only send ARP Vlink direct routes of sub-interfaces and VLANIF interfaces to the RM module.

Example

# Enable the ARP module to send ARP Vlink direct routes to the RM module.

<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1.1
[HUAWEI-GigabitEthernet0/0/1.1] arp direct-route enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >