Try
nvUtil e '(isInterface=True)'
'%IP Address%,%Selection Name%,%SNMP ifPhysAddr%'
For the sample interface below, that
would give
172.16.5.20,thisnode.mydomaincom:eth1,0x001321AF82F5
# ovobjprint -s thisnode.mydomain.com:eth1
OBJECTID
SELECTION NAME
OBJECT: 6054
FIELD ID
FIELD NAME
FIELD VALUE
10
Selection Name
"thisnode.mydomaincom:eth1"
14
OVW Maps Exists
1
15
OVW Maps Managed
1
24
SNMP ifType
Ethernet CSMACD(6)
25
SNMP ifPhysAddr
"0x001321AF82F5"
26
SNMP ifDescr
"eth1"
27
SNMP ifSpeed
100000000
37
IP Address
"172.16.5.20"
39
IP Subnet Mask
"255.255.255.0"
40
IP Status
Normal(2)
83
isCard
TRUE
84
isInterface
TRUE
89
isHSRP
FALSE
95
isIP
TRUE
173
XXMAP Protocol List
"IP"
174
XXMAP SAPs Used List
0
202
TopM Network ID
6058
203
TopM Segment ID
6059
204
TopM Node ID
6055
1520
default IP Symbol List
10376
#
See also that tool script 'macem.sh'
I left there that looks up the mac in Netview for a list of IP addresses.
Cordially,
Leslie A. Clark
IT Services Specialist, Network Mgmt
Information Technology Services Americas
IBM Global Services
(248) 552-4968 Voicemail, Fax, Pager
"Kain, Becki \(B.\)"
<bkain1 AT ford DOT com>
Sent by: nv-l-bounces AT lists.ca.ibm DOT com
04/30/2007 04:15 PM
Please respond to
Tivoli NetView Discussions <nv-l AT lists.ca.ibm DOT com> |
|
To
| "Tivoli NetView Discussions"
<nv-l AT lists.ca.ibm DOT com>
|
cc
|
|
Subject
| [NV-L] Discovery questions |
|
Oh gentle learned people, I have some questions
for a discovery that we are doing:
1. i'm scanning by lists of whole ranges
of ip's, listed ip by ip in the seedfile. Some things may not be
in dns and I'm looking for all things on that network segment, be them
servers, routers, switches, etc.. They may or may not have snmp enabled.
I was teasing this data out of the database with "nvUtil e isNode=TRUE"
but is there a better way?
2. if snmp is enabled, is there an easy
way to get all the mac addresses of all of the interfaces of a device?
Thank you in advance
-Becki Kain _______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to
internal IBM'ers only)
_______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to
internal IBM'ers only)
|