Command Manual – MPLS
Quidway S8500 Series Routing Switches
Chapter 2 BGP/MPLS VPN Configuration Commands
Huawei Technologies Proprietary
2-16
Parameter
None
Description
Use the
if-match mpls-label
command to configure the system to match only the
public network routes that carries an MPLS label.
Use the
undo if-match mpls-label
command to cancel this configuration.
Related command:
apply mpls-label
.
Example
# Define an if-match clause to allow label-carrying routes to pass the filtering of this
clause.
[Quidway-route-policy] if-match mpls-label
2.1.18 if-match vpn-target
Syntax
if-match vpn-target
{
vpn-target
|
begin vpn-target count
}
undo if-match vpn-target
View
route-policy view
Parameter
vpn-target
: Route VPN-target attribute values used for matching, in ASN:nn or
IP-address:nn format.
count
: Number of the route VPN-target values used for matching, in the range of 2 to
65535.
Description
Use the
if-match vpn-target
command to match the route's
vpn-target
attribute. The
match for a route succeeds only when the route's
vpn-target
attribute is a subset of the
configured values, otherwise, if the route has no
vpn-target
attribute or has at least one
attribute value that is not in the configuration range, the match fails. The
if-match
vpn-target
command applicable only to the PE devices on nested VPN network to limit
VPNV4 routes with the VPN-Target attribute from the CE devices.
Use the
undo if-match vpn-target
command to cancel the configuration.
Use the
if-match vpn-target vpn-target
command to list up to 10 vpn-target attribute
values to be matched.