[j-nsp] certain commands executed on CLI provide additional information over corresponding RPCs
Saku Ytti
saku at ytti.fi
Tue Mar 6 12:57:35 EST 2018
Hey Martin,
I don't follow you, the 'column' names are not needed, as they are in the tags?.
ytti at r21.labxtx01.us.bb> show ipv6 neighbors
IPv6 Address Linklayer Address State Exp Rtr
Secure Interface
fe80::290:69ff:fefb:b7f3 00:90:69:fb:b7:f3 reachable 12 yes no
ae4.0
ytti at r21.labxtx01.us.bb> show ipv6 neighbors |display xml
<ipv6-nd-neighbor-address>fe80::290:69ff:fefb:b7f3</ipv6-nd-neighbor-address>
<ipv6-nd-neighbor-l2-address>00:90:69:fb:b7:f3</ipv6-nd-neighbor-l2-address>
<ipv6-nd-state>stale</ipv6-nd-state>
<ipv6-nd-expire>1197</ipv6-nd-expire>
<ipv6-nd-isrouter>yes</ipv6-nd-isrouter>
<ipv6-nd-issecure>no</ipv6-nd-issecure>
<ipv6-nd-interface-name>ae4.0</ipv6-nd-interface-name>
Same information from my POV?
Maybe you'll prefer '|display json', which happens to be only format
JunOS supports which supports 'annotate' reasonably. Hopefully JNPR
will backport the JSON style annotate support to XML presentation.
On 6 March 2018 at 18:54, Martin T <m4rtntns at gmail.com> wrote:
> Hi!
>
> I have noticed that certain commands executed on CLI provide some
> additional information over corresponding RPCs. For example "show ipv6
> neighbors" or "show system storage" on CLI show column names while XML
> output does not contain this data. Why is that so?
>
>
> thanks,
> Martin
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
--
++ytti
More information about the juniper-nsp
mailing list