Jump to content
Welcome to our new Citrix community!

why is "show tm trafficPolicy -format" empty?


Peter Erler

Recommended Posts

I use Netscaler CLI to get information about my trafficPolicy tp_single-logout.

> show tm trafficPolicy tp_single-logout
        Name: tp_single-logout
        Rule: HTTP.REQ.URL.PATH.CONTAINS("/cgi/logout")
        Action: ta_single-logout
        Hits: 1


        Policy is bound to following LB SERVERS
1)      Bound to: REQ VSERVER lb_vt3cms02_auth_www.vdvt.at
        Priority: 100

 Done
>

 

But if I want to see the output in INPUT-format the output is empty.

> show tm trafficPolicy tp_single-logout -format INPUT
 Done
>

 

Is something wrong or is it a bug?

 

Regards,

Peter

 

Link to comment
Share on other sites

-format input just gives you the actual input command, correct?  (I haven't used the -format options in so long, I forget they are there.)

 

Try alternate command:

show ns runningconfig | grep trafficpolicy -i

show ns runningconfig | grep <policyname> -i

 

Also, do the following to see if it even accepts all the expected -input commands (not always in the help for all objects; so this may not confirm anything)

help show tm trafficpolicy

show tm trafficpolicy <policyname> -format ?

 

It might just be a bug with the old style -format input commands choking on the advanced policy engine on a few objects that were classic engine only at one time (or maybe it breaks on all advanced policy expressions).  

I've seen not all -format options exist on all objects. Whether that is intentional or a bug, I can't say.

 

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...