< Home

arp vlink-direct-route advertise (VPN instance view)

Function

The arp vlink-direct-route advertise command advertises ARP Vlink direct routes in a VPN.

The undo arp vlink-direct-route advertise command restores the default setting.

By default, ARP Vlink direct routes are not advertised in a VPN.

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 a routing policy that is used to filter ARP Vlink direct routes in a VPN. The name must be unique, which is a string of 1 to 40 case-sensitive characters.

Views

VPN instance view or VPN instance IPv4 address family view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

IP packets are forwarded based on a specified physical interface, but cannot be forwarded based on a VLANIF interface because a VLANIF interface is a logical interface with several physical interfaces as its member interfaces. If a packet reaches a VLANIF interface, the device needs to obtain information about the physical interfaces using ARP and generates relevant routing entries with physical interfaces specified. The routes recorded by the routing entries are called ARP Vlink direct routes.

In a VPN, a local Provider Edge (PE) connects to multiple Customer Edges (CEs) using VLANIF interfaces. Based on ARP, the local PE learns IP addresses of these CEs and generates ARP Vlink direct routes. In most cases, ARP Vlink direct routes are used only to guide local traffic forwarding and are not advertised. In this manner, the scale and stability of the routing table can be controlled.

If ARP Vlink direct routes to a few CEs have to be advertised, you can configure the arp vlink-direct-route advertise command, with the parameter route-policy route-policy-name specified. This configuration ensures that only filtered ARP Vlink direct routes are advertised, the scale of the routing table is controlled, and the security of other CEs in the VLAN is guaranteed.

Configuration Impact

After the parameter route-policy route-policy-name is specified in the arp vlink-direct-route advertise command, only filtered ARP Vlink direct routes are advertised.

Follow-up Procedure

Advertised ARP Vlink direct routes also need to be imported to the routing table of each dynamic routing protocol on the router. In this manner, the ARP Vlink direct routes can be advertised by each dynamic routing protocol module.

Precautions

The parameter route-policy route-policy-name must be specified in the arp vlink-direct-route advertise command. If the parameter is not specified, ARP Vlink direct routes cannot be filtered.

Example

# Advertise ARP Vlink direct routes which are filtered by the routing policy named rp1 in the VPN instance named vpna.

<sysname> system-view
[sysname] ip vpn-instance vpna
[sysname-vpn-instance-vpna] arp vlink-direct-route advertise route-policy rp1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >