62
[Sysname] route-policy frr permit node 10
[Sysname-route-policy-frr-10] if-match ip address prefix-list abc
[Sysname-route-policy-frr-10] apply fast-reroute backup-interface vlan-interface 1
backup-nexthop 193.1.1.8
[Sysname-route-policy-frr-10] quit
[Sysname] rip 100
[Sysname-rip-100] fast-reroute route-policy frr
filter-policy export
Use
filter-policy
export
to configure RIP to filter redistributed routes.
Use
undo filter-policy
export
to remove the filtering.
Syntax
filter-policy
{
acl-number
|
prefix-list
prefix-list-name
}
export
[
protocol
[
process-id
] |
interface-type
interface-number
]
undo filter-policy
export
[
protocol
[
process-id
] |
interface-type interface-number
]
Default
RIP does not filter redistributed routes.
Views
RIP view
Predefined user roles
network-admin
Parameters
acl-number
: Specifies an ACL by its number in the range of 2000 to 3999 to filter redistributed routes.
prefix-list
prefix-list-name
: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63
characters, to filter redistributed routes.
protocol
: Filters routes redistributed from the specified routing protocol, which can be
bgp
,
direct
,
isis
,
ospf
,
rip
, or
static
.
process-id
: Specifies the process ID of the specified routing protocol, in the range of 1 to 65535. Specify
a process ID when the routing protocol is
rip
,
ospf
, or
isis
. If no process ID is specified, the default
process ID is 1.
interface-type interface-number
: Specifies an interface by its type and number.
Usage guidelines
If a protocol is specified, RIP filters only routes redistributed from the specified routing protocol. Otherwise,
RIP filters all redistributed routes.
If an interface is specified, RIP filters only routes advertised by the specified interface. Otherwise, RIP
filters routes advertised by all RIP interfaces.
To reference an advanced ACL (with a number from 3000 to 3999) in the command, configure the ACL
using one of the following methods:
•
To deny/permit a route with the specified destination, use the
rule
[
rule-id
] {
deny
|
permit
}
ip
source
sour-addr sour-wildcard
command.