1-35
To do…
Use the command…
Remarks
Enter OSPF view
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
instance-name
] *
—
default-route-advertise
[
always
|
cost
cost
|
type
type
|
route-policy
route-policy-name
] *
Redistribute a default route
default-route-advertise
summary cost
cost
Optional
Not redistributed by
default.
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.
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 are used to 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
—
Summary of Contents for S7906E - Switch
Page 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1...
Page 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist...
Page 598: ...ii...
Page 1757: ...4 9...
Page 1770: ...6 4...
Page 2017: ...2 11 Figure 2 3 SFTP client interface...
Page 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002...