No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - IP Unicast Routing

CloudEngine 12800 and 12800E V200R002C50

This document describes the configurations of IP Unicast Routing, including IP Routing, Static Route, RIP, RIPng, OSPF, OSPFv3, IPv4 IS-IS, IPv6 IS-IS, BGP, Routing Policy, and PBR.

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring the Advertisement of IPv4 ARP Vlink Direct Routes

Configuring the Advertisement of IPv4 ARP Vlink Direct Routes

Applicable Environment

IP packets are forwarded through a specified physical interface, but cannot be forwarded through a VLANIF interface or a VBDIF interface. If packets reach a VLANIF interface or a VBDIF interface, the device obtains information about the Layer 3 interfaces using IPv4 ARP and generates relevant routing entries. The routes recorded by the routing entries are called IPv4 ARP Vlink direct routes.

Before IPv4 ARP Vlink direct routes are advertised, a route-policy can be configured to filter the advertised routes and only routes that match the route-policy can be advertised. In this manner, data traffic can be precisely controlled.

Pre-configuration Tasks

Before advertising IPv4 ARP Vlink direct routes on the public network, complete the following task:

  • Configuring parameters of a link layer protocol and assigning an IP address to each interface to ensure that the link layer protocol on the interfaces is Up

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run arp direct-route enable

    Advertising IPv4 ARP Vlink direct routes is enabled.

    By default, ARP Vlink direct routes are not advertised.

    NOTE:
    • In EVN scenarios, to enable a VLANIF interface to advertise ARP Vlink direct routes, run the arp direct-route enable [ route-policy route-policy-name ] detect virtual-ip command in the VLANIF interface view. The VLANIF interface advertises ARP Vlink direct routes only when the corresponding ARP virtual IP address is obtained by ARP through probing based on learned ARP entries. If route-policy route-policy-name is specified in the command, only the ARP Vlink direct routes that match the route-policy are advertised.

    • In the scenarios that ARP Vlink direct routes have to be advertised to only certain VLAN or BD users, you can run the arp direct-route enable 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 sites in the VLAN or BD is guaranteed.

    • In other scenarios, ARP Vlink direct routes can be advertised as long as the arp direct-route enable command is run.

    After advertising IPv4 ARP Vlink direct routes is enabled, IPv4 ARP Vlink direct routes can be advertised only if they are imported to a dynamic routing protocol. Perform the following steps on the switch based on the type of the dynamic routing protocol:
    • If RIP is used, run the import-route direct [ cost cost | route-policy route-policy-name ] * command to import IPv4 ARP Vlink direct routes to RIP.
    • If OSPF is used, run the import-route direct [ cost cost | route-policy route-policy-name | tag tag | type type ] * command to import IPv4 ARP Vlink direct routes to OSPF.
    • If IS-IS is used, run the import-route direct [ cost-type { external | internal } | cost cost | tag tag | route-policy route-policy-name | [ level-1 | level-2 | level-1-2 ] ] * command to import IPv4 ARP Vlink direct routes to IS-IS.
    • If BGP is used, run the import-route direct [ med med | route-policy route-policy-name ] * command to import IPv4 ARP Vlink direct routes to BGP.

  3. Run commit

    The configuration is committed.

    After advertising IPv4 ARP Vlink direct routes is enabled, IPv4 ARP Vlink direct routes can be advertised only if they are imported to a dynamic routing protocol.

Verifying the Configuration

Run the display ip routing-table verbose command to check information about advertised IPv4 ARP Vlink direct routes.

Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166601

Views: 272324

Downloads: 161

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next