Import-Route; Ip As-Path-Acl - Huawei Quidway S6500 Series Command Manual

Ethernet switches release 3000 series
Hide thumbs Also See for Quidway S6500 Series:
Table of Contents
Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches
[Quidway-bgp] group test

5.1.29 import-route

Syntax
import-route protocol [ med med-value | route-policy route-policy-name ]*
undo import-route protocol
View
BGP view
Parameter
protocol: Specify source routing protocols which can be imported, which include direct,
ospf, ospf-nssa , ospf-ase, rip, isis and static at present.
med med-value: Specify the MED value loaded by a redistributes route, ranging from 0
to 4294967295.
route-policy
route-policy-name parameter ranges from 1 to 16 character string.
Description
Using import-route command, you can import routes of other protocols. Using undo
import-route command, you can cancel redistributing routes of other protocols.
By default, BGP does not import routes of other protocols.
Example
# Import routes of RIP.
[Quidway-bgp] import-route rip

5.1.30 ip as-path-acl

Syntax
ip as-path-acl acl-number { permit | deny } as-regular-expression
undo ip as-path-acl acl-number
View
System view
Parameter
acl-number: Number of AS path list ranging from 1 to 199.
as-regular-expression: AS regular expression.
route-policy-name:
Specify
Huawei Technologies Proprietary
5-28
Chapter 5 BGP Configuration Commands
a
route-policy.
The
length
of
Table of Contents
loading

Table of Contents