SROS Command Line Interface Reference Guide
Router (OSPF) Configuration Command Set
5991-2114
© Copyright 2007 Hewlett-Packard Development Company, L.P.
1371
redistribute [rip | static] [metric
<value>
| metric-type
<type>
| subnets]
Use the
redistribute
command to advertise routes from one protocol to another, regardless of the routing
protocol implemented on the routing domain. Using the
rip
keyword allows the propagation of RIP routes
into OSPF. Using the
static
keyword allows the advertisement of static routes into the OSPF routing
protocol. This will advertise all static routes on OSPF-enabled interfaces. It does not enable OSPF on all
interfaces. Use the
no
form of this command to disable the propagation of the specified route type.
Syntax Description
rip
Specifies advertising RIP routes using OSPF.
static
Specifies advertising static routes using OSPF.
metric
<value>
Optional. Specifies a metric value to be carried from one OSPF process to the
next (if no other value is specified).
metric-type
<type>
Optional. Specifies a type 1 or type 2 external route as the external link type. If not
specified, the default is 2.
subnets
Optional. Specifies subnet redistribution when redistributing routes into OSPF.
Default Values
By default, this command is disabled.
Functional Notes
Redistributing routes imports routes (routes learned through RIP or static routes) into OSPF without the
interfaces in question actually participating in OSPF. RIP and static routes imported this way are not
covered by a network command and therefore do not send/receive OSPF traffic.
Usage Examples
The following example imports RIP routes into OSPF:
ProCurve(config)#
router ospf
ProCurve(config-ospf)#
redistribute rip
The following example imports static routes into OSPF:
ProCurve(config)#
router ospf
ProCurve(config-ospf)#
redistribute static
Содержание ProCurve Secure 7102dl
Страница 2: ......
Страница 3: ...SROS Command Line Interface Reference Guide Software Version J 08 03 September 2007 61195880L1 35H ...
Страница 1454: ......