Junos Automation (Scripting)
Reply
Trusted Contributor
Luca
Posts: 325
Registered: ‎06-11-2009
0

<rpc><get-firewall-information>

We have a program that issues the following command on our SRX <rpc><get-firewall-information></get-firewall-information></rpc> via junosscripting.  

 

Anyone know what this command is supposed to do?  what output is expected from this?  From the research I have done the <get-firewall-information> command is usuall used with another command to get something specific like <get-firewall-information><counter>counter-name</counter>

 

Does anyone know what the <get-firewall-information> on its own is supposed to acchive or how can i test its responsE?

Recognized Expert
Mattia
Posts: 198
Registered: ‎03-17-2010
0

Re: <rpc><get-firewall-information>

[ Edited ]
Hi, that XML request corresponds to the operational command "show firewall" (look at this document for reference: http://www.juniper.net/techpubs/software/junos/junos103/junos-xml-ref-oper/frameset.htm ). To get the output of the command, type "show firewall | display xml".
.................................................................................
JNCIP-ENT, JNCIP-SEC, JNCIS-SP
(If this post helped you, please mark it as an "Accepted Solution"; kudos are also appreciated!)


Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.