首页 文章

Juniper SRX添加自定义BGP路由

提问于
浏览
-1

我在AzureStack(win2k16)和SRX210之间配置了BGP . 在瞻博网络上,我看到所有宣传的路由,但瞻博网络只宣传其物理接口网络 . 我希望瞻博网络还包括为2k16机器配置的所有静态路由 .

现在配置(在杜松上)

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

但我的Juniper例如有一条到172.16.8.0/22的静态路由,我希望将其包含在bgp广告中 .

1 回答

  • 0

    您可能希望修改策略以通告静态路由 . 也许在您的政策中创建另一个术语 .

    set policy-options policy-statement send-direct term2 from protocol static 
    set policy-options policy-statement send-direct term2 then accept
    

相关问题