30
Step 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. 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 on 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:
Step 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 ]
By default, RIP does not advertise
a default route.
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
}
By default, a RIP interface can
advertise a default route if the RIP
process is enabled to advertise a
default route.
NOTE:
The router enabled to advertise a default route does not accept default routes from RIP neighbors.
Configuring received/redistributed route filtering
Perform this task to filter received and redistributed routes by using a filtering policy.
To configure route filtering:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter RIP view.
rip
[ process-id ] [
vpn-instance
vpn-instance-name ]
N/A