Junos OS

last person joined: 21 hours ago 

Ask questions and share experiences about Junos OS.
  • 1.  XML tag format equivalent for 'show l2-learning mac-move-buffer extensive' cli command

    Posted 09-12-2011 19:16

    Hello,

     

    does any one know what the XML API call format is for the cli command 'show l2-learning mac-move-buffer extensive' ?

     

    I cannot find any reference in the JUNOS XML Operational Tag Elements documentation?

     

    Richard McCarthy

    NEC Australia Pty Ltd



  • 2.  RE: XML tag format equivalent for 'show l2-learning mac-move-buffer extensive' cli command
    Best Answer

    Posted 09-13-2011 00:52

    Hello,

    Generally speaking, always use "<show command> | display xml rpc" CLI to get a XML RPC:

     

    --- JUNOS 10.4R7.4 built 2011-09-02 05:32:26 UTC
    {master}
    aarseniev@mx960-re1> ...ve-buffer extensive | display xml rpc               
    <rpc-reply xmlns:junos="http://xml.juniper.net/junos/10.4R7/junos">
        <message>
            xml rpc equivalent of this command is not available.
        </message>
        <cli>
            <banner>{master}</banner>
        </cli>
    </rpc-reply>

     Not available in 10.4R7, sorry. Please raise a JTAC case to get this XML RPC added.

    HTH

    Rgds

    Alex 

     



  • 3.  RE: XML tag format equivalent for 'show l2-learning mac-move-buffer extensive' cli command

    Posted 09-13-2011 00:57

    Thanks Alex,

     

    I've always wanted to know how to get the equivalent XML command and didn't realise that this option was available on the cli!

     

    I'll lodge a JTAC request to get this command included in a future release. As an alternative, I might write a simple op script and then call it via an RPC command.

     

    Regards,

     

    Richard