21.4.4 経路の広告内容の確認
広告した経路のパス属性は,show ip bgpコマンドまたはshow ipv6 bgpコマンドでadvertised-routesパラメータを指定して確認します。
> show ip bgp advertised-routes Date 20XX/03/18 22:44:54 UTC BGP Peer: 10.2.2.2 , Remote AS: 65533 Local AS: 65531, Local Router ID: 192.168.1.100 Origin Codes: i - IGP, e - EGP, ? - incomplete Network Next Hop MED LocalPref Path 192.168.20/24 192.168.2.2 120 - 65531 i <-1 192.168.30/24 192.168.2.2 100 - 65531 i BGP Peer: 172.16.2.2 , Remote AS: 65532 Local AS: 65531, Local Router ID: 192.168.1.100 Origin Codes: i - IGP, e - EGP, ? - incomplete Network Next Hop MED LocalPref Path 192.168.20/24 192.168.2.2 120 - 65531 i <-2 192.168.30/24 192.168.2.2 100 - 65531 i |
1〜2.:広告した経路にMED属性(値:120)が設定されています。