RIP 97
By default, the additional routing metric added to the route when RIP sends the
packet is 1. The additional routing metric when RIP receives the packet is 0.
Configuring Route Filtering
The router provides the route filtering function. You can configure the filter policy
rules by specifying the ACL and ip-prefix for route redistribution and distribution.
To import a route, the RIP packet of a specific router can also be received by
designating a neighbor router.
Perform the following configurations in RIP view.
By default, RIP does not filter received and distributed routing information.
Displaying and Debugging RIP
After configuring RIP, execute the display command in all views to display the RIP
configuration, and to verify the effect of the configuration. Execute the
debugging command in user view to debug the RIP module. Execute the reset
command in RIP view to reset the system configuration parameters of RIP.
Disable the additional routing metric of the
route when the interface receives an RIP
packet
undo rip metricin
Set the additional routing metric of the route
when the interface sends an RIP packet
ip metricout value
Disable the additional routing metric of the
route when the interface sends an RIP packet
undo rip metricout
Table 98 Configuring RIP to Filter Routes
Operation Command
Configure filtering the received routing
information distributed by the specified
address
filter-policy gateway
ip-prefix-name import
Cancel filtering the received routing
information distributed by the specified
address
undo filter-policy gateway
ip-prefix-name import
Configure filtering the received global
routing information
filter-policy { acl-number |
ip-prefix ip-prefix-name } import
Cancel filtering the received global routing
information
undo filter-policy { acl-number |
ip-prefix ip-prefix-name } import
Table 99 Displaying and Debugging RIP
Operation Command
Display the current RIP state and configuration
information.
display rip
Enable the RIP debugging information debugging rip packets
Enable the debugging of RIP receiving packet. debugging rip receive
Enable the debugging of RIP sending packet. debugging rip send
Restore the default RIP settings reset
Table 97 Setting Additional Routing Metric
Operation Command