3-12
Default Level
2: System level
Parameters
protocol
: Specifies a routing protocol from which to redistribute routes. At present, it can be
direct
,
rip
,
or
static
.
process-id
: Process ID, in the range of 1 to 65535. The default is 1. It is available only when the
protocol is
rip
.
all-processes
: Enables route redistribution from all the processes of a protocol. This keyword takes
effect only when the protocol is
rip
.
cost
: Cost for redistributed routes, in the range of 0 to 16. If
cost
is not specified, the default cost
specified by the
default cost
command applies.
tag
: Tag marking redistributed routes, in the range of 0 to 65,535. The default is 0.
route-policy
route-policy-name
: Specifies a routing policy with 1 to 19 characters.
Description
Use the
import-route
command to enable route redistribution from another routing protocol.
Use the
undo import-route
command to disable route redistribution.
By default, RIP does not redistribute routes from other routing protocols.
Note that:
z
Only active routes can be redistributed. You can use the
display ip routing-table
protocol
command to display route state information.
z
You can specify a routing policy using the keyword
route-policy
to redistribute only the specified
routes.
z
You can configure a cost for redistributed routes using the keyword
cost
.
z
You can configure a tag value for redistributed routes using the keyword
tag
.
Related commands:
default cost
.
Examples
# Redistribute static routes, and set the cost to 4.
<Sysname> system-view
[Sysname] rip 1
[Sysname-rip-1] import-route static cost 4
# Configure the default cost for redistributed routes to 3.
[Sysname-rip-1] default cost 3
network
Syntax
network network-address
undo
network network-address
View
RIP view
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...