Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches
Chapter 5 BGP Configuration Commands
Huawei Technologies Proprietary
5-28
[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
: Specify a route-policy.
The length of
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.