NSX CLI Guide
Associated Commands:
| CLI Description | Command |
|---|---|
Display a gatewayDisplay information about the specified gateway. |
get gateway <dpd-uuid-lrouter-arg>
|
Display QoS config for a gatewayDisplay QoS config for the specified gateway. |
get gateway <dpd-uuid-lrouter-arg> qos-config
|
Display stats for a gatewayDisplay statistics for the specified gateway. |
get gateway <dpd-uuid-lrouter-arg> stats
|
Display information about the specified GatewayDisplay information about the specified Gateway. |
get gateway <gateway-id>
|
Display the routing table for the specified GatewayDisplay the routing table for the specified Gateway. |
get gateway <gateway-id> <route-arg>
|
Display a specific IPv4 route on the specified GatewayDisplay a specific IPv4 route on the specified Gateway. |
get gateway <gateway-id> <route-arg> <network-address>
|
Get all routing Config entities on the specified Service GatewayGet all routing Config entities on the specified Service Gateway. |
get gateway <gateway-id> routing-config
|
Display a gatewayDisplay information about the specified gateway. |
get gateway <gateway_uuid_arg_esx>
|
Display logical router virtual IPsDisplay virtual IPs for the specified logical router instance. |
get gateway <gateway_uuid_arg_esx> service virtual-ip
|
Display a gatewayDisplay information about the specified gateway. |
get gateway <uuid-arg>
|
Display the gateway statisticsDisplay statistics for the gateway in the VRF context. |
get gateway stats
|
Display a proximity routing policy tableDisplay information about the specified proximity routing policy table. |
get gateway-policy-table <policy_table_id_arg_esx>
|
Display proximity gateway policy tables summaryDisplay information about proximity gateway policy tables on this hypervisor host. |
get gateway-policy-tables
|
Display gatewaysDisplay information about all gateways. |
get gateways
|
Display gateway summaryDisplay information about gateways on this hypervisor host. |
get gateways
|
Display information about gateways asscociated with the VIF on this public cloud hostDisplay information about gateways asscociated with the VIF on this public cloud host. |
get gateways
|
Display gateways and statsDisplay statistics for all gateways. |
get gateways stats
|
Display a logical routerDisplay information about the specified logical router. |
get logical-router <dpd-uuid-lrouter-arg>
(Deprecated)
|
Display QoS config for a logical routerDisplay QoS config for the specified logical router. |
get logical-router <dpd-uuid-lrouter-arg> qos-config
(Deprecated)
|
Display stats for a logical routerDisplay statistics for the specified logical router. |
get logical-router <dpd-uuid-lrouter-arg> stats
(Deprecated)
|
Display a logical routerDisplay information about the specified logical router. |
get logical-router <gateway_uuid_arg_esx>
(Deprecated)
|
Display logical router virtual IPsDisplay virtual IPs for the specified logical router instance. |
get logical-router <gateway_uuid_arg_esx> service virtual-ip
(Deprecated)
|
Display information about the specified logical routerDisplay information about the specified logical router. |
get logical-router <logical-router-id>
(Deprecated)
|
Display the routing table for the specified logical routerDisplay the routing table for the specified logical router. |
get logical-router <logical-router-id> <route-arg>
(Deprecated)
|
Display a specific IPv4 route on the specified logical routerDisplay a specific IPv4 route on the specified logical router. |
get logical-router <logical-router-id> <route-arg> <network-address>
(Deprecated)
|
Get all routing Config entities on the specified Service RouterGet all routing Config entities on the specified Service Router. |
get logical-router <logical-router-id> routing-config
(Deprecated)
|
Display logical router high availability state historyDisplay the high availability state history for the specified logical router. Only service routers have a high availability status. Use the get logical-routers command to get a list of logical routers and their router types. |
get logical-router <nsxa-uuid-service-router-arg> high-availability history state
(Deprecated)
|
Display logical router high availability state historyDisplay the high availability state history for the specified logical router. Only service routers have a high availability status. Use the get logical-routers command to get a list of logical routers and their router types. |
get logical-router <nsxa-uuid-service-router-arg> high-availability history state details
(Deprecated)
|
Display the logical router high availability statusDisplay the high availability status for the specified logical router. Only service routers have a high availability status. Use the get logical-routers command to get a list of logical routers and their router types. |
get logical-router <nsxa-uuid-service-router-arg> high-availability status
(Deprecated)
|
Display a logical routerDisplay information about the specified logical router. |
get logical-router <uuid-arg>
(Deprecated)
|
Display a proximity routing policy tableDisplay information about the specified proximity routing policy table. |
get logical-router-policy-table <policy_table_id_arg_esx>
|
Display proximity routing policy tables summaryDisplay information about proximity routing policy tables on this hypervisor host. |
get logical-router-policy-tables
|
Display information about logical routers asscociated with the VIF on this public cloud hostDisplay information about logical routers asscociated with the VIF on this public cloud host. |
get logical-routers
(Deprecated)
|
Display information about all logical routersDisplay information about all logical routers. |
get logical-routers
(Deprecated)
|
Display logical routersDisplay information about all logical routers. |
get logical-routers
(Deprecated)
|
Display logical router summaryDisplay information about logical routers on this hypervisor host. |
get logical-routers
(Deprecated)
|
Display logical routers and statsDisplay statistics for all logical routers. |
get logical-routers stats
(Deprecated)
|
Display external IP and internal IP of LSPDisplay external IP and internal IP of LSP. |
get lsp-eip-binding-under-ls <ls-uuid>
|
Display the logical router statisticsDisplay statistics for the logical router in the VRF context. |
get stats
|
Display the stats of all ifaces in the pathDisplay the statistics for all interfaces in the path. |
get stats
|
Display subnet vlan extension details per vniDisplay information about subnet vlan extension for given vni |
get subnet-vlan-extension <subnet_vlan_ext_vni_arg_esx>
|
Display subnet vlan extension mac table for given vni idDisplay information about subnet vlan extension for given vni |
get subnet-vlan-extension <subnet_vlan_ext_vni_arg_esx> mac-table
|
Display subnet vlan extension stats per vniDisplay information about subnet vlan extension stats for given vni |
get subnet-vlan-extension <subnet_vlan_ext_vni_arg_esx> stats
|
Display subnet vlan extension summaryDisplay information about subnet vlan extensions on this hypervisor host |
get subnet-vlan-extensions
|
Display Configured Connectivity Policies on CTGWDisplay information about connectivity policies under CTGW |
get tgw <dpd-uuid-lrouter-arg> connectivity-policy
|
Display Configured Connectivity Policy on CTGW for a given policyDisplay information about connectivity policy under CTGW for a given policy |
get tgw <dpd-uuid-lrouter-arg> connectivity-policy <vpc-policy-id>
|
Display Configured TGWsDisplay information about all TGWs. |
get tgws
|
Display transit gateway summaryDisplay information about transit gateways on this hypervisor host. |
get tgws
|
Display transit gateway summaryDisplay information on transit gateway routers at policy path on this hypervisor host. |
get tgws <policy-path-string-arg>
|
Display inter vpc connectivity policy summary for tgwDisplay information on inter vpc connectivity polices for tgw. |
get tgws <policy-path-string-arg> connectivity-policy
|
Display inter vpc connectivity policy summary for tgw for given policy id.Display information on inter vpc connectivity polices for tgw. |
get tgws <policy-path-string-arg> connectivity-policy <policy-id-arg>
|
Display external IP mapping table entries on the hostDisplay external IP mapping table entries on the host |
get transport-node external-ip
|
Display external IP mapping table entry on the hostDisplay external IP mapping table entry on the host |
get transport-node external-ip <ip-address>
|
Display virtual IP table entries on the hostDisplay virtual IP table entries on the host. |
get transport-node service-virtual-ip
|
Display virtual IP table entries on the hostDisplay virtual IP table entries on the host. |
get transport-node service-virtual-ip <ip-address>
|
Display a service instanceDisplay information about the specified VPC. |
get vpc <dpd-uuid-lrouter-arg>
|
Display the forwarding table of a VPCDisplay the forwarding table for the specified VPC. Use the get vpcs command to get a list of VPCs and their types. |
get vpc <dpd-uuid-lrouter-arg> forwarding
|
Display VPC high availability state historyDisplay the high availability state history for the specified VPC. Only service routers have a high availability status. Use the get vpcs command to get a list of VPCs and their types. |
get vpc <nsxa-uuid-service-router-arg> high-availability history state
|
Display the VPC high availability statusDisplay the high availability status for the specified VPC. Only service routers have a high availability status. Use the get vpcs command to get a list of VPCs and their types. |
get vpc <nsxa-uuid-service-router-arg> high-availability status
|
Display a service instanceDisplay information about the specified VPC. |
get vpc <vpc-policy-path-string-arg>
|
Display the forwarding table of a VPCDisplay the forwarding table for the specified VPC. Use the get vpcs command to get a list of VPCs and their types. |
get vpc <vpc-policy-path-string-arg> forwarding
|
Display VPC high availability state historyDisplay the high availability state history for the specified VPC. Only service routers have a high availability status. Use the get vpcs command to get a list of VPCs and their types. |
get vpc <vpc-policy-path-string-arg> high-availability history state
|
Display the VPC high availability statusDisplay the high availability status for the specified VPC. Only service routers have a high availability status. Use the get vpcs command to get a list of VPCs and their types. |
get vpc <vpc-policy-path-string-arg> high-availability status
|
Display Configured VPCsDisplay information about all VPCs. |
get vpc-policy-paths
|
Display vpc gateway summaryDisplay information about vpc gateway routers on this hypervisor host. |
get vpcs
|
Display Configured VPCsDisplay information about all VPCs. |
get vpcs
|
Display vpc gateway router summaryDisplay information on vpc gateway routers on this hypervisor host. |
get vpcs <policy-path-string-arg>
|
Display connectivity policy summary for vpcDisplay information on connectivity polices for vpc. |
get vpcs <policy-path-string-arg> connectivity-policy
|
Display connectivity policy summary for vpc for the given policy id.Display information on connectivity polices for vpc. |
get vpcs <policy-path-string-arg> connectivity-policy <policy-id-arg>
|
Display Intra connectivity policy workload summary for vpcDisplay information on intra connectivity polices workload information for vpc. |
get vpcs <policy-path-string-arg> connectivity-policy-workload
|
Display Intra connectivity policy workload summary for vpc for the given policy id.Display information on intra connectivity polices workload information for vpc. |
get vpcs <policy-path-string-arg> connectivity-policy-workload <policy-id-arg>
|
Display vpc segment summaryDisplay information on subnet on this hypervisor host. |
get vpcs <policy-path-string-arg> subnets
|
Total commands: 72