ほぼ全ての機能を新サイトへ移行しました

ip ospf cost anchor.png

機種
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#
*1 Fa0/1のCostを50に変更する
解説
該当インターフェースのOSPFコストを変更します。
本来のデフォルトコストは、100,000,000bpsをインターフェースの帯域幅で割った値です。
そのデフォルトのコストを変更する際に、ip ospf costコマンドを使用します。
Tips
参考リンク
Google検索
タグ
OSPF

トップ   凍結 差分 バックアップ 複製 名前変更 リロード   ページ新規作成 全ページ一覧 単語検索 最新ページの一覧   ヘルプ   最新ページのRSS 1.0 最新ページのRSS 2.0 最新ページのRSS Atom
Counter: 5259, today: 1, yesterday: 0
最終更新: 2009-08-04 (火) 16:02:48 (JST) (5385d) by staff_mita
Copyright (c) 2020 Ping-t All rights reserved.
ログイン
ユーザ名 or E-Mailアドレス:

パスワード:







プレミアムコンテンツ

受験チケット(割引)

Contact

LPI-Japan Logo

LPI Logo