HPE 5800 Series Configuration Manual page 81

Layer 3 - ip routing
Hide thumbs Also See for 5800 Series:
Table of Contents

Advertisement

Step
Configure OSPF to
3.
redistribute routes from a
different protocol.
Configure OSPF to filter
4.
redistributed routes
before advertisement.
Configuring OSPF to redistribute a default route
The import-route command cannot redistribute a default external route. Perform this task to
redistribute a default external route.
To configure OSPF to redistribute a default external route:
Step
Enter system view.
1.
Enter OSPF view.
2.
Redistribute a default
3.
route.
Configuring the default parameters for redistributed routes
Perform this task to configure default parameters cost, tag, and type for redistributed routes. Tags
indicate information related to protocols. For example, when redistributing BGP routes, OSPF uses
tags to identify AS IDs.
To configure the default parameters for redistributed routes:
Step
Enter system view.
1.
Enter OSPF view.
2.
Command
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 ] ]
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 ]
Command
system-view
ospf [ process-id | router-id router-id |
vpn-instance vpn-instance-name ] *
70
Remarks
By default, OSPF does
not redistribute routes.
Optional.
By default, OSPF does
not filter redistributed
routes before
advertisement.
Remarks
N/A
N/A
Not redistributed by
default.
The
default-route-advertise
summary cost command
is applicable only to
VPNs. The PE router
advertises the default
route in a Type-3 LSA to
the CE router.
Remarks
N/A
N/A

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents