Sitemap
Yuh Hua Cheng

Yuh Hua Cheng

AWS Cloud Wan-Community

Jan 19, 2026

情境說明

在 AWS Cloud WAN 設定 Community 標籤,將路由的屬性值一併傳遞至 SD-WAN。
SD-WAN 端可依據 Community 進行路由過濾與策略判斷,而非直接綁定特定網段。未來即使 Cloud WAN 新增或調整網段,SD-WAN 端無須頻繁修改路由設定,僅需依 Community 進行控管,方便架構路由管理。

Press enter or click to view image in full size

前置作業

  1. 已建立完成Cloud Wan架構
  2. 已與SD-WAN網路串接,可進行BGP交換

設定流程

  1. 建立新的Policy Version
  2. Routing policies > Create routing policy
Press enter or click to view image in full size
  1. 可按照預設Routing policy number從100開始
  2. 命名Routing Policy name (自己可以識別就好)
  3. Direction選擇outbound (補充 : 設定出去封包套用規則)
Press enter or click to view image in full size

在剛剛所創建的Routing policies中建立規則 > Create

Press enter or click to view image in full size
  1. Rule number可使用預設100
  2. Action選擇 "Add community"
  3. Community所帶的值64512:1 (按照自己訂定規則設定即可,但是要注意前面的64512 要避免設定Cloud Wan的location ASN number,不然會建立失敗)
  4. 加入要帶此Community的CIDR
Press enter or click to view image in full size

完成Rule建立

Press enter or click to view image in full size
  1. 切換欄位於Attachment policies
  2. Create “Attachment routing policies”
Press enter or click to view image in full size
  1. 可使用預設Rule number 100
  2. Condition設定名稱 (可自行命名,用途會在稍後於Attachment設定此Label名稱做配對,讓此Attachment會吃到此Routing policy設定)
  3. Action選擇稍早所設定的routing poolicy “community”
Press enter or click to view image in full size

完成設定 > Create

Get Yuh Hua Cheng’s stories in your inbox

Join Medium for free to get updates from this writer.

建立好後要Apply新版本

Press enter or click to view image in full size
  1. 等Apply完成後到Attachment
  2. 選擇Connector的Attachment > Routing policies label > create
Press enter or click to view image in full size

填入剛剛設定Label值

Press enter or click to view image in full size

等待一段時間 (可能5-10min) 會看到成功associate,並且查看SD-WAN的路由會有64512:1的community值

Press enter or click to view image in full size

--

--