NSX CLI Guide

Associated Commands:

CLI Description Command

Display the MAC table or IP FIB


Display forwarding information for the current interface. If the interface is a switch port, the MAC address table is displayed. If the interface is a router interface, the IP forwarding table is displayed.
get forwarding

Display the forwarding table


Display the forwarding table for the logical router in the VRF context. Optionally specify a prefix to display only the entry that matches that network.
get forwarding [<prefix>]

Display forwarding information for a gateway


Display forwarding for the specified gateway.
get gateway <uuid-arg> forwarding

Display forwarding information for a gateway


Display forwarding for the specified gateway, filtered by prefix.
get gateway <uuid-arg> forwarding <network46-address>

Display forwarding information for a gateway


Display forwarding for the specified gateway filtered on prefix.
get gateway <uuid-arg> forwarding <network46-address>

Display IPv4 forwarding for a gateway


Display IPv4 forwarding for the specified gateway.
get gateway <uuid-arg> forwarding ipv4

Display IPv6 forwarding for a gateway


Display IPv6 forwarding for the specified gateway.
get gateway <uuid-arg> forwarding ipv6

Display the forwarding table


Display the forwarding table for the gateway in the VRF context. Optionally specify a prefix to display only the entry that matches that network.
get gateway forwarding [<prefix>]

Display forwarding information for a logical router


Display forwarding for the specified logical router.
get logical-router <uuid-arg> forwarding (Deprecated)

Display forwarding information for a logical router


Display forwarding for the specified logical router filtered on prefix.
get logical-router <uuid-arg> forwarding <network46-address> (Deprecated)

Display forwarding information for a logical router


Display forwarding for the specified logical router, filtered by prefix.
get logical-router <uuid-arg> forwarding <network46-address> (Deprecated)

Display IPv4 forwarding for a logical router


Display IPv4 forwarding for the specified logical router.
get logical-router <uuid-arg> forwarding ipv4 (Deprecated)

Display IPv6 forwarding for a logical router


Display IPv6 forwarding for the specified logical router.
get logical-router <uuid-arg> forwarding ipv6 (Deprecated)

Display the logical router forwarding table


Display the forwarding table for the specified logical router. Optionally specify a prefix to display only the entry that matches that network.
get logical-router <uuid> forwarding [<prefix>] (Deprecated)

Total commands: 14