R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101
292
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 will advertise the default route to the CE router.
3. Configure the default parameters for redistributed routes
You can configure default parameters such as the cost, upper limit, 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.
Follow these steps to configure the default parameters for redistributed routes:
To do… Use the command…
Remarks
Enter system view system-view
—
Enter OSPF view
ospf [ process-id | router-id router-id |
vpn-instance instance-name ] *
—
Configure the default
parameters for
redistributed routes
(cost, route number,
tag and type)
default { cost cost | limit limit | tag tag | type
type } *
Optional
By default, the default cost is 1,
default upper limit of routes
redistributed per time is 1000,
default tag is 1 and default type of
redistributed routes is Type-2.
Advertising a host route
Follow these steps to advertise a host route:
To do… Use the command…
Remarks
Enter system view system-view
—
Enter OSPF view
ospf [ process-id | router-id router-id |
vpn-instance instance-name ] *
—
Enter area view
area area-id
—
Advertise a host route host-advertise ip-address cost
Optional
Not advertised by default.
Tuning and optimizing OSPF networks
You can optimize your OSPF network in the following ways:
• Change OSPF packet timers to adjust the OSPF network convergence speed and network load. On
low speed links, you need to consider the delay time for sending LSAs on interfaces.
• Change the interval for SPF calculation to reduce resource consumption caused by frequent network
changes.
• Configure OSPF authentication to improve security.
• Configure OSPF network management functions, such as sending trap information and collecting
log information.
Prerequisites
Before configuring OSPF network optimization, you have configured:
• IP addresses for interfaces;