Import-Route - Huawei quidway s3526 series Getting Started

Hide thumbs Also See for quidway s3526 series:
Table of Contents

Advertisement

Command Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches
Example
# Filter the received routing information according to the rule defined by the access
control list 2000.
[Quidway] acl number 2000
[Quidway-acl-basic-2000] rule permit source 20.0.0.0 0.255.255.255
[Quidway-acl-basic-2000] rule deny source any
[Quidway-ospf] filter-policy 2000 import

3.1.28 import-route

Syntax
import-route protocol [ cost value | type value | tag value | route-policy
route-policy-name ]*
undo import-route protocol
View
OSPF view
Parameter
protocol: Specify the source routing protocol that can be imported. At present, it
includes direct, rip, bgp and static.
cost value: Specify the cost of imported route.
type value: Specify the cost type of imported external routes. The value ranges from 1
to 2. The default value is 2.
tag value: Specify the value of tag for imported external routes.
route-policy route-policy-name: Configure only to import the routes matching the
specified Route-policy.
Description
Using import-route command, you can import the information of another routing
protocol. Using undo import-route command, you can cancel the imported external
routing information.
By default, the routing information of other protocols is not imported.
Note:
You are recommended to configure the route type, cost and tag together in one
command; otherwise, the new configuration overwrites the old one.
Huawei Technologies Proprietary
3-30
Chapter 3 OSPF Configuration Commands

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents