GLBP - Cisco Config -



 GLBPのデフォルト設定


機能 デフォルト設定
GLBPグループ 未設定
GLBP仮想MACアドレス 0007.b400.XXYY
GLBPプライオリティ 100
AVGプリアンプト ディセーブル
AVGスタンバイ遅延
ロードバランシング方式 round-robin
GLBP Helloタイム Interval 3秒
GLBP Holdタイム Interval 10秒
weighting値 100 ( threshold lower 1, upper 100 )
weighting track値 10
Forwaderリダイレクト値/Forwarderタイムアウト値 600秒/14400秒
Forwaderプリアンプト イネーブル/遅延30秒




 GLBPのイネーブル化

  先ず最初にGLBPを有効にするI/Fにて、GLBPグループの番号と仮想IPアドレスを設定します。
  例えば、「glbp 1 ip 192.168.0.254」はGLBP番号が「1」、仮想IPアドレスが「192.168.0.254」。


 Cisco(config-if)# glbp group ip ip-address [secondary]

 ※ GLBPを設定するインターフェースを事前にshutdownするか、イネーブル前にカスタマイズ設定をするのが推奨。
 ※ I/Fにsecondaryアドレスが存在する場合、「secondary」キーワードの指定によりセカンダリVRRPも作成可能です。


 GLBPのプライオリティ設定 for AVG

  GLBPプライオリティ値はデフォルトで100であることから、2台のルータでAVGのActiveとStandbyを
  明示的に定義するためには、一方の値を他方よりも高くするか低くする設定が必要となります。


 Cisco(config-if)# glbp group priority level

 ※ I/FにこのGLBPプライオリティ値の設定をしない場合、より大きなIPアドレスを設定しているI/FがAVGとなります。



 GLBPのプリエンプト設定

  現在のAVGよりも高いプライオリティを持つGLBPルータがいる場合、このコマンドを有効化する事で
  AVGの機能を引き継ぎます。AVGに移行するまでのデフォルトの遅延時間(delay)は30秒となります。
  ※ 例えば [ glbp 1 preempt delay minimum 60 ] とすればAVGルータへの切り替りが60秒後となります。詳細


 Cisco(config-if)# glbpgroup preempt [ delay minumseconds ]



 GLBPのタイマー設定

  GLBPのHelloタイマー( default3秒 )とHoldタイマー( default10秒 )は変更することができます。
  ※ 例えば [ glbp 1 timer 2 6 ] では、Helloタイマー(2秒)、holdタイマー(6秒)となり、GLBP収束が早くなります。


 Cisco(config-if)# glbp group timer [ hellotime holdtime ]



 GLBPのリダイレクト設定

  AVGがセカンダリAVFへクライアントをレダイレクトし続ける時間( default300秒)と、セカンダリー
  のAVFを利用しなくなるまでの時間( default14400秒 = 4時間 )を変更することができます。 
  ※ 例えば [ glbp 1 timer redirect 600 700 ] では、Redirectタイマー(600秒)、timeoutタイマー(700秒)となります。


 Cisco(config-if)# glbp group timer redirect [ redirect timeout ]

  The redirect timer sets the time delay between a forwarder failing on the network and the AVG assuming
  that the forwarder will not return.The virtual MAC address to which the forwarder was responsible for replying
  to is still given out in Address Resolution Protocol (ARP) replies, but the forwarding task is handled by another
  router in the GLBP group. The timeout interval is the time delay between a forwarder failing on the network and
  the MAC address for which the forwarder was responsible becoming inactive on all of the routers in the GLBP group.
  After the timeout interval, packets sent to this virtual MAC address will be lost. The timeout interval must be long
  enough to allow all hosts to refresh their ARP cache entry that contained the virtual MAC address. 詳細



 GLBPのロードバランシング設定

 AVGによって使用されるロードバランス方式を変更することができます。デフォルトはround-robin


 Cisco(config-if)# glbpgroup load-balancing [ host-dependent | round-robin | weighted ]




 Resource :Configuring GLBP GLBP Authentication GLBP Load Balancing BCMSNテキスト第2版 CatalystLANスイッチ教科書


← GLBPとは  GLBP - Ciscoコンフィグ 2 -

ネットワークエンジニアとして

Copyright(C) 2002-2008 Cool. All Rights Reserved