CmdID

CmdID / aws / aws networkmanager

aws networkmanager start-route-analysis

Starts analyzing the routing path between the specified source and destination. AWS CLI reference

1 example 5 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To start route analysis

The following start-route-analysis example starts the analysis between a source and destination, including the optional include-return-path.

aws networkmanager start-route-analysis --global-network-id global-network-00aa0aaa0b0aaa000 --source TransitGatewayAttachmentArn=arn:aws:ec2:us-east-1:123456789012:transit-gateway-attachment/tgw-attach-0d4a2d491bf68c093,IpAddress=10.0.0.0 --destination TransitGatewayAttachmentArn=arn:aws:ec2:us-west-1:123456789012:transit-gateway-attachment/tgw-attach-002577f30bb181742,IpAddress=11.0.0.0 --include-return-pathIdentify
--global-network-idThe ID of the global network.
--sourceThe source from which traffic originates.
--destinationThe destination.
--include-return-pathIndicates whether to analyze the return path.
Its output
{
    "RouteAnalysis": {
        "GlobalNetworkId": "global-network-00aa0aaa0b0aaa000",
        "OwnerAccountId": "1111222233333",
        "RouteAnalysisId": "a1873de1-273c-470c-1a2bc2345678",
        "StartTimestamp": 1695760154.0,
        "Status": "RUNNING",
        "Source": {
            "TransitGatewayAttachmentArn": "arn:aws:ec2:us-east-1:123456789012:transit-gateway-attachment/tgw-attach-1234567890abcdef0",
            "TransitGatewayArn": "arn:aws:ec2:us-east-1:123456789012:transit-gateway/tgw-abcdef01234567890",
            "IpAddress": "10.0.0.0"
        },
        "Destination": {
            "TransitGatewayAttachmentArn": "arn:aws:ec2:us-west-1:123456789111:transit-gateway-attachment/tgw-attach-021345abcdef6789",
            "TransitGatewayArn": "arn:aws:ec2:us-west-1:123456789012:transit-gateway/tgw-09876543210fedcba0",
            "IpAddress": "11.0.0.0"
        },
        "IncludeReturnPath": true,
        "UseMiddleboxes": false
    }
}

For more information, see Route Analyzer in the AWS Global Networks for Transit Gateways User Guide.

Options

5 in the AWS CLI reference
--destinationThe destination.
--global-network-idThe ID of the global network.
--include-return-pathIndicates whether to analyze the return path.
--sourceThe source from which traffic originates.
--use-middleboxesIndicates whether to include the location of middlebox appliances in the route analysis.