Networking > Layer 3 > Logical Gateway > Properties & Statistics

get logical-router <logical-router-id> <route-arg> <network-address> Deprecated new version is available here.

Display a specific IPv4 route on the specified logical router.

Parameters:

Option Description
<uuid> Logical Router identifier
Allowed pattern: ^[0-9]+$|^0x[0-9a-fA-F]+$|^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$
<route> Logical Router route description
Allowed values: route
<prefix> Network Address argument


Example:

nsx-controller-1> get logical-router db6760b3-d9e2-44ef-b1c4-f56138665d71 route 172.16.120.0/24 LR-Id Destination Next-Hop LR-Port-Id Blackhole Route-Type Admin-Distance Admin-State-Up Route-UUID 0x5 172.16.120.0/24 169.0.0.1 8b06827f-6325-4afd-b56d-6260ebf0a1a0 false NSX_CONNECTED 0 true 00000018-ac10-7800-0000-000000000005

Mode:

Basic

Availability: