Modificar ASN_Direct_Connet_Gateway

0

Dear All: Is it possible to modify (edit) the ASN of a Transit Gateway,Direct Connect Gateway?

I am waiting for your answer.

Thank you so much.

已提问 2 年前469 查看次数
1 回答
0
已接受的回答

Yes, it is possible with CLI, recently this new feature was added for TGW (currently not possible via AWS Console, CLI only)

Info on the API;

Also note: "The modify ASN operation is not allowed on a transit gateway with active BGP sessions. You must first delete all transit gateway attachments that have BGP configured prior to modifying the ASN on the transit gateway."

Example command:

aws ec2 modify-transit-gateway --transit-gateway-id tgw-1234567 --options AmazonSideAsn=65002

As for the DirectConnectGateway - you can not modify the BGP ASN once it is setup; you will need to delete and recreate a new DXGW with the desired BGP ASN. More information on the BGP ASN in the DX FAQ

profile pictureAWS
专家
已回答 2 年前
profile pictureAWS
专家
已审核 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则