[j-nsp] junosscript call to get negotiated speed/duplex?

Phil Shafer phil at juniper.net
Fri Jan 21 16:24:03 EST 2011


Phil Shafer writes:
>You can use the new "display xml rpc" pipe to show the
>exact arguments supported by the RPC.

Sorry, meant to include an example:

user at cli> show interfaces fe-0/2/0 extensive routing-instance foo | display xml rpc    
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/11.2I0/junos">
    <rpc>
        <get-interface-information>
                <routing-instance>foo</routing-instance>
                <extensive/>
                <interface-name>fe-0/2/0</interface-name>
        </get-interface-information>
    </rpc>
    <cli>
        <banner></banner>
    </cli>
</rpc-reply>

Thanks,
 Phil


More information about the juniper-nsp mailing list