Forum Discussion
Cannot see ip address via cli
- Nov 18, 2022
Hi davidy2001 ,
use this commend :root@(lab-ans)(cfg-sync Standalone)(Active)(/Common)(tmos)# list net self all-properties
you should see each self ip address and all relevant configurations.
>AS Enes_Afsin_Al said , when you issued this command : (list net interface all) , you are viewing the properities of interface itself , this interface assigned to multiple Vlans which we call it " sub-vlans " , so that imagine you have 1000 vlans with 1000 self ips and you need to assign them to interfaces , it does not make sense to get these ips under interface itself when you issue {list net interface all}
> Vlans are the main controller in your network configuration and choosing ips.
the best way to see all ips and their assigned Vlans is to list all of your self ips address , you see each self name , ips and its own vlan.
Regards
Hi davidy2001,
For list command:
You can see VLAN names under self IP addresses, and interface numbers under VLANs.
https://clouddocs.f5.com/cli/tmsh-reference/latest/modules/net/net_interface.html
https://clouddocs.f5.com/cli/tmsh-reference/latest/modules/net/net_vlan.html
https://clouddocs.f5.com/cli/tmsh-reference/latest/modules/net/net_self.html
If you display self IP addresses with the show command, you can get the VLAN and Interface information.
tmsh show net self | egrep "Net::Self|Net::Vlan"
Got "Syntax Error: "egrep", grep is currently the only filter that is supported "
- Nov 19, 2022
Hi,
If you execute the command in tmos, you will get this error. Can you run it in bash?
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com