[j-nsp] XNM and "match"
Thomas Eichhorn
te at te3networks.de
Mon Apr 19 06:10:04 EDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I'am again stuck with XNM/JunoScript,
maybe you have an idea:
I try to get the arp cache from the router,
but only a specific arp entry - but this seems not to work.
The "get-arp-table" xml command doesn't have any filtering command,
and if I try: <rpc><command>show arp no-resolve | match $ip </command></rpc>
there are two results: If it doesn't match (the ARP entry is not in the table),
I get no result - if the entry is in the table I get the full table.
Is there any possibility to get only one specific entry or must I filter
within my application? This is quite unperformant, because some of the ARP-tables
on my router are VERY big...
Thanks,
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkvMK/wACgkQrUvjMoak8ZdPgACfa6W6AmZ27KvDnIa7jqiFltDY
HbUAoIcCTr7Hq2My96S9cxJ3ZDArzKRu
=wn+E
-----END PGP SIGNATURE-----
More information about the juniper-nsp
mailing list