Command Manual – MPLS
Quidway S8500 Series Routing Switches
Chapter 2 BGP/MPLS VPN Configuration Commands
Huawei Technologies Proprietary
2-17
Use the
if-match vpn-target begin vpn-target count
command to set the start value
and the total number of the vpn-target values to be matched.
Example
# Define an if-match clause to match the following VPN-target attribute values: 100:1,
200:1, 300:1, 300:2 and 400:3.
[Quidway-route-policy] if-match vpn-target 100:1 200:1 300:1 300:2 400:3
With the above configuration, if a route's attribute value is 100:1 300:1, the route will
pass the matching; if the route's attribute value is 200:1 500:1, it will not pass the
matching because 500:1 is not one of the attribute values that have been configured.
# Define an if-match clause to match ten VPN-target attribute values starting from
100:1, that is, 100:1 to 100:10.
[Quidway-route-policy] if-match vpn-target begin 100:1 10
# Define an if-match clause to match five VPN-target attribute values starting from
1.1.1.1:65533, that is, 1.1.1.1:65533, 1.1.1.1:65534, 1.1.1.1:65535, 1.1.1.2:0, and
1.1.1.2:1.
[Quidway-route-policy] if-match vpn-target begin 1.1.1.1:65533 5
2.1.19 import-route
syntax
import-route
{ {
ospf
|
ospf-ase
|
ospf-nssa
} [
process-id
] |
direct
|
rip
|
static
} [
med
value
|
route-policy
route-policyname
]
undo import-route
{ {
ospf
|
ospf-ase
|
ospf-nssa
} [
process-id
] |
direct
|
rip
|
static
}
View
VPN-instance subaddress family view
Parameter
process-id
: OSPF process ID, ranging from 1 to 65535. By default, it is 1.
ospf
: Imports only the ASE internal route discovered by the OSPF process
process-id
as the external route.
ospf-ase
: Imports only the OSPF-ASE route discovered by OSPF process with
process-id
as the external route.
ospf-nssa
: Imports only the OSPF-NSSA route discovered by OSPF process with
process-id
as the external route.
med value
: Route cost value, ranging from 0 to 4294967295.
route-policyname
: name of Route-policy, consisting of 1 to 19 characters
Содержание 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 ...