atwiki-logo
  • 新規作成
    • 新規ページ作成
    • 新規ページ作成(その他)
      • このページをコピーして新規ページ作成
      • このウィキ内の別ページをコピーして新規ページ作成
      • このページの子ページを作成
    • 新規ウィキ作成
  • 編集
    • ページ編集
    • ページ編集(簡易版)
    • ページ名変更
    • メニュー非表示でページ編集
    • ページの閲覧/編集権限変更
    • ページの編集モード変更
    • このページにファイルをアップロード
    • メニューを編集
    • 右メニューを編集
  • バージョン管理
    • 最新版変更点(差分)
    • 編集履歴(バックアップ)
    • アップロードファイル履歴
    • ページ操作履歴
  • ページ一覧
    • ページ一覧
    • このウィキのタグ一覧
    • このウィキのタグ(更新順)
    • おまかせページ移動
  • RSS
    • このウィキの更新情報RSS
    • このウィキ新着ページRSS
  • ヘルプ
    • ご利用ガイド
    • Wiki初心者向けガイド(基本操作)
    • このウィキの管理者に連絡
    • 運営会社に連絡(不具合、障害など)
DynagenでCCIEを目指す
  • ウィキ募集バナー
  • 目安箱バナー
  • 操作ガイド
  • 新規作成
  • 編集する
  • 全ページ一覧
  • 登録/ログイン
ページ一覧
DynagenでCCIEを目指す
  • ウィキ募集バナー
  • 目安箱バナー
  • 操作ガイド
  • 新規作成
  • 編集する
  • 全ページ一覧
  • 登録/ログイン
ページ一覧
DynagenでCCIEを目指す
  • 新規作成
  • 編集する
  • 登録/ログイン
  • 管理メニュー
管理メニュー
  • 新規作成
    • 新規ページ作成
    • 新規ページ作成(その他)
      • このページをコピーして新規ページ作成
      • このウィキ内の別ページをコピーして新規ページ作成
      • このページの子ページを作成
    • 新規ウィキ作成
  • 編集
    • ページ編集
    • ページ編集(簡易版)
    • ページ名変更
    • メニュー非表示でページ編集
    • ページの閲覧/編集権限変更
    • ページの編集モード変更
    • このページにファイルをアップロード
    • メニューを編集
    • 右メニューを編集
  • バージョン管理
    • 最新版変更点(差分)
    • 編集履歴(バックアップ)
    • アップロードファイル履歴
    • ページ操作履歴
  • ページ一覧
    • このウィキの全ページ一覧
    • このウィキのタグ一覧
    • このウィキのタグ一覧(更新順)
    • このページの全コメント一覧
    • このウィキの全コメント一覧
    • おまかせページ移動
  • RSS
    • このwikiの更新情報RSS
    • このwikiの新着ページRSS
  • ヘルプ
    • ご利用ガイド
    • Wiki初心者向けガイド(基本操作)
    • このウィキの管理者に連絡
    • 運営会社に連絡する(不具合、障害など)
  • atwiki
  • DynagenでCCIEを目指す
  • トップページ
  • 動作検証 ネットワーク系
  • 20100825 HSRP

DynagenでCCIEを目指す

20100825 HSRP

最終更新:2010年08月30日 10:59

it_certification

- view
管理者のみ編集可
  • 1. 目的
  • 2. 構成
    • 2.1. 設定概要
    • 2.2. 構成図
    • 2.3. netファイル
    • 2.4. 初期設定
  • 3. [検証] HSRP 基本設定
    • 3.1. HSRP 基本設定
    • 3.2. デフォルトゲートウェイの定義
    • 3.3. 障害時の挙動
  • 4. [検証] preempt
    • 4.1. 状態確認
    • 4.2. preempt 設定
    • 4.3. preempt 確認
  • 5. [検証] track
    • 5.1. 問題点の把握
    • 5.2. track 設定
    • 5.3. preempt設定
  • 6. [検証] 認証
    • 6.1. 平文による認証
    • 6.2. MD5による認証
  • 7. [検証] timerの定義
    • 7.1. timerの定義

