Warning displayed when using the "get logical-router(s)" command on NSX Manager
search cancel

Warning displayed when using the "get logical-router(s)" command on NSX Manager

book

Article ID: 422849

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • When executing the get logical-routers command, the following warning is displayed:
    Warning: Command has been deprecated, please plan moving to newer implementation 'get gateways'  before support of current command diminishes. Refer NSX-CLI guide for more details.
  • When executing the get logical-router command, the following warning is displayed:
    Warning: Command has been deprecated, please plan moving to newer implementation 'get gateway <gateway-id>'  before support of current command diminishes. Refer NSX-CLI guide for more details.

Environment

VMware NSX

Cause

The get logical-router(s) command is deprecated and might be scheduled for removal in a future release.

Resolution

Please use the get gateway(s) command instead.

Additional Information

NSX CLI Guide