I’ve recently had to verify vlans on some switches. Normally in a Cisco switch I look at the config for this, just do a show “run | section vlan” or maybe some “show vlans” command variations. Now being new to Junos I tried a basic “show configuration | display set” and got to the vlan section…what a mess.
The output in the config is sorted by the name of the vlan. Not very helpful when you have a list of numbers you want to check off quickly. “show vlans sort-by tag brief ” got me as close as I was going to get to a list of numerical vlans on the switch. It’s at least sorted by the right field, but still displays the vlan name first.