- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reference check in cli - Is it possible?
Is there an easy (preferrably, but anything goes..) way to cross-check any references to other items in the cli?
I just realised I don't know any way to do this...
Is it even possible?
Grep doesn' count...
:)
Richie
NSE7
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes
diag system checkused is a good thing to know.
http://socpuppet.blogspot.com/2014/10/a-few-examples-of-how-to-do-dependency.html
This is basically what the webGUI does. You ca check most object via he cli
examples
diag sys checkused firewall.adress.name <the exact name >
diag sys checkused firewall.addrgrp.name <the exact name>
diag sys checkused firewall.service.group.name msql
diag sys checkused firewall.vip.name < the exactname>
diag sys checkused firewall.service.custom.name < theexact name>
diag sys checkused firewall.policy.id
diag sys checkusd system.interface.name <interface exact name >
PCNSE
NSE
StrongSwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes
diag system checkused is a good thing to know.
http://socpuppet.blogspot.com/2014/10/a-few-examples-of-how-to-do-dependency.html
This is basically what the webGUI does. You ca check most object via he cli
examples
diag sys checkused firewall.adress.name <the exact name >
diag sys checkused firewall.addrgrp.name <the exact name>
diag sys checkused firewall.service.group.name msql
diag sys checkused firewall.vip.name < the exactname>
diag sys checkused firewall.service.custom.name < theexact name>
diag sys checkused firewall.policy.id
diag sys checkusd system.interface.name <interface exact name >
PCNSE
NSE
StrongSwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cool, thanks!
Richie
NSE7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A few more cool ones;
( vpn users and ldap )
diag sys checkused user.local.name theusernamehere
diag sys checkused user.ldap.name usernamehere
( interface in a vdom )
diag sys checkused system.vdom.name <vdomname>
( vpn interface )
dia sys checkused vpn.ipsec.phase1-interface.name interfacename
PCNSE
NSE
StrongSwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for 2-year-old thread resurrection, but is there a version dependency here? FG100E, running v6.0.4 build0231 (GA), and diag sys doesn't have a "checkused" ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sussed it out...
diagnose sys cmdb refcnt show firewall.vip.name
(for example)
