Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches
Chapter 6 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
6-12
Related commands:
if-match interface
,
if-match ip next-hop
,
if-match cost
,
if-match tag
,
route-policy
,
apply ip next-hop
,
apply cost
,
apply local-preference
,
apply origin
,
apply tag
.
Example
# Define an if-match sub-statement. When the sub-statement is used for filtering route
information, the route information filtered by route destination address through address
prefix list p1 can pass the if-match sub-statement.
[Quidway-route-policy] if-match ip-prefix p1
6.1.15 if-match as-path
Syntax
if-match as-path
acl-number
undo if-match as-path
View
Route policy view
Parameter
acl-number
: AS path list number, ranging from 1 to 199.
Description
Use the
if-match as-path
command to match the AS path domain of the BGP routing
information.
Use the
undo if-match as-path
command to cancel the match of AS path domain.
By default, AS path list number is not matched.
This command is an if-match sub-statement of route-policy, used to filter BGP routing
information and specify the match condition according to the AS path attribute of the
routing information.
Example
# First define an as-path numbered 2, allowing it to contain the routing information of
AS 200 and AS 300. Then define a route-policy named “test”. An if-match
sub-statement is defined for Node 10 of this route-policy, which quotes the definition of
as-path.
[Quidway] ip as-path-acl 2 permit 200:300
[Quidway] route-policy test permit node 10
[Quidway-route-policy] if-match as-path 2
Содержание Quidway S8500 Series
Страница 53: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Port Huawei Technologies Proprietary ...
Страница 145: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual VLAN QinQ Huawei Technologies Proprietary ...
Страница 184: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Network Protocol Huawei Technologies Proprietary ...
Страница 276: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Routing Protocol Huawei Technologies Proprietary ...
Страница 493: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Multicast Protocol Huawei Technologies Proprietary ...
Страница 622: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual QoS ACL Huawei Technologies Proprietary ...
Страница 706: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual MPLS Huawei Technologies Proprietary ...
Страница 816: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual STP Huawei Technologies Proprietary ...
Страница 867: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Security Huawei Technologies Proprietary ...
Страница 953: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Reliability Huawei Technologies Proprietary ...
Страница 972: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual System Management Huawei Technologies Proprietary ...
Страница 1180: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual PoE Huawei Technologies Proprietary ...
Страница 1198: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual NAT URPF VPLS Huawei Technologies Proprietary ...
Страница 1238: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Integrated Management Huawei Technologies Proprietary ...
Страница 1300: ...HUAWEI Quidway S8500 Series Routing Switches Command Manual Appendix Huawei Technologies Proprietary ...