Command Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches Chapter 4 BGP Configuration Commands
Huawei Technologies Proprietary
4-27
Example
# Create a BGP group named test.
[Quidway-bgp] group test
4.1.28 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 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: Specify a route-policy.
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
4.1.29 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.