IOS-XR BGP Configuration memo – part 1

基本

route-policy {ポリシー名}
 ポリシー定義
end-policy
commit
router bgp {ASN}
 bgp router-id {ルータID}
 address-family {ipv4 | ipv6} unicast
 exit
 neighbor {ネイバIPアドレス}
  remote-as {リモートASN}
  address-family {ipv4 | ipv6} unicast
   route-policy {ポリシー名} {in | out}
commit

AS配下に複数のBGPインスタンス

router bgp {ASN} [instance {インスタンス名}]
 bgp router-id {ルータID}
commit
  • インスタンスごとにルータIDは一意にする必要がある

コンフェデレーション

router bgp {ASN}
 bgp confederation identifier {ASN}
 bgp confederation peers {ASN}
commit
  • bgp confederation peersは接続する相手(サブAS)だけ登録する

リンク障害時の自動eBGPセッションリセットの回避

bgp fast-external-fallover disable

タイマーの設定

router bgp {ASN}
 timers bgp キープアライブ ホールドタイム
 neighbor {ネイバアドレス}
  timers キープアライブ ホールドタイム
commit
  • BGPプロセス全体の場合はtimers bgp、ネイバ単位ではtimers

デフォルトのLocalPreferenceの変更

router bgp {ASN}
 bgp default local-preference {値}
commit
  • デフォルトは100なので、それを変更したい場合に使用する。

デフォルトのMEDの変更

router bgp {ASN}
 default-metric {メトリック}
commit
  • メトリックがもともと設定されていないプレフィックスにセットするデフォルト値

コメント

タイトルとURLをコピーしました