2017-10-17 171 views
-1

我在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廣告,包括靜態路由..

+0

這與編程無關,並且是本網站的主題。刪除它。 –

回答

0

你會想修改你的策略來通告靜態路由。也許在你的政策中創建另一個術語。

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