< Home

host-route

Function

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

The undo host-route command disables host routes with 32 bits 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.

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