AWS CLI commands for network routing

0

Hi all, I'm a long-time network engineer skilled in using equipment such as Cisco routers and switches, and I'm working on adjusting to what I can do in the AWS CLI as it relates to routing. One of the recent challenges I am having is if there is an AWS CLI command that would be equivalent to "show ip bgp neighbor received-routes" command I would normally use in a Cisco device. Any guidance or pointers on achieving the same kind of visibility that I am accustomed to would be appreciated, thanks.

已提问 7 个月前449 查看次数
1 回答
0

Hi Tony,

There isn't an exact equivalent to the "show ip bgp neighbor received-routes" command on AWS. However, going by the question I assume you want to check the routes received from a VPN or Direct connect to a Transit Gateway or a Virtual Private Gateway. Kindly clarify on exactly where you are wanting to check this and which service you are using.

The received routes from a Direct connect or VPN, would only be visible on the TransitGateway Route table (if using TGW) or VPC Route table (if using Virtual Private Gateway).

If checking on TGW Route table, the "search-transit-gateway-routes" command should give the information on which attachment the route is received from https://docs.aws.amazon.com/cli/latest/reference/ec2/search-transit-gateway-routes.html

If checking on VPC Route table, the "describe-route-tables" command should give the information on which Virtual Private Gateway the route is received from, although it doesn't show the exact VPN ID or DirectConnect ID https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-route-tables.html

Feel free to ask any additional clarifying questions and we'd be happy to answer.

profile pictureAWS
专家
已回答 7 个月前
profile pictureAWS
专家
已审核 7 个月前

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

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

回答问题的准则