1. 目的

  • HSPRを設定する方法を確認します。

2. 構成

2.1. 設定概要

  • 初期設定はIPアドレスのみです。

2.2. 構成図

2.3. netファイル

model = 3660
[localhost]
	
	[[3660]]
		image = C:\Program Files\Dynamips\images\c3660-ik9o3s-mz.124-6.T.bin
		ram = 128
	
	[[ROUTER R1]]
		f0/0 = LAN 1

	[[ROUTER R2]]
		f0/0 = LAN 1
		f0/1 = LAN 2

	[[ROUTER R3]]
		f0/0 = LAN 1
		f0/1 = LAN 2

	[[ROUTER R4]]
		f0/1 = LAN 2

2.4. 初期設定

  • R1
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
! 
!
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.1.1 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
ip http server
no ip http secure-server
!
!
!
no cdp run
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
  • R2
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
! 
!
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.1.2 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 192.168.2.2 255.255.255.0
 duplex auto
 speed auto
!
ip http server
no ip http secure-server
!
!
!
no cdp run
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
  • R3
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
! 
!
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.1.3 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 192.168.2.3 255.255.255.0
 duplex auto
 speed auto
!
ip http server
no ip http secure-server
!
!
!
no cdp run
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
  • R4
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R4
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
! 
!
!
!
!
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 192.168.2.4 255.255.255.0
 duplex auto
 speed auto
!
ip http server
no ip http secure-server
!
!
!
no cdp run
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end

3. [検証] HSRP 基本設定

3.1. HSRP 基本設定

R2, R3の間でHSRPを設定します。R2を主系とし、R3を待機系とします。
R2(config)#interface FastEthernet 0/0
R2(config-if)#standby 1 ip 192.168.1.254
R2(config-if)#standby 1 priority 200 <- デフォルトは100です。数値の大きい方がActiveになります。
R2(config-if)#
*Mar  1 00:16:26.767: %HSRP-6-STATECHANGE: FastEthernet0/0 Grp 1 state Speak -> Standby
*Mar  1 00:16:26.771: %HSRP-6-STATECHANGE: FastEthernet0/0 Grp 1 state Standby -> Active
R2(config-if)#exit
R2(config)#
R2(config)#
R2(config)#interface FastEthernet 0/1
R2(config-if)#standby 2 ip 192.168.2.254
R2(config-if)#standby 2 priority 200
R2(config-if)#
*Mar  1 00:17:12.331: %HSRP-6-STATECHANGE: FastEthernet0/1 Grp 2 state Speak -> Standby
*Mar  1 00:17:12.335: %HSRP-6-STATECHANGE: FastEthernet0/1 Grp 2 state Standby -> Active
R2(config-if)#

R3(config)#interface FastEthernet 0/0
R3(config-if)#standby 1 ip 192.168.1.254
R3(config-if)#standby 1 priority 150
R3(config-if)#
*Mar  1 00:17:31.059: %HSRP-6-STATECHANGE: FastEthernet0/0 Grp 1 state Speak -> Standby
R3(config-if)#exit
R3(config)#
R3(config)#
R3(config)#interface FastEthernet 0/1
R3(config-if)#standby 2 ip 192.168.2.254
R3(config-if)#standby 2 priority 150
R3(config-if)#
*Mar  1 00:18:19.279: %HSRP-6-STATECHANGE: FastEthernet0/1 Grp 2 state Speak -> Standby
R3(config-if)#

HSRPの設定について確認します(R3の出力は省略)
R2#show standby
FastEthernet0/0 - Group 1
  State is Active
    2 state changes, last state change 00:02:04
  Virtual IP address is 192.168.1.254
  Active virtual MAC address is 0000.0c07.ac01
    Local virtual MAC address is 0000.0c07.ac01 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 1.204 secs
  Preemption disabled
  Active router is local
  Standby router is 192.168.1.3, priority 150 (expires in 8.740 sec)
  Priority 200 (configured 200)
  IP redundancy name is "hsrp-Fa0/0-1" (default)
