Juniper SRX添加自定义BGP路由
问题描述:
我在AzureStack(win2k16)和SRX210之间配置了BGP。在瞻博网络上,我看到所有通告的路由,但瞻博网络仅广告其物理接口网络。 我希望瞻博网络还包括针对2k16机器配置的所有静态路由..Juniper SRX添加自定义BGP路由
现在配置(在瞻博)
policy-statement send-direct {
term 1 {
from protocol direct;
then accept;
}
group AzureStack {
type internal;
multihop {
ttl 50;
}
export send-direct;
neighbor 172.16.7.14 {
local-address 172.16.7.1;
peer-as 65050;
local-as 65050;
}
}
在收到2k16
DestinationNetwork NextHop
172.16.4.0/29 172.16.7.1 Juniper
172.16.5.0/24 172.16.7.1 Juniper
172.16.6.0/24 172.16.7.1 Juniper
但我的瞻博网络例如具有172.16.8.0/22,我想在BGP广告,包括静态路由..
答
你会想修改你的策略来通告静态路由。也许在你的政策中创建另一个术语。
set policy-options policy-statement send-direct term2 from protocol static
set policy-options policy-statement send-direct term2 then accept
这与编程无关,并且是本网站的主题。删除它。 –