You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CLI example junos.rpc documentation , dest keyword is missing ...
root@nms5-salt-master-a:/srv/pillar# salt 'vmx1' junos.rpc get-config /var/log/out1.txt format=xml
This function executes the RPC provided as arguments on the junos device.
The returned data can be stored in a file.
cmd
The RPC to be executed
dest
Destination file where the RPC output is stored. Note that the file
will be stored on the proxy minion. To push the files to the master use
:py:func:`cp.push <salt.modules.cp.push>`.
format : xml
The format in which the RPC reply is received from the device
dev_timeout : 30
The NETCONF RPC timeout (in seconds)
filter
Used with the ``get-config`` RPC to get specific configuration
terse : False
Amount of information you want
interface_name
Name of the interface to query
CLI Example:
.. code-block:: bash
salt 'device' junos.rpc get_config /var/log/config.txt format=text filter='<configuration><system/></configuration>'
salt 'device' junos.rpc get-interface-information /home/user/interface.xml interface_name='lo0' terse=True
salt 'device' junos.rpc get-chassis-inventory
The text was updated successfully, but these errors were encountered:
Description of Issue/Question
The text was updated successfully, but these errors were encountered: