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 Routing 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 Configuration Guide - IP Routing
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 on the Public Network

Configuring the Advertisement of IPv4 ARP Vlink Direct Routes on the Public Network

Advertising IPv4 Address Resolution Protocol (ARP) Vlink direct routes on the public network allows precise control of data traffic.

Usage Scenario

IP packets are forwarded through a specified physical interface, but cannot be forwarded through a logical interface. If packets reach a logical 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.

As shown in Figure 2-7, Device D uses logical interfaces to connect to Devices A, B, and C at three sites. Device E only needs to communicate with Device B, but not with Device A or Device C. You can configure Device D to advertise IPv4 ARP Vlink direct routes and configure a route-policy on Device D to filter out routes to the network segment of the VLAN for which the logical interfaces are configured and filter out routes to Device A and Device C.

Figure 2-7 Networking diagram of advertising IPv4 ARP Vlink direct routes on the public network

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.

Perform the following steps on the NE on which IPv4 ARP Vlink direct routes need to be advertised.

Pre-configuration Tasks

Before advertising IPv4 ARP Vlink direct routes on the public network, configure parameters of a link layer protocol and assign 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 vlink-direct-route advertise [ route-policy route-policy-name | route-filter route-filter-name ]

    Advertising IPv4 ARP Vlink direct routes is enabled.

    By default, IPv4 ARP Vlink direct routes cannot be advertised.

    If IPv4 ARP Vlink direct routes have to be advertised, you can specify the parameter route-policy route-policy-name or route-filter route-filter-name in the arp vlink-direct-route advertise command to filter the advertised IPv4 ARP Vlink direct routes.
    NOTE:

    At present, apply clauses cannot be used to set routing attributes for the ARP Vlink direct routes that match the filtering rules.

    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 NE 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. (Optional) Run the interface interface-type interface-number command to enter the interface view
  4. (Optional) Run arp vlink-direct-route preference preference-value

    A priority is configured for ARP Vlink direct routes.

  5. Run commit

    The configuration is committed.

Checking the Configurations

Run the display ip routing-table ip-address [ mask | mask-length ] [ longer-match ] [ verbose ] command to check information about advertised IPv4 ARP Vlink direct routes on the public network.

# Run the display ip routing-table ip-address mask-length verbose command to view detailed information about the IPv4 ARP Vlink direct route 10.1.1.4/32.

<HUAWEI> display ip routing-table 10.1.1.4 32 verbose
Route Flags: R - relay, D - download
to fib, T - to vpn-instance, B - black hole route
------------------------------------------------------------------------------
Routing Table : _Public_
Summary Count : 1

Destination: 10.1.1.4/32
     Protocol: Direct          Process ID: 0
   Preference: 0                     Cost: 0
      NextHop: 10.1.1.4         Neighbour: 0.0.0.0
        State: Active Adv           Age: 03h43m20s
          Tag: 0                 Priority: high
        Label: NULL               QoSInfo: 0x0
   IndirectID: 0x0
 RelayNextHop: 0.0.0.0          Interface: Vbdif10
     TunnelID: 0x0                  Flags:  D

The command output shows that the route status is Active Adv, indicating that the route is active and can be advertised.

Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058916

Views: 35006

Downloads: 51

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next