[j-nsp] Using XML to query Junos

Bit Gossip bit.gossip at chello.nl
Wed May 13 10:27:26 EDT 2009


Experts,
do you have pointers or examples on how to use XML to fetch data instead 
of snmp?

IE I would like the output of this snmpwalk in a single XML document.......

lab at rc2> show snmp mib walk ifAlias            
ifAlias.1   
ifAlias.4   
ifAlias.5   
ifAlias.6   
ifAlias.7   
ifAlias.8   
ifAlias.9   
ifAlias.10  
ifAlias.11  
ifAlias.12  
ifAlias.13  
ifAlias.16  
ifAlias.17  
ifAlias.18  
ifAlias.21  
ifAlias.22  
ifAlias.23  
ifAlias.24  
ifAlias.115 
ifAlias.116   = *** rc1 gi3/0 ***
ifAlias.117   = *** rs1 gi4/0/1 ***
ifAlias.118 
ifAlias.119 
ifAlias.120 
ifAlias.121 
ifAlias.122   = *** switch 1/4 ***
<...>

Thanks,
Bit.



More information about the juniper-nsp mailing list