Networking
>
Layer 3
>
Logical Gateway
>
Forwarding
get gateway forwarding [<prefix>]
Display the forwarding table for the gateway in the VRF context. Optionally specify a prefix to display only the entry that matches that network.
Parameters:
<prefix> |
Network Address argument |
Example:
nsx-edge-1(tier0_sr)> get gateway forwarding e9d3379d-aba7-4459-9262-18bc95eaeec1
Gateway
UUID VRF Gateway-ID Name Type
e9d3379d-aba7-4459-9262-18bc95eaeec1 1 1 SERVICE_ROUTER_TIER0
IPv4 Forwarding Table
IP Prefix Gateway IP Type UUID Gateway MAC
127.0.0.1/32 route 4b115e5f-1395-54c3-aaf0-0de5736f99df
172.20.1.0/24 route 6c427841-e151-4479-9184-4196cfcef3b6
172.20.1.60/32 route 4b115e5f-1395-54c3-aaf0-0de5736f99df
172.24.4.1/32 172.20.1.50 route 6c427841-e151-4479-9184-4196cfcef3b6
or
nsx-edge-1(tier0_sr)> get gateway forwarding 172.16.110.0/24
Gateway
UUID VRF Name Type
e9d3379d-aba7-4459-9262-18bc95eaeec1 1 SERVICE_ROUTER_TIER0
IPv4 Forwarding Table
IP Prefix Gateway IP Type UUID Gateway MAC
172.24.4.1/32 172.20.1.50 route 6c427841-e151-4479-9184-4196cfcef3b6
Mode:
VRF, Tier0 SR, Tier1 SR
Availability: