< Home

arp vlink-direct-route advertise

Function

The arp vlink-direct-route advertise command configures the advertisement of IPv4 ARP Vlink direct routes.

The undo arp vlink-direct-route advertise command cancels advertising IPv4 ARP Vlink direct routes.

By default, a device does not advertise IPv4 ARP Vlink direct routes.

Product

Support

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

Supported

S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI

Not supported

Format

arp vlink-direct-route advertise [ route-policy route-policy-name ]

undo arp vlink-direct-route advertise

Parameters

Parameter Description Value
route-policy route-policy-name Specifies the name of the route-policy used to filter IPv4 ARP Vlink direct routes. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

System view, VPN instance view, VPN instance IPv4 address family view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Generally, IPv4 ARP Vlink direct routes are only used to guide local traffic forwarding. To control the routing table size and maintain routing table stability, devices are prohibited from importing these direct routes into dynamic routing protocols for advertisement. In some situations, however, devices need to perform operations based on specific routes. For example, a device needs to direct remote traffic for different users using different export policies. Subsequently, the device needs to import IPv4 ARP Vlink direct routes into dynamic routing protocols and advertises them to the remote end.

If you only need to visit several users, you can specify the route-policy route-policy-name parameter to filter IPv4 ARP Vlink direct routes to be advertised. This operation can control the routing table size and implement precise control over data traffic.

Configuration Impact

After you specify the route-policy route-policy-name parameter to filter the IPv4 ARP Vlink direct routes to be advertised, only the routes that match the specified route-policy are advertised.

Follow-up Procedure

IPv4 ARP Vlink direct routes need to be imported into the routing tables of dynamic routing protocols on the device running dynamic routing protocols before being advertised by dynamic routing protocols.

Precautions

You need to run the route-policy command to configure a route-policy. If the specified route-policy does not exist, IPv4 ARP Vlink direct routes cannot be filtered.

Example

# Configure the advertisement of IPv4 ARP Vlink direct routes and configure a route-policy policy1 to allow route 10.1.1.4/32 to be advertised.

<HUAWEI> system-view
[HUAWEI] ip ip-prefix prefix1 permit 10.1.1.4 32
[HUAWEI] route-policy policy1 permit node 10
[HUAWEI-route-policy] if-match ip-prefix prefix1
[HUAWEI-route-policy] quit
[HUAWEI] arp vlink-direct-route advertise route-policy policy1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >