5-27
[Sysname] route-policy frr permit node 10
[Sysname-route-policy] if-match ip-prefix abc
[Sysname-route-policy] apply fast-reroute backup-interface vlan-interface 1 backup-nexthop
193.1.1.8
[Sysname-route-policy] quit
[Sysname] isis 100
[Sysname-isis-100] fast-reroute route-policy frr
filter-policy export (IS-IS view)
Syntax
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name | route-policy
route-policy-name
}
export
[
protocol
[
process-id
] ]
undo
filter-policy
export
[
protocol
[
process-id
] ]
View
IS-IS view
Default Level
2: System level
Parameters
acl-number
: Specifies the number of an ACL that is used to filter redistributed routes, ranging from
2000 to 3999. For ACL configuration information, see
ACL Configuation Commands
in the
ACL and
QoS Command Reference
.
ip-prefix
ip-prefix-name
: Specifies the name of an IP prefix list that is used to filter redistributed routes,
a string of 1 to 19 characters. For IP prefix list configuration information, see
Route Policy Commands
in the
Layer 3 - IP Routing Command Reference
.
route-policy
route-policy-name
: Specifies the name of a route policy that is used to filter redistributed
routes, a string of 1 to 19 characters. For route policy configuration information, see
Route Policy
Commands
in the
Layer 3 - IP Routing Command Reference
.
protocol
: Filters routes redistributed from the routing protocol, which can be BGP, direct, IS-IS, OSPF,
RIP or static.
process-id
: Process ID, in the range of 1 to 65535. It is optional only when the protocol is IS-IS, OSPF
or RIP.
Description
Use the
filter-policy export
command to configure IS-IS to filter redistributed routes.
Use the
undo filter-policy export
command to disable IS-IS from filtering redistributed routes.
IS-IS does not filter redistributed routes by default.
Note that if you want to reference an advanced ACL (with a number from 3000 to 3999) in the
command or in the route policy, the ACL should be configured with the
rule
[
rule-id
] {
deny
|
permit
}
ip source
sour-addr sour-wildcard
command to deny/permit a route with the specified destination, or
with the
rule
[
rule-id
] {
deny
|
permit
}
ip source
sour-addr sour-wildcard
destination
dest-addr
dest-wildcard
command to deny/permit a route with the specified destination and mask. The
source
keyword specifies the destination address of a route while the
destination
keyword specifies the
subnet mask of the route (the subnet mask must be valid; otherwise, the configuration is ineffective).