如何将通告中特定路由的特定MED附加到BGP对等体?
[...]
ip prefix-list our-routes-only seq 10 permit 10.10.0.0/16
ip prefix-list our-routes-only seq 20 permit 10.12.0.0/16
router bgp 12345
address-family ipv4 unicast
neighbor 10.100.1.1
remote-as 123
address-family ipv4 unicast
adveritse-map our-routes ???
==>我希望在“advertise-map”语句中指定MED,但我看不到该选项
?
NX-OS 9.3.(x)
Stuart Kendrick
已解决! 转到解答。
请尝试以下操作:
route-map SetMED permit 10
match ip address prefix-list our-routes-only
set metric 10
!
router bgp 1
neighbor 192.168.12.2
remote-as 2
address-family ipv4 unicast
route-map SetMED out
!
此致,
请尝试以下操作:
route-map SetMED permit 10
match ip address prefix-list our-routes-only
set metric 10
!
router bgp 1
neighbor 192.168.12.2
remote-as 2
address-family ipv4 unicast
route-map SetMED out
!
此致,
...
谢谢你,哈罗德
—sk