Hi,
I would like to query a Cisco ASR9001 using XML.
My ASR9001 is working as BNG and I would like to make specific queries to monitor users with XML.
In Cisco documentation I found the XML equivalent to the "show subscriber session ..." command:
show subscriber session all summary location <location>
Subscriber.Session.NodeTable.Node.Summary
sh sub sess all detail location <location>
Subscriber.Session.NodeTable.Node.SessionTable(SubscriberDetailAllSessionFilter)
sh sub sess all username loc
Subscriber.Session.NodeTable.Node.SessionTable(SubscriberAllUsenameFilter)
The question is: how to build the correct XML query?
I was unable to find the XML schema or adapt an XML example.
My initial XML file is this:
RP/0/RSP0/CPU0:ASR9001#xml format echo
Thu Nov 2 15:59:58.250 MET
XML>
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Get>
<Configuration>
<Subscriber> <Session><NodeTable><Node>
<SessionTable></SessionTable>
</Node></NodeTable></Session></Subscriber>
</Configuration>
</Get>
</Request>
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0" ErrorCode="0xa367ca00" ErrorMsg="'XML Service Library' detected the 'fatal&ap
that the XML Request is invalid.'">
<ResultSummary ErrorCount="0"/>
</Response>
XML>
Did any of you had the same problem?
Thankyou
Gianrico Fichera