EasyManuals Logo

Ruijie RG-S29 Series User Manual

Ruijie RG-S29 Series
1510 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #719 background imageLoading...
Page #719 background image
Command Reference OSPFv2 Commands
2.25 ip ospf cost
Use this command to configure the cost (OSPF metric) of the OSPF interface for sending a packet in
interface configuration mode. Use the no form of this command to restore the default setting.
ip ospf cost cost
no ip ospf cost
Parameter
Description
Parameter
Description
cost
OSPF interface cost in the range from 0 to 65535
Defaults
The default interface cost is calculated as follows:
Reference bandwidth/Bandwidth
The reference bandwidth is 100 Mbps by default.
Command
Mode
Interface configuration mode
Usage Guide
By default, the OSPF interface cost is 100Mbps/Bandwidth, where Bandwidth is the interface
bandwidth configured with the bandwidth command in interface configuration mode.
The default costs of different types of lines are as follows:
 64K serial line: 1562
 E1 line: 48
 10M Ethernet: 10
 100M Ethernet: 1
The OSPF cost configured with the ip ospf cost command will overwrite the default configuration.
Configuration
Examples
The following example configures the OSPF cost of fastEthernet 0/1 to100.
Ruijie(config)# interfacefastEthernet0/1
Ruijie(config-if-FastEthernet 0/1)# ipospfcost100
Related
Commands
Command
Description
bandwidth
Specifies the interface bandwidth. This setting
does not affect the data transmission rate.
show ip ospf
Displays the OSPF global configuration
information
Platform
Description
N/A

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Ruijie RG-S29 Series and is the answer not in the manual?

Ruijie RG-S29 Series Specifications

General IconGeneral
BrandRuijie
ModelRG-S29 Series
CategorySwitch
LanguageEnglish

Related product manuals