- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
11-09-2018 10:01 AM - edited 11-09-2018 10:01 AM
Despite me reading alot of documentation i have not really understood this.
Im trying to add a device in panorama, so i run this command from the cli.
set mgt-config devices 1234555 hostname 1234
This gives me the following output.
(container-tag: mgt-config container-tag: devices container-tag: entry key-tag: name value: 1234555 leaf-tag: hostname value: 1234) ((eol-matched: . #t) (xpath-prefix: . /config) (context-inserted-at-end-p: . #f) ) (mgt-config (devices (entry (@ (name 1234555)) (hostname 1234)))) (hostname 1234) <request cmd="set" obj="/config/mgt-config/devices/entry[@name='1234555']" cooki e="5357976790132914"><hostname>1234</hostname></request> 2018-11-09 16:35:03 <response status="success" code="20"><msg>command succeeded</msg></response>
11-11-2018 10:33 AM
I found this, however as BPry points out, the user dont put the answer in code box, so i still dont know the answer 🙂
11-19-2018 08:13 AM
According to that other post, looks like at the end of the code they are adding
devices&element=<entry>@name="SerialNumber"</entry>
Have you tried that or some variation of that?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!