[index] CentreCOM ARX640S コマンドリファレンス 5.1.5

router bgp

モード: グローバルコンフィグモード --> BGPモード
カテゴリー: IPルーティング / 経路制御(BGP)


(config)# [no] router bgp <1-4294967295>


BGPルーティングプロセスを起動し、該当プロセスの設定を行うBGPモードに移行する。
BGPルーティングプロセスがすでに起動している場合は、単にBGPモードに移行する。
no形式で実行した場合はBGPルーティングプロセスを停止する。この場合は、グローバルコンフィグモードのまま移動しない。

BGPモードからグローバルコンフィグモードに戻るにはexitコマンド(空行でCtrl/Dを押しても同じ)を、特権EXECモードに戻るにはendコマンド(Ctrl/Zキー)を使う。


パラメーター

<1-4294967295> BGPルーティングプロセスが使用する自AS(Autonomous System)番号。 65535より大きいAS番号を指定するには、あらかじめbgp extended-asn-capコマンドで4オクテットAS番号のサポートを有効にしておく必要がある


使用例

■ BGPルーティングプロセスを起動し、その設定を行うためのBGPモードに入る。自AS番号は65500とする。

*Router(config)# router bgp 65500
*Router(config-router)# 


■ BGPルーティングプロセスを停止する。no形式の場合はモード移動しないことに注目

*Router(config)# no router bgp 65500
*Router(config)# 


注意・補足事項

■ BGPルーティングプロセスはシステムあたり1つしか起動できない。すでに起動している状態で別のAS番号を指定すると次のようなエラーになる。

*Router(config)# router bgp 65501
BGP is already running; AS is 65500


コマンドツリー

configure terminal (特権EXECモード)
    |
    +- router bgp(グローバルコンフィグモード)
         |
         +- aggregate-address(BGPモード)
         +- bgp always-compare-med(BGPモード)
         +- bgp bestpath as-path ignore(BGPモード)
         +- bgp bestpath compare-routerid(BGPモード)
         +- bgp bestpath med(BGPモード)
         +- bgp default local-preference(BGPモード)
         +- bgp deterministic-med(BGPモード)
         +- bgp fast-external-failover(BGPモード)
         +- bgp nexthop-trigger-count(BGPモード)
         +- bgp router-id(BGPモード)
         +- bgp scan-time(BGPモード)
         +- distance(BGPモード)
         +- neighbor activate(BGPモード)
         +- neighbor advertisement-interval(BGPモード)
         +- neighbor capability route-refresh(BGPモード)
         +- neighbor default-originate(BGPモード)
         +- neighbor description(BGPモード)
         +- neighbor distribute-list(BGPモード)
         +- neighbor dont-capability-negotiate(BGPモード)
         +- neighbor ebgp-multihop(BGPモード)
         +- neighbor maximum-prefix(BGPモード)
         +- neighbor next-hop-self(BGPモード)
         +- neighbor override-capability(BGPモード)
         +- neighbor remote-as(BGPモード)
         +- neighbor route-map(BGPモード)
         +- neighbor send-community(BGPモード)
         +- neighbor shutdown(BGPモード)
         +- neighbor soft-reconfiguration inbound(BGPモード)
         +- neighbor strict-capability-match(BGPモード)
         +- neighbor timers(BGPモード)
         +- neighbor update-source(BGPモード)
         +- neighbor weight(BGPモード)
         +- network(BGPモード)
         +- network synchronization(BGPモード)
         +- redistribute(BGPモード)
         +- synchronization(BGPモード)
         +- timers bgp(BGPモード)


関連コマンド

bgp extended-asn-cap(グローバルコンフィグモード)
end(任意のコンフィグモード)
exit(任意のモード)
show ip bgp(非特権EXECモード)
show ip protocols bgp(非特権EXECモード)
show running-config(特権EXECモード)



(C) 2011 - 2014 アライドテレシスホールディングス株式会社

PN: 613-001491 Rev.E