vADC Forum

Reply
New Contributor
Posts: 2
Registered: ‎03-03-2015
Accepted Solution

TrafficScript + VirtualServer Listing

Hi

Is there a way I can easily see the TrafficScript name plus the VirtualServers that are using it?

Thanks

Kerry

Contributor
Posts: 40
Registered: ‎03-26-2013

Re: TrafficScript + VirtualServer Listing

Do you need to script it?

If you don't, the Config Summary page might do the trick: /apps/zxtm/index.fcgi?section=Config%20Summary

If you do, I would use zcli and those commands:


admin@127.0.0.1 > VirtualServer.getVirtualServerNames


[ VS1, VS2 ]




admin@127.0.0.1 > VirtualServer.getRules "VS1"


[ { enabled:      1,


    name:          "SECURITY - Block TRACE+TRACK requests",


    run_frequency: only_first },


  { enabled:      1,


    name:          "VS1 Rule",


    run_frequency: only_first } ]




admin@127.0.0.1 > VirtualServer.getRules "VS2"


[ { enabled:      1,


    name:          "SECURITY - Block TRACE+TRACK requests",


    run_frequency: only_first },


  { enabled:      1,


    name:          "VS2 Rule",


    run_frequency: only_first } ]



New Contributor
Posts: 2
Registered: ‎03-03-2015

Re: TrafficScript + VirtualServer Listing

Zcli option was exactly what I required, thank you

Kerry

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.