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 IPv6 address to display only the route used for that network.

Parameters:

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


Example:

nsx-edge-1> get logical-router 3a57c438-7ee9-4ba2-92ef-6f758931e1be route 2002::/64 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 t1c> * 2002::/64 [3/0] via fca9:1c1c:96b2:e000::2, downlink-282, 00:56:03

Mode:

Basic

Availability: