R21xx-HP FlexFabric 11900 Layer 3 IP Routing Command Reference

38
Examples
# Enable RIP FRR and use routing policy frr to specify a backup next hop.
<Sysname> system-view
[Sysname] bfd echo-source-ip 1.1.1.1
[Sysname] ip prefix-list abc index 10 permit 100.1.1.0 24
[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 outbound 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 outbound 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 outbound routes.
prefix-list prefix-list-name: Specifies an IP prefix list by its name, a string of 1 to 63 characters, to filter
outbound routes.
protocol: Filters outbound routes redistributed from the specified routing protocol, which can be bgp,
direct, isis, ospf, rip, and 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 outbound routes redistributed from the specified routing protocol.
Otherwise, RIP filters all outbound routes.
If an interface is specified, RIP filters only routes advertised by the specified interface. Otherwise, RIP
filters routes advertised by all RIP interfaces.