F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101

180
Ste
p
Command
Remarks
3. Disable RIP from receiving
host routes.
undo host-route By default, RIP receives host routes.
Advertising a default route
You can advertise a default route on all RIP interfaces in RIP view or a specific RIP interface in interface
view. The interface view setting takes precedence over the RIP view settings.
To disable an interface from advertising a default route, use the rip default-route no-originate command
on the interface.
To configure RIP to advertise a default route:
Ste
p
Command
Remarks
1. Enter system view. system-view N/A
2. Enter RIP view.
rip [ process-id ] [ vpn-instance
vpn-instance-name ]
N/A
3. Enable RIP to advertise a
default route.
default-route { only | originate }
[ cost cost ]
Optional.
Not enabled by default.
4. Return to system view.
quit N/A
5. Enter interface view.
interface interface-type
interface-number
N/A
6. Configure the RIP interface to
advertise a default route.
rip default-route { { only |
originate } [ cost cost ] |
no-originate }
Optional.
By default, a RIP interface can
advertise a default route if the RIP
process is configured with default
route advertisement.
NOTE:
The router enabled to advertise a default route does not receive default routes from RIP neighbors.
Configuring inbound/outbound route filtering
Perform this task to filter inbound and outbound routes by using an ACL or IP prefix list. You can also
configure RIP to receive routes only from a specified neighbor.
To configure route filtering:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter RIP view.
rip [ process-id ] [ vpn-instance
vpn-instance-name ]
N/A