FastEthernet0/1 - Group 2
  State is Active
    2 state changes, last state change 00:01:19
  Virtual IP address is 192.168.2.254
  Active virtual MAC address is 0000.0c07.ac02
    Local virtual MAC address is 0000.0c07.ac02 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 1.732 secs
  Preemption disabled
  Active router is local
  Standby router is 192.168.2.3, priority 150 (expires in 8.452 sec)
  Priority 200 (configured 200)
  IP redundancy name is "hsrp-Fa0/1-2" (default)
R2#

3.2. デフォルトゲートウェイの定義

R1, R4のデフォルトゲートウェイを定義します。
R1(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.254

R4(config)#ip route 0.0.0.0 0.0.0.0 192.168.2.254
R1, R4間で疎通可能な事を確認します。
R1#ping 192.168.2.4

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.4, timeout is 2 seconds:
..!!!
Success rate is 60 percent (3/5), round-trip min/avg/max = 20/26/36 ms
R1#

3.3. 障害時の挙動

R1からR4へpingを送信し続けます。
R1#ping 192.168.2.4 repeat 10000
pingを送信している最中に、R2を停止させます。
=> stop R2
100-VM 'R2' stopped
=>
通信経路が自動的に切り替わり、pingが成功し続ける事を確認します。
R1#ping 192.168.2.4 repeat 10000

Type escape sequence to abort.
Sending 10000, 100-byte ICMP Echos to 192.168.2.4, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!......!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!.
Success rate is 99 percent (697/704), round-trip min/avg/max = 8/18/80 ms
R1#

4. [検証] preempt

4.1. 状態確認

R2を起動させます。
=> start R2
現在の主系を確認します。R2の方がpriorityが大きいにもかかわらず、現在の主系はR3である事が読み取れます。
R2#show standby
FastEthernet0/0 - Group 1
  State is Standby
    4 state changes, last state change 00:00:09
  Virtual IP address is 192.168.1.254
  Active virtual MAC address is 0000.0c07.ac01
    Local virtual MAC address is 0000.0c07.ac01 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 2.660 secs
  Preemption disabled
  Active router is 192.168.1.3, priority 150 (expires in 9.616 sec) <- 対向R3のpriorityを確認できます。
  Standby router is local
  Priority 200 (configured 200)                                     <- priorityを確認できます。
  IP redundancy name is "hsrp-Fa0/0-1" (default)
FastEthernet0/1 - Group 2
  State is Standby
    4 state changes, last state change 00:00:09
  Virtual IP address is 192.168.2.254
  Active virtual MAC address is 0000.0c07.ac02
    Local virtual MAC address is 0000.0c07.ac02 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 2.680 secs
  Preemption disabled
  Active router is 192.168.2.3, priority 150 (expires in 9.616 sec)
  Standby router is local
  Priority 200 (configured 200)
  IP redundancy name is "hsrp-Fa0/1-2" (default)
R2#

4.2. preempt 設定

常にpriorityが大きい方を主系にするためには、preemptの設定が必要です。
設定例は以下の通りです。なお、delayは切り替わりまでの遅延時間の定義で必須ではありませんが、delayの定義により主系が不ラッピングした際の全断を防ぐ事ができます。
R2(config)#interface fastEthernet 0/0
R2(config-if)#standby 1 preempt delay minimum 30
R2(config-if)#exit
R2(config)#
R2(config)#
R2(config)#interface fastEthernet 0/1
R2(config-if)#standby 2 preempt delay minimum 30

4.3. preempt 確認

preemptが有効になり、主系がR2に切り替わった事を確認します。
R2#show standby
FastEthernet0/0 - Group 1
  State is Active
    5 state changes, last state change 00:01:06
  Virtual IP address is 192.168.1.254
  Active virtual MAC address is 0000.0c07.ac01
    Local virtual MAC address is 0000.0c07.ac01 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 2.548 secs
  Preemption enabled, delay min 30 secs
  Active router is local
  Standby router is 192.168.1.3, priority 150 (expires in 7.604 sec)
  Priority 200 (configured 200)
  IP redundancy name is "hsrp-Fa0/0-1" (default)
FastEthernet0/1 - Group 2
  State is Active
    5 state changes, last state change 00:00:54
  Virtual IP address is 192.168.2.254
  Active virtual MAC address is 0000.0c07.ac02
    Local virtual MAC address is 0000.0c07.ac02 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 2.792 secs
  Preemption enabled, delay min 30 secs
  Active router is local
  Standby router is 192.168.2.3, priority 150 (expires in 9.872 sec)
  Priority 200 (configured 200)
  IP redundancy name is "hsrp-Fa0/1-2" (default)
R2#

5. [検証] track

5.1. 問題点の把握

R2 Fa1/0がダウンした場合を想定します。
R2(config)#interface FastEthernet 0/1
R2(config-if)#shutdown
R2 Fa1/0がダウンすると、R1, R4間で疎通不能になります。192.168.2.254のデフォルトゲートウェイはR2からR3に切り替わりますが、192.168.1.254のデフォルトゲートウェイはR2のままで切り替わらないからです。
R1#ping 192.168.2.4

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.4, timeout is 2 seconds:
U.U.U
Success rate is 0 percent (0/5)
R1#

5.2. track 設定

上記のような問題を解決するために、特定のI/Fがダウンした際にpriorityを下げる事でデフォルトゲートウェイの切り替えを行う機能があります。設定例は以下の通りです。
R2(config)#interface FastEthernet 0/0
R2(config-if)#standby 1 track FastEthernet 0/1 60
R2(config-if)#exit
R2(config)#
R2(config)#
R2(config)#interface FastEthernet 0/1
R2(config-if)#standby 2 track FastEthernet 0/0 60
trackによって、R2 Group 1のpriorityが200から140に下がった事が確認できます。しかし、依然R2は主系のままです。
R2#show standby
FastEthernet0/0 - Group 1
  State is Active                                                     <- priorityはR3よりも低いですが、依然Activeのままです。
    5 state changes, last state change 00:03:53
  Virtual IP address is 192.168.1.254
  Active virtual MAC address is 0000.0c07.ac01
    Local virtual MAC address is 0000.0c07.ac01 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 0.576 secs
  Preemption enabled, delay min 30 secs
  Active router is local
  Standby router is 192.168.1.3, priority 150 (expires in 8.624 sec)
  Priority 140 (configured 200)                                      <- priorityが140に下がった事が分かります
    Track interface FastEthernet0/1 state Down decrement 60
  IP redundancy name is "hsrp-Fa0/0-1" (default)
FastEthernet0/1 - Group 2
  State is Init (interface down)
    6 state changes, last state change 00:00:14
  Virtual IP address is 192.168.2.254
  Active virtual MAC address is unknown
    Local virtual MAC address is 0000.0c07.ac02 (v1 default)
  Hello time 3 sec, hold time 10 sec
  Preemption enabled, delay min 30 secs
  Active router is unknown
  Standby router is unknown
  Priority 200 (configured 200)
    Track interface FastEthernet0/0 state Up decrement 60
  IP redundancy name is "hsrp-Fa0/1-2" (default)
R2#

5.3. preempt設定

R2が依然主系のままでいるのは、R3にpreemptの設定が投入されていないためです。trackは必ずpreemptとセットで使用するようにしましょう。
R3にpreemptの設定を投入します。
R3(config)#interface FastEthernet 0/0
R3(config-if)#standby 1 preempt delay minimum 30
R3(config-if)#exit
R3(config)#
R3(config)#
R3(config)#interface FastEthernet 0/1
R3(config-if)#standby 2 preempt delay minimum 30
主系がR3に切り替わった事を確認します。
R3#show standby
FastEthernet0/0 - Group 1
  State is Active
    5 state changes, last state change 00:00:09
  Virtual IP address is 192.168.1.254
  Active virtual MAC address is 0000.0c07.ac01
    Local virtual MAC address is 0000.0c07.ac01 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 2.428 secs
  Preemption enabled, delay min 30 secs
  Active router is local
  Standby router is unknown
  Priority 150 (configured 150)
  IP redundancy name is "hsrp-Fa0/0-1" (default)
FastEthernet0/1 - Group 2
  State is Active
    5 state changes, last state change 00:01:37
  Virtual IP address is 192.168.2.254
  Active virtual MAC address is 0000.0c07.ac02
    Local virtual MAC address is 0000.0c07.ac02 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 1.900 secs
  Preemption enabled, delay min 30 secs
  Active router is local
  Standby router is unknown
  Priority 150 (configured 150)
  IP redundancy name is "hsrp-Fa0/1-2" (default)
R3#
R1, R4間で疎通可能な事を確認します。
R1#ping 192.168.2.4

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 96/110/128 ms
R1#

6. [検証] 認証

6.1. 平文による認証

以下の要領で、平文による認証を行う事ができます。
R2(config)#interface FastEthernet 0/0
R2(config-if)#standby 1 authentication text HOGE

R3(config)#int FastEthernet 0/0
R3(config-if)#standby 1 authentication text HOGE
設定終了後、HSRPが確立されている事を確認します。
R3#show standby
FastEthernet0/0 - Group 1
  State is Active
    5 state changes, last state change 00:01:51
  Virtual IP address is 192.168.1.254
  Active virtual MAC address is 0000.0c07.ac01
    Local virtual MAC address is 0000.0c07.ac01 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 0.796 secs
  Authentication text "HOGE"            <- 平文による認証を確認できます。
  Preemption enabled, delay min 30 secs
  Active router is local
  Standby router is 192.168.1.2, priority 140 (expires in 8.828 sec)
  Priority 150 (configured 150)
  IP redundancy name is "hsrp-Fa0/0-1" (default)
FastEthernet0/1 - Group 2
  State is Active
    5 state changes, last state change 00:03:18
  Virtual IP address is 192.168.2.254
  Active virtual MAC address is 0000.0c07.ac02
    Local virtual MAC address is 0000.0c07.ac02 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 2.224 secs
  Preemption enabled, delay min 30 secs
  Active router is local
  Standby router is unknown
  Priority 150 (configured 150)
  IP redundancy name is "hsrp-Fa0/1-2" (default)
R3#

6.2. MD5による認証

以下の要領で、MD5による認証を行う事ができます。
R2(config)#interface FastEthernet 0/1
R2(config-if)#standby 2 authentication md5 key-string FOO

R3(config)#interface FastEthernet 0/1
R3(config-if)#standby 2 authentication md5 key-string FOO
設定終了後、HSRPが確立されている事を確認します。
R3#show standby
FastEthernet0/0 - Group 1
  State is Active
    5 state changes, last state change 00:08:29
  Virtual IP address is 192.168.1.254
  Active virtual MAC address is 0000.0c07.ac01
    Local virtual MAC address is 0000.0c07.ac01 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 1.336 secs
  Authentication text "HOGE"
  Preemption enabled, delay min 30 secs
  Active router is local
  Standby router is 192.168.1.2, priority 140 (expires in 9.412 sec)
  Priority 150 (configured 150)
  IP redundancy name is "hsrp-Fa0/0-1" (default)
FastEthernet0/1 - Group 2
  State is Active
    5 state changes, last state change 00:09:57
  Virtual IP address is 192.168.2.254
  Active virtual MAC address is 0000.0c07.ac02
    Local virtual MAC address is 0000.0c07.ac02 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 2.720 secs
  Authentication MD5, key-string "FOO"
  Preemption enabled, delay min 30 secs
  Active router is local
  Standby router is unknown
  Priority 150 (configured 150)
  IP redundancy name is "hsrp-Fa0/1-2" (default)
R3#

7. [検証] timerの定義

7.1. timerの定義

以下の要領で、timerを定義する事ができます。以下は、helloを1秒、holdを3秒とする設定です。
R2(config)#interface FastEthernet 0/0
R2(config-if)#standby 1 timers 1 3

R3(config)#interface FastEthernet 0/0
R3(config-if)#standby 1 timers 1 3
設定が反映された事を確認します。
R3#show standby
FastEthernet0/0 - Group 1
  State is Active
    5 state changes, last state change 00:11:24
  Virtual IP address is 192.168.1.254
  Active virtual MAC address is 0000.0c07.ac01
    Local virtual MAC address is 0000.0c07.ac01 (v1 default)
  Hello time 1 sec, hold time 3 sec    <- timerを確認する事ができます。
    Next hello sent in 0.612 secs
  Authentication text "HOGE"
  Preemption enabled, delay min 30 secs
  Active router is local
  Standby router is 192.168.1.2, priority 140 (expires in 2.724 sec)
  Priority 150 (configured 150)
  IP redundancy name is "hsrp-Fa0/0-1" (default)
FastEthernet0/1 - Group 2
  State is Active
    5 state changes, last state change 00:12:52
  Virtual IP address is 192.168.2.254
  Active virtual MAC address is 0000.0c07.ac02
    Local virtual MAC address is 0000.0c07.ac02 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 1.968 secs
  Authentication MD5, key-string "FOO"
  Preemption enabled, delay min 30 secs
  Active router is local
  Standby router is unknown
  Priority 150 (configured 150)
  IP redundancy name is "hsrp-Fa0/1-2" (default)
R3#
「20100825 HSRP」をウィキ内検索
LINE
シェア
Tweet
添付ファイル
  • topology.jpg
DynagenでCCIEを目指す
記事メニュー

メインコンテンツ

  • トップページ
  • トップページ/動作検証 ネットワーク系

更新履歴

取得中です。

@Wiki

  • @wiki
  • @wikiご利用ガイド
  • プラグイン紹介
  • まとめサイト作成支援ツール




ここを編集
記事メニュー2
人気記事ランキング
  1. トップページ/手順書 ネットワーク系/VLC media player (Windows版) 操作手順
  2. トップページ/動作検証 ネットワーク系/INE Mock lab 02
  3. トップページ/動作検証 ネットワーク系/20100822 TFTP, FTP, SCP
  4. トップページ/動作検証 ネットワーク系/20100317 frame-relay ルータをフレームリレースイッチとして代用
  5. トップページ/BSCI
  6. トップページ/動作検証 ネットワーク系/20100428 OSPFv3 基本設定
  7. トップページ/動作検証 ネットワーク系/CBAC 基本設定
  8. トップページ/動作検証 ネットワーク系/INE Workbook Volume I QoS 確認方法の基本方針
  9. トップページ/動作検証 ネットワーク系/Commited Access Rate
  10. トップページ/動作検証 ネットワーク系/20100404 rip v1 v2混在環境
もっと見る
最近更新されたページ
  • 2978日前

    トップページ
  • 4176日前

    トップページ/手順書 ネットワーク系/Loopbackインターフェースとの接続
  • 4177日前

    トップページ/手順書 ネットワーク系
  • 4177日前

    トップページ/手順書 開発系
  • 4177日前

    トップページ/手順書 サーバ系
  • 4177日前

    トップページ/動作検証 ネットワーク系
  • 4890日前

    トップページ/動作検証 ネットワーク系/INE Workbook Volume II lab 15
  • 4911日前

    トップページ/動作検証 ネットワーク系/INE Workbook Volume II lab 14
  • 4924日前

    メニュー
  • 4934日前

    トップページ/動作検証 ネットワーク系/INE Workbook Volume II lab 13
もっと見る
人気記事ランキング
  1. トップページ/手順書 ネットワーク系/VLC media player (Windows版) 操作手順
  2. トップページ/動作検証 ネットワーク系/INE Mock lab 02
  3. トップページ/動作検証 ネットワーク系/20100822 TFTP, FTP, SCP
  4. トップページ/動作検証 ネットワーク系/20100317 frame-relay ルータをフレームリレースイッチとして代用
  5. トップページ/BSCI
  6. トップページ/動作検証 ネットワーク系/20100428 OSPFv3 基本設定
  7. トップページ/動作検証 ネットワーク系/CBAC 基本設定
  8. トップページ/動作検証 ネットワーク系/INE Workbook Volume I QoS 確認方法の基本方針
  9. トップページ/動作検証 ネットワーク系/Commited Access Rate
  10. トップページ/動作検証 ネットワーク系/20100404 rip v1 v2混在環境
もっと見る
最近更新されたページ
  • 2978日前

    トップページ
  • 4176日前

    トップページ/手順書 ネットワーク系/Loopbackインターフェースとの接続
  • 4177日前

    トップページ/手順書 ネットワーク系
  • 4177日前

    トップページ/手順書 開発系
  • 4177日前

    トップページ/手順書 サーバ系
  • 4177日前

    トップページ/動作検証 ネットワーク系
  • 4890日前

    トップページ/動作検証 ネットワーク系/INE Workbook Volume II lab 15
  • 4911日前

    トップページ/動作検証 ネットワーク系/INE Workbook Volume II lab 14
  • 4924日前

    メニュー
  • 4934日前

    トップページ/動作検証 ネットワーク系/INE Workbook Volume II lab 13
もっと見る
ウィキ募集バナー
新規Wikiランキング

最近作成されたWikiのアクセスランキングです。見るだけでなく加筆してみよう!

  1. MadTown GTA (Beta) まとめウィキ
  2. R.E.P.O. 日本語解説Wiki
  3. シュガードール情報まとめウィキ
  4. SYNDUALITY Echo of Ada 攻略 ウィキ
  5. ソードランページ @ 非公式wiki
  6. 星飼いの詩@ ウィキ
  7. GTA5 MADTOWN(β)まとめウィキ
  8. ドラゴンボール Sparking! ZERO 攻略Wiki
  9. 機動戦士ガンダム EXTREME VS.2 INFINITEBOOST wiki
  10. ガンダムGQuuuuuuX 乃木坂46部@wiki
もっと見る
人気Wikiランキング

atwikiでよく見られているWikiのランキングです。新しい情報を発見してみよう!

  1. アニヲタWiki(仮)
  2. ストグラ まとめ @ウィキ
  3. ゲームカタログ@Wiki ~名作からクソゲーまで~
  4. 初音ミク Wiki
  5. 発車メロディーwiki
  6. 検索してはいけない言葉 @ ウィキ
  7. 機動戦士ガンダム バトルオペレーション2攻略Wiki 3rd Season
  8. MadTown GTA (Beta) まとめウィキ
  9. Grand Theft Auto V(グランドセフトオート5)GTA5 & GTAオンライン 情報・攻略wiki
  10. 英傑大戦wiki
もっと見る
全体ページランキング

最近アクセスの多かったページランキングです。話題のページを見に行こう!

  1. 参加者一覧 - ストグラ まとめ @ウィキ
  2. シャア専用ヅダ - アニヲタWiki(仮)
  3. 参加者一覧 - MadTown GTA (Beta) まとめウィキ
  4. FB777 - MadTown GTA (Beta) まとめウィキ
  5. Lycoris - MadTown GTA (Beta) まとめウィキ
  6. アポカリプスホテル - アニヲタWiki(仮)
  7. サーヴァント/一覧/クラス別 - Fate/Grand Order @wiki 【FGO】
  8. 868 - ストグラ まとめ @ウィキ
  9. NO LIMIT - ストグラ まとめ @ウィキ
  10. 雑談・交流掲示板 - 星の翼(Starward) 日本語wiki @ ウィキ
もっと見る

  • このWikiのTOPへ
  • 全ページ一覧
  • アットウィキTOP
  • 利用規約
  • プライバシーポリシー

2019 AtWiki, Inc.