T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
371
no auto-cost
[
reference-bandwidth
bandwidth
]
Parameter
bandwidth
—— The reference bandwidth, ranging from 1 to 4294967 Mbps. Its
default value is 1000Mbps.
Command Mode
Router Configuration Mode
Example
Enable the auto computing function of the interface cost and configure the
reference bandwidth as 10000 Mbps:
T2700G-28TQ(config)# router ospf
1
T2700G-28TQ(config-router)# auto-cost reference-bandwidth
10000
distance
Description
The
distance
command is used to configure the OSPF administrative distance.
To restore to the default distance, please use the
no distance
command. The
administrative distance represents the priority of the routes. The smaller
administrative distance corresponds to higher priority. When different routing
protocols possess the same route to the same destination, the route with the
highest priority will be selected to add to the IP routing table according to the
administrative distance.
Syntax
distance
administrative-distance
no distance
Parameter
administrative-distance
—— Routing administrative distance, ranging from 0 to
255. Its default value is 110.
Command Mode
Router Configuration Mode
Example
Configure the OSPF routing administrative distance as 100: