3Com 4500 26-PORT, 4500 PWR 50-PORT, 4500 PWR 26-PORT manual Host-route Syntax, Import-route Syntax

Models: 4500 26-PORT 4500 PWR 26-PORT 4500 PWR 50-PORT 4500 50-PORT

1 466
Download 466 pages 21.69 Kb
Page 159
Image 159

RIP Configuration Commands 153

Use the filter-policyimport command to configure the switch to filter global routing information.

Use the undo filter-policyimport command to disable filtering of received global routing information.

By default, RIP does not filter the received routing information.

Related commands: acl, filter-policy export, ip ip-prefix.

Example

To configure the filtering of the global routing information using acl 2000, enter the following:

<4500>system-view

System View: return to User View with Ctrl+Z.

[4500]rip

[4500-rip]filter-policy 2000 import

host-route Syntax

host-route

undo host-route

View

RIP view

Parameter

None

Description

Use the host-routecommand to configure RIP to accept host routes. This is the default.

Use the undo host-routecommand to configure RIP to reject host routes.

Example

To configure RIP to reject a host route, enter the following:

<4500>system-view

System View: return to User View with Ctrl+Z.

[4500]rip

[4500-rip]undo host-route

import-route Syntax

import-route protocol [ cost value route-policy route-policy-name

]

undo import-route protocol

View

RIP view

Page 159
Image 159
3Com 4500 26-PORT, 4500 PWR 50-PORT, 4500 PWR 26-PORT, 4500 50-PORT manual Host-route Syntax, Import-route Syntax