snmpwalk with "-Ib" option (regexp)

"Livio Zanol Puppim" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello everyone,

I've tried to use the regex expression match, with the "-Ib" option to
SNMPWALK, but couldn't find a way to make it work... Can someone guide me to
what I'm doing wrong? Take a look at the outputs below:

root@Linux:~# snmpwalk -v 1 -c public 127.0.0.1 -Ib -Oqn
TCP-MIB::tcpConnState.10.*
TCP-MIB::tcpConnState.10.*: Unknown Object Identifier (Index out of range: *
(tcpConnLocalAddress))


root@Linux:~# snmpwalk -v 1 -c public 127.0.0.1 -Ib -Oqn
TCP-MIB::tcpConnState.127.0.0.1.*
TCP-MIB::tcpConnState.127.0.0.1.*: Unknown Object Identifier (Index out of
range: * (tcpConnLocalPort))


root@Linux:~# snmpwalk -v 1 -c public 127.0.0.1 -Ib -Oqn
TCP-MIB::tcpConnState.127.0.0.1.*.10
TCP-MIB::tcpConnState.127.0.0.1.*.10: Unknown Object Identifier (Index out
of range: * (tcpConnLocalPort))


root@Linux:~# snmpwalk -v 1 -c public 127.0.0.1 -Ib -Oqn
"TCP-MIB::tcpConnState.127.0.0.1.*.10"
TCP-MIB::tcpConnState.127.0.0.1.*.10: Unknown Object Identifier (Index out
of range: * (tcpConnLocalPort))


root@Linux:~# snmpwalk -v 1 -c public 127.0.0.1 -Ib -Oqn
"TCP-MIB::tcpConnState.127.0.0.1.\d+.10"
TCP-MIB::tcpConnState.127.0.0.1.\d+.10: Unknown Object Identifier (Index out
of range: \d+ (tcpConnLocalPort))


root@Linux:~# snmpwalk -v 1 -c public 127.0.0.1 -Ib -Oqn
'TCP-MIB::tcpConnState.127.0.0.1.\d+.10.'
TCP-MIB::tcpConnState.127.0.0.1.\d+.10.: Unknown Object Identifier (Index
out of range: \d+ (tcpConnLocalPort))


root@Linux:~# snmpwalk -v 1 -c public 127.0.0.1 -Ib
'TCP-MIB::tcpConnState.127.0.0.1.*.10.'
TCP-MIB::tcpConnState.127.0.0.1.*.10.: Unknown Object Identifier (Index out
of range: * (tcpConnLocalPort))


root@Linux:~# snmpwalk -v 1 -c public 127.0.0.1 -Ib
'TCP-MIB::tcpConnState.127.0.0.1.*'
TCP-MIB::tcpConnState.127.0.0.1.*: Unknown Object Identifier (Index out of
range: * (tcpConnLocalPort))


root@Linux:~# snmpwalk -v 1 -c public 127.0.0.1 -Ib
'TCP-MIB::tcpConnState.127.0.0.1*'
TCP-MIB::tcpConnState.127.0.0.1*: Unknown Object Identifier (Index out of
range: 4* (tcpConnLocalAddress))


root@Linux:~# snmpwalk -v 1 -c public 127.0.0.1 -Ib 1.3.6.1*
1.3.6.1*:


root@Linux:~# snmpwalk -v 1 -c public 127.0.0.1 -Ib 1.3.6.1.2.1*
1.3.6.1.2.1*:


root@Linux:~# snmpwalk -v 1 -c public 127.0.0.1 -Ib 1.3.6.1.2.1.*
1.3.6.1.2.1.*:


Thanks in advance

-- 
[]'s

Lívio Zanol Puppim

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.