ip ospf cost
- 機種
- Router(K)
- モード
- Interface(M)
- デフォルト
- 未定義
- IOS
- 10.0
- 試験レベル
- BSCI
- 構文
- ip ospf cost
- 使用例
Router#show ip ospf interface fa0/1 FastEthernet0/1 is up, line protocol is up Internet Address 192.168.3.2/24, Area 0 Process ID 10, Router ID 210.239.0.17, Network Type BROADCAST, Cost: 1 Transmit Delay is 1 sec, State DOWN, Priority 1 No designated router on this network No backup designated router on this network Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 -- 以下省略 -- Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#int fa0/1 Router(config-if)#ip ospf cost ? <1-65535> Cost Router(config-if)#ip ospf cost 50*1 Router(config-if)# Router#show ip ospf interface fa0/1 FastEthernet0/1 is up, line protocol is up Internet Address 192.168.3.2/24, Area 0 Process ID 10, Router ID 210.239.0.17, Network Type BROADCAST, Cost: 50 Transmit Delay is 1 sec, State DOWN, Priority 1 No designated router on this network No backup designated router on this network Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 -- 以下省略 -- Router#
- 解説
- 該当インターフェースのOSPFコストを変更します。
本来のデフォルトコストは、100,000,000bpsをインターフェースの帯域幅で割った値です。
そのデフォルトのコストを変更する際に、ip ospf costコマンドを使用します。
- Tips
- 参考リンク
- Google検索
- タグ
- OSPF
Counter: 5259,
today: 1,
yesterday: 0
最終更新: 2009-08-04 (火) 16:02:48 (JST) (5385d) by staff_mita