R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference

41
Usage guidelines
RIP FRR is only effective for non-recursive RIP routes that are learned from directly connected neighbors.
Do not use RIP FRR and BFD for RIP at the same time; otherwise, RIP FRR might fail to take effect.
Examples
# Enable RIP FRR and reference routing policy frr to specify a backup next hop.
<Sysname> system-view
[Sysname] bfd echo-source-ip 1.1.1.1
[Sysname] ip ip-prefix abc index 10 permit 100.1.1.0 24
[Sysname] route-policy frr permit node 10
[Sysname-route-policy] if-match ip-prefix abc
[Sysname-route-policy] apply fast-reroute backup-interface gigabitethernet 2/1/1
backup-nexthop 193.1.1.8
[Sysname-route-policy] quit
[Sysname] rip 100
[Sysname-rip-100] fast-reroute route-policy frr
filter-policy export (RIP view)
Use filter-policy export to configure RIP to filter redistributed routes. Only routes not filtered out can be
advertised.
Use undo filter-policy export to remove the filtering.
Syntax
filter-policy { acl-number | ip-prefix ip-prefix-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
Default command level
2: System level
Parameters
acl-number: Specifies an ACL by its number in the range of 2000 to 3999 to filter redistributed routes.
ip-prefix ip-prefix-name: Specifies an IP prefix list by its name, a string of 1 to 19 characters, to filter
redistributed routes.
protocol: Filters routes redistributed from a 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.
interface-type interface-number: Specifies an interface by its type and number.