お疲れさまです。。
今回はBGP設定におけるMED値設定と確認を実施したいと思います~(^^;)
お品書きです~
① MEDの概要
② 設定追加及び確認
10.1.5.0/24及び10.1.6.0/24をEBGPにより広告、確認
③ MED値を明示的に設定及び確認
では始めます~
① MEDの概要
いつもながらサイト ”ネットワークエンジニアとして”は分かりやすく良いですね!!
② 設定追加及び確認
ではMED値の設定および確認をしていきます!!
構成はいつも馴染み??の構成です~
↑の設定後、BGPネイバーをクリアしてCORE側で経路が広告されていることを確認しました~
admin@SRX100B> clear bgp neighbor soft-inbound instance VR2
admin@SRX100B> show route 10.1.5.0/24
VR1.inet.0: 15 destinations, 18 routes (15 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.1.5.0/24 *[BGP/170] 00:15:25, localpref 100
AS path: 65000 65001 I
> to 172.16.200.254 via fe-0/0/3.0
VR2.inet.0: 15 destinations, 18 routes (15 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.1.5.0/24 *[BGP/170] 00:15:25, localpref 100, from 50.5.1.1
AS path: 65001 I
> to 172.16.5.254 via fe-0/0/1.0
[BGP/170] 00:01:23, MED 2, localpref 100, from 50.6.1.1
AS path: 65001 I
> to 172.16.6.254 via fe-0/0/2.0
admin@SRX100B> show route 10.1.6.0/24
VR1.inet.0: 15 destinations, 18 routes (15 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.1.6.0/24 *[BGP/170] 00:15:21, localpref 100
AS path: 65000 65001 I
> to 172.16.200.254 via fe-0/0/3.0
VR2.inet.0: 15 destinations, 18 routes (15 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.1.6.0/24 *[BGP/170] 00:15:17, localpref 100, from 50.6.1.1
AS path: 65001 I
> to 172.16.6.254 via fe-0/0/2.0
[BGP/170] 00:06:48, MED 2, localpref 100, from 50.5.1.1
AS path: 65001 I
> to 172.16.5.254 via fe-0/0/1.0
admin@SRX100B>
次にPOD5/6においてMED値を設定しました!!
以下のサイトも今回は参考に~
設定後、BGPネイバーをクリアーしてMED値が広告されているかを確認しましたよ
admin@SRX100B> clear bgp neighbor soft-inbound instance VR2
最後にMED値が少ない経路に通信できるかも確認!
次回は AS_Pathによるフィルタリング設定と確認を予定しています~(^^;)