[Contents] [Prev] [Next] [Index] [Report an Error]

Operational Requests

Operational requests are requests for information about routing platform status, and correspond to the CLI operational mode commands listed in the JUNOS software command references. The JUNOS XML API defines a request tag element for many CLI commands. For example, the <get-interface-information> tag element corresponds to the show interfaces command, and the <get-chassis-inventory> tag element requests the same information as the show chassis hardware command.

The following sample request is for detailed information about the interface called ge-2/3/0:

<rpc>
    <get-interface-information>
        <interface-name>ge-2/3/0</interface-name>
        <detail/>
    </get-interface-information>
</rpc>
]]>]]>

For more information, see Requesting Operational Information. For information about the JUNOS XML request tag elements available in the current JUNOS software release, see the JUNOS XML API Operational Reference.


[Contents] [Prev] [Next] [Index] [Report an Error]