< Home

host-route(RIP)

Function

The host-route command adds host routes into the routing table.

The undo host-route command disables host routes from being added into the routing table.

By default, host routes can be added into the routing table.

Format

host-route

undo host-route

Parameters

None

Views

RIP view

Default Level

2: Configuration level

Usage Guidelines

This command applies to RIP-1. In RIP-2, host routes are added to the routing table, regardless of whether the command is run.

Example

# Add host routes into the routing table.

<sysname> system-view
[sysname] rip 1
[sysname-rip-1] host-route
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >