問題
Local Cisco IOS XE routerからRemote RouterへBGP経路が伝わらない。設定と出力は次のとおりである。問題はどれか。
LocalRouter#
interface GigabitEthernet0/0
ip address 172.16.0.1 255.255.255.0
interface GigabitEthernet0/1
ip address 10.1.1.1 255.255.255.0
router bgp 65000
bgp router-id 10.1.1.1
neighbor 10.1.1.2 remote-as 65001
RemoteRouter# show ip bgp summary
BGP router identifier 10.1.1.2, local AS number 65001
BGP table version is 0, main routing table version 0
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.1.1.1 4 65000 10 7 0 0 0 00:03:46 0
Total number of neighbors 1
LocalRouter#
BGP: 10.1.1.1 advertised 0 routes to 10.1.1.2

- A
MD5認証に失敗している。
- B
Local RouterのBGP設定にnetwork文がない。
- C
Local RouterとRemote Routerの間にPeer Sessionがない。
- D
Local RouterのBGP AS番号が誤っている。
正解:B
理由
RemoteのState/PfxRcd=0はEstablished Sessionの受信Prefix数が0であることを示す。図ではLocal AS65000、Remote AS65001とNeighborの値が一致する。一方、LocalのBGP設定にはnetwork文も再配送等の起点経路の設定もないため、Bが具体的な不足になる。Interfaceの172.16.0.1/24やRouter IDを設定しただけでNetworkが自動広告されるわけではない。一般にはFilterでも0になるため、表示数だけで原因を固定せず、この提示設定と合わせる。
選択肢ごとの説明
- A.
MD5認証に失敗している。
RemoteのState/PfxRcdは0という数値であり、SessionはEstablishedである。継続中のMD5認証失敗でSessionが成立していない状態とは違う。
- B.
Local RouterのBGP設定にnetwork文がない。
提示設定にはNeighborとRouter IDだけがあり、network等の起点経路の取込みがない。Interfaceを設定しただけでは、そのPrefixは自動広告されない。
- C.
Local RouterとRemote Routerの間にPeer Sessionがない。
State/PfxRcdの0は受信Prefix数を示す。
- D.
Local RouterのBGP AS番号が誤っている。
Localは65000でRemoteのNeighbor ASも65000、RemoteのLocal ASは65001でLocalのremote-asと一致する。図にAS番号不一致の証拠はない。