NSXCLI minor change

Preamble

With VCF9 and in more detail NSX9 I noticed a small change in NSXCLI. Maybe it's not a change and more an expected behavior, but for daily business it seems that I need to adjust.

What am I talking about?

Observation

If you SSH into an edge (short for NSX edge) you login with admin and password to access the NSXCLI immediately. I use it a lot to analyze routing tables because the download option in the UI is to lengthy and awkward for my thinking. 

After the login I start with 'get logical-router' command to display available VRF IDs to change context to collect needed information. I did not fat-finger the command listed. In the past it always worked, because it seemed that 'get logical-router' and 'get logical-routers' were synonyms. In NSX9 they aren't anymore. Honestly, now it makes a lot more sense to me, but I am as lazy as anybody else, if I can save a single character I do ;-).

Now I need to adjust to use the correct command to get the expected result.

Difference of the two commands

Here is the difference I observed:

get logical-router

2026-02-08_09-01-31

As you can see, the singular of the command displays available options to access detailed information by appending the uuid of the logical router object.

get logical-routers

2026-02-08_09-02-10

The plural of the command displays available logical router objects with needed additional information to change the context in the NSXCLI to gain more detailed information of the object itself.

As I mentioned I like the change, even I need to adjust, because the result reflects the command from a language perspective. The difference between singular and plural.

Thanks for reading, have a great day.

Related News

Homelab Upgrade to VCF 9.0.2
Preamble My plan was to create an article discussing basic configurations in the homelab...
Lessons learned - Part 1
Today is all about lessons learned during the first deployment in my new homelab and...
First VCF9 deployment in my new homelab
Preamble Update on the hardware Before discussing the actual deployment, I would like to...
Start into the VCF9 era - my new homelab
Introduction Sooner or later everyone has to and now I started into the whole VCF9 era...
Why Our Customers Are Obsessed with VMware Cloud Foundation 9
At comdivision, we’ve helped hundreds of organisations navigate the shift from...
Edge Gateway Firewall Rules - Policy Configuration
This article describes a failure in edge gateway firewall rule creation. Affected vCD...
dummy_contact-banner_get-in-touch

Questions? Get in touch!

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus.