Networking > Layer 3 > Logical Gateway > Routing > Routes

get logical-router <uuid> route [<prefix>]

Display the routing table for the specified logical router. You must specify a tier 0 service router in this command. Use the get logical-routers command to get a list of logical routers and their router types.

Optionally specify a prefix or IPv4 address to display only the route used for that network.

Parameters:

Option Description
<uuid> Datapath UUID argument
<prefix> Prefix or IP address with optional prefix length


Example:

nsx-edge-1> get logical-router 3a57c438-7ee9-4ba2-92ef-6f758931e1be route 22.3.3.0/24 Flags: t0c - Tier0-Connected, t0s - Tier0-Static, b - BGP, t0n - Tier0-NAT, t1s - Tier1-Static, t1c - Tier1-Connected, t1n: Tier1-NAT, t1l: Tier1-LB VIP, t1ls: Tier1-LB SNAT, t1d: Tier1-DNS FORWARDER, > - selected route, * - FIB route Total number of routes: 1 t0s> * 22.3.3.0/24 [103/0] via 50.50.50.10, uplink-273, 00:52:33

Mode:

Basic

Availability: