- 現在との差分 を表示
- ソース を表示
- Ciscoコマンド集/A/auto-cost reference-bandwidth へ行く。
3: 2009-02-19 (木) 14:09:44 staff_mita | 4: 2009-02-20 (金) 14:54:09 staff_mita | ||
---|---|---|---|
Line 9: | Line 9: | ||
:モード| &tag(Router(M)); | :モード| &tag(Router(M)); | ||
- | :デフォルト|- | + | :デフォルト|100 |
:IOS| | :IOS| | ||
Line 17: | Line 17: | ||
- | :構文|ospf auto-cost reference-bandwidth '''reference-bandwidth''' | + | :構文|auto-cost reference-bandwidth '''reference-bandwidth''' |
#footnotes(nohr); | #footnotes(nohr); | ||
:使用例| | :使用例| | ||
+ | #pre(soft){{ | ||
+ | Router#show ip ospf interface fa0/0 | ||
+ | FastEthernet0/0 is up, line protocol is down | ||
+ | Internet Address 192.168.200.17/24, Area 0 | ||
+ | Process ID 10, Router ID 192.168.201.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 | ||
+ | oob-resync timeout 40 | ||
+ | No Hellos (Passive interface) | ||
+ | Router#conf t | ||
+ | Enter configuration commands, one per line. End with CNTL/Z. | ||
+ | Router(config)#router ospf 10 | ||
+ | Router(config-router)#''auto-cost reference-bandwidth 1000'' | ||
+ | % OSPF: Reference bandwidth is changed. | ||
+ | Please ensure reference bandwidth is consistent across all routers. | ||
+ | Router(config-router)# | ||
+ | Router#show ip ospf interface fa0/0 | ||
+ | FastEthernet0/0 is up, line protocol is down | ||
+ | Internet Address 192.168.200.17/24, Area 0 | ||
+ | Process ID 10, Router ID 192.168.201.17, Network Type BROADCAST, Cost: ''10'' | ||
+ | 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 | ||
+ | oob-resync timeout 40 | ||
+ | No Hellos (Passive interface) | ||
+ | Router# | ||
+ | }} | ||
#footnotes(nohr); | #footnotes(nohr); | ||
- | :解説| | + | :解説|OSPFの基準帯域幅の変更します。 |
- | //OSPFの基準帯域幅の変更 | + | '''reference-bandwidth'''の部分はMbps単位で指定します。 |
- | //173 | + | 指定可能な範囲は1〜4,294,967までで、デフォルト値は100になります。~ |
+ | OSPFのメトリックは'''100Mbps÷インターフェースの帯域幅'''で計算します。 | ||
+ | ''auto-cost reference-bandwidth''コマンドを使用すると、メトリック計算式の分子を変更する事が出来ます。 | ||
+ | 使用例では、''auto-cost reference-bandwidth 1000''としています。 | ||
+ | よって、メトリックの計算式が1000Mbps(1Gbps)÷インターフェースの帯域幅になり、FastEthernetInterfaceのCost値が10に変化しました。 | ||
#footnotes(nohr); | #footnotes(nohr); | ||
:Tips| | :Tips| | ||
+ | 但し、メトリック計算式を変更しても、''ip ospf cost''コマンドで指定したコスト値が優先されます。 | ||
#footnotes(nohr); | #footnotes(nohr); | ||
Line 38: | Line 72: | ||
- | :タグ|&tag(,.,OSPF,,,,,,,,,,,); | + | :タグ|&tag(,,OSPF,,,,,,,,,,,); |
- Ciscoコマンド集/A/auto-cost reference-bandwidth のバックアップ一覧
- Ciscoコマンド集/A/auto-cost reference-bandwidth のバックアップ差分(No. All)
Counter: 7906,
today: 1,
yesterday: 0