T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
370
use the
no default-information originate
command with corresponding
parameters.
Syntax
default-information originate
[
always
] [
metric
cost
] [
metric-type
type
]
no default-information originate
[
always
] [
metric
cost
]
[
metric-type
type
]
Parameter
always
—— OSPF will advertise the default route whether there is default route
is the IP routing table or not. If the parameter is not configured, OSPF will
advertise the default route only when there is default route in the IP routing
table.
cost
——The default cost of the default route, ranging form 1 to 16777214. Its
default value is 1.
type
—— The type of the external routes, either 1 or 2. The default value is 2.
Command Mode
Router Configuration Mode
Example
Configure OSPF to advertise the default route whether there is default route is
the IP routing table or not:
T2700G-28TQ(config)# router ospf
1
T2700G-28TQ(config-router)# default-information originate always
auto-cost
Description
The
auto-cost
command is used to enable the auto computing function of the
interface cost and configure the reference bandwidth. The interface cost is the
ratio of the reference bandwidth to the interface bandwidth. To restore the
reference bandwidth to default value, please use the
no auto-cost
reference-bandwidth
command. To disable the auto computing function of the
interface cost, please use the
no auto-cost
command without parameters.
Syntax
auto-cost
[
reference-bandwidth
bandwidth
]