Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
arp vlink-direct-route advertise
[
route-policy
route-policy-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
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 routes that match the filtering rules.
----End
Follow-up Procedure
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 router based on the type of the dynamic routing protocol:
l
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.
l
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.
l
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.
l
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.
1.15.3 Checking the Configurations
After the advertisement of IPv4 ARP Vlink direct routes has been configured successfully, view
information about advertised IPv4 ARP Vlink direct routes on the public network.
Prerequisites
The advertisement of IPv4 ARP Vlink direct routes on the public network has been configured.
Procedure
l
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.
----End
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
1 IP Routing Basic Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
48