Configuring Ospf Route Redistribution - HP 3600 v2 series Configuration Manual

Hide thumbs Also See for 3600 v2 series:
Table of Contents

Advertisement

Configuring OSPF route redistribution

Configure route redistribution into OSPF
On a router running OSPF and other routing protocols, you can configure OSPF to redistribute routes
from other protocols such as RIP, IS-IS, BGP, static, and direct routes, and advertise them in Type-5 LSAs
or Type-7 LSAs.
By filtering redistributed routes, OSPF translates only permitted routes into Type-5 LSAs or Type-7 LSAs for
advertisement.
Follow these steps to configure OSPF route redistribution:
To do...
Enter system view
Enter OSPF view
Configure OSPF to redistribute
routes from another protocol
Configure OSPF to filter
redistributed routes before
advertisement
NOTE:
Only active routes can be redistributed. Use the display ip routing-table protocol command to view route
state information.
Configure OSPF to redistribute a default route
Using the import-route command cannot redistribute a default external route. To do so, you must use the
default-route-advertise command.
Follow these steps to configure OSPF to redistribute a default external route:
To do...
Enter system view
Enter OSPF view
Redistribute a default route
NOTE:
The default-route-advertise summary cost command is applicable only to VPN, and the default route is
redistributed in a Type-3 LSA. The PE router advertises the default route to the CE router.
Use the command...
system-view
ospf [ process-id | router-id router-id |
vpn-instance vpn-instance-name ] *
import-route protocol [ process-id |
all-processes | allow-ibgp ] [ cost cost | type
type | tag tag | route-policy
route-policy-name ] *
filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ protocol
[ process-id ] ]
Use the command...
system-view
ospf [ process-id | router-id router-id |
vpn-instance vpn-instance-name ] *
default-route-advertise [ [ [ always |
permit-calculate-other ] | cost cost |
route-policy route-policy-name | type type ] * |
summary cost cost ]
84
Remarks
Required
Not configured by default.
Optional
Not configured by default.
Remarks
Required
Not redistributed by
default.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents