Forum Discussion

mplaksin0's avatar
mplaksin0
Icon for Cirrus rankCirrus
Mar 08, 2021

Vlans and Self of specific partition

Hello, i need to know, how can i query al vlans of specific partition in a "+short" result?

And the ip address/self-ips?

Thanks

2 Replies

  • If you are looking to list all VLANs or self IPs in a specific partition in a series of single-line responses, you could try the following, substituting whatever partition name you want to list in place of the reference to "Common" in the code below.

    tmsh list net vlan /Common/* one-line
    tmsh list net self /Common/* one-line

    I am not certain if that is what you meant by a "+short result."