redistribute
Specifies the route types
redistributed by OSPF
Supported in the following platforms:
- Access Points — AP 7161, AP 7502, AP-7522,
AP 7532, AP 7562, AP 7602, AP 7622, AP-8163, AP-8432, AP-8533
- Wireless Controllers — RFS 4000
Syntax
redistribute [bgp|connected|kernel|static] {metric <0-16777214>|metric-type [1|2]}
Parameters
redistribute [bgp|connected|kernel|static] {metric <0-16777214>|metric-type [1|2]}
bgp |
Redistributes all BGP routes by OSPF |
connected |
Redistributes all connected interface routes by OSPF |
kernel |
Redistributes all routes that are neither connected, nor static, nor
dynamic |
static |
Redistributes static routes by OSPF |
metric <0-16777214> |
The following keywords are common to the ‘bgp‘, ‘connected‘, ‘kernel‘,
and ‘static‘ parameters:
- metric
<0-16777214> – Optional. Specifies the OSPF metric value for
redistributed routes.
- <0-16777214> –
Specify a value from 0 - 16777214.
|
metric-type[1|2] |
The following keywords are common to the ‘connected‘, ‘kernel‘, and
‘static‘ parameters:
- metric-type [1|2] –
Optional. Sets the OSPF exterior metric type for redistributed
routes
- 1 – Sets the
OSPF external type 1 metrics
- 2 – Sets the
OSPF external type 2 metrics
|
Examples
nx9500-6C8809(config-profile default-rfs4000-router-ospf)#redistribute static metric-type 1
nx9500-6C8809(config-profile default-rfs4000-router-ospf)#show context
router ospf
ospf enable
network 1.2.3.0/24 area 4.5.6.7
area 0.0.0.4
auto-cost reference-bandwidth 1
default-information originate metric 1 metric-type 2
redistribute static metric-type 1
passive vlan1
ip default-gateway priority 1
nx9500-6C8809(config-profile default-rfs4000-router-ospf)#