1**To describe your route tables**
2
3The following ``describe-route-tables`` example retrieves the details about your route tables ::
4
5    aws ec2 describe-route-tables
6
7Output::
8
9    {
10        "RouteTables": [
11            {
12                "Associations": [
13                    {
14                        "Main": true,
15                        "RouteTableAssociationId": "rtbassoc-0df3f54e06EXAMPLE",
16                        "RouteTableId": "rtb-09ba434c1bEXAMPLE"
17                    }
18                ],
19                "PropagatingVgws": [],
20                "RouteTableId": "rtb-09ba434c1bEXAMPLE",
21                "Routes": [
22                    {
23                        "DestinationCidrBlock": "10.0.0.0/16",
24                        "GatewayId": "local",
25                        "Origin": "CreateRouteTable",
26                        "State": "active"
27                    },
28                    {
29                        "DestinationCidrBlock": "0.0.0.0/0",
30                        "NatGatewayId": "nat-06c018cbd8EXAMPLE",
31                        "Origin": "CreateRoute",
32                        "State": "blackhole"
33                    }
34                ],
35                "Tags": [],
36                "VpcId": "vpc-0065acced4EXAMPLE",
37                "OwnerId": "111122223333"
38            },
39            {
40                "Associations": [
41                    {
42                        "Main": true,
43                        "RouteTableAssociationId": "rtbassoc-9EXAMPLE",
44                        "RouteTableId": "rtb-a1eec7de"
45                    }
46                ],
47                "PropagatingVgws": [],
48                "RouteTableId": "rtb-a1eec7de",
49                "Routes": [
50                    {
51                        "DestinationCidrBlock": "172.31.0.0/16",
52                        "GatewayId": "local",
53                        "Origin": "CreateRouteTable",
54                        "State": "active"
55                    },
56                    {
57                        "DestinationCidrBlock": "0.0.0.0/0",
58                        "GatewayId": "igw-fEXAMPLE",
59                        "Origin": "CreateRoute",
60                        "State": "active"
61                    }
62                ],
63                "Tags": [],
64                "VpcId": "vpc-3EXAMPLE",
65                "OwnerId": "111122223333"
66            },
67            {
68                "Associations": [
69                    {
70                        "Main": false,
71                        "RouteTableAssociationId": "rtbassoc-0b100c28b2EXAMPLE",
72                        "RouteTableId": "rtb-07a98f76e5EXAMPLE",
73                        "SubnetId": "subnet-0d3d002af8EXAMPLE"
74                    }
75                ],
76                "PropagatingVgws": [],
77                "RouteTableId": "rtb-07a98f76e5EXAMPLE",
78                "Routes": [
79                    {
80                        "DestinationCidrBlock": "10.0.0.0/16",
81                        "GatewayId": "local",
82                        "Origin": "CreateRouteTable",
83                        "State": "active"
84                    },
85                    {
86                        "DestinationCidrBlock": "0.0.0.0/0",
87                        "GatewayId": "igw-06cf664d80EXAMPLE",
88                        "Origin": "CreateRoute",
89                        "State": "active"
90                    }
91                ],
92                "Tags": [],
93                "VpcId": "vpc-0065acced4EXAMPLE",
94                "OwnerId": "111122223333"
95            }
96        ]
97    }
98
99For more information, see `Working with Route Tables <https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html#WorkWithRouteTables>`__ in the *AWS VPC User Guide*.
100