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.

1 Respuesta
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
EXPERTO
respondido hace 7 meses
profile pictureAWS
EXPERTO
revisado hace 7 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas