HP VPN Firewall Appliances Network Management Command Reference

287
[Sysname-acl-basic-2000] quit
[Sysname] rip 1
[Sysname-rip-1] filter-policy 2000 import
# Use IP prefix list abc on GigabitEthernet 0/1 to filter all inbound RIP routes.
[Sysname-rip-1] filter-policy ip-prefix abc import gigabitethernet 0/1
# Configure ACL 3000 to permit only route 113.0.0.0/16 to pass. Use ACL 3000 to filter inbound routes.
<Sysname> system-view
[Sysname] acl number 3000
[Sysname-acl-adv-3000] rule 10 permit ip source 113.0.0.0 0 destination 255.255.0.0 0
[Sysname-acl-adv-3000] rule 100 deny ip
[Sysname-acl-adv-3000] quit
[Sysname] rip 1
[Sysname-rip-1] filter-policy 3000 import
Related commands
acl (ACL and QoS Command Reference)
ip ip-prefix
host-route
Use host-route to enable host route reception.
Use undo host-route to disable host route reception.
Syntax
host-route
undo host-route
Default
RIP receives host routes.
Views
RIP view
Default command level
2: System level
Usage guidelines
A router might receive many host routes from the same subnet. These routes are not helpful for routing and
occupy many resources. To solve this problem, use the undo host-route command to disable RIP from
receiving host routes.
This command takes effect only for RIPv2.
Examples
# Disable RIP from receiving host routes.
<Sysname> system-view
[Sysname] rip 1
[Sysname-rip-1] undo host-route