Cisco Cisco Packet Data Interworking Function (PDIF)
OSPF VRF Configuration Mode Commands
redistribute ▀
Command Line Interface Reference, StarOS Release 16 ▄
7377
redistribute
Redistributes routes from other protocols to OSPF neighbors using the OSPF protocol.
Product
PDSN
HA
GGSN
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > OSPF Configuration > OSPF VRF Configuration
configure > context context_name > router ospf > ip vrf vrf_name
Entering the above command sequence results in the following prompt:
[local]host_name(config-ospf-vrf)#
Syntax
redistribute { connected | rip | static } [ metric metric_value ] [ metric-type { 1 | 2 }
] [ route-map route_map_name ]
] [ route-map route_map_name ]
no redistribute { connected | rip | static }
no
Disables the redistributed routes.
connected
Redistributes connected routes.
rip
Specifies that RIP routes will be redistributed. (RIP is not supported at this time.)
static
Redistributes static routes.
metric
metric_value
Sets the OSPF metric used in the redistributed route. This must be an integer from 1 through 16777214.
metric-type
{
1
|
2
}
Default: 2
Sets route metric type that is applied to redistributed routes.
1: Sets the OSPF external link type for routes to Type 1.
2: Sets the OSPF external link type for routes to Type 2.
Sets route metric type that is applied to redistributed routes.
1: Sets the OSPF external link type for routes to Type 1.
2: Sets the OSPF external link type for routes to Type 2.