Re: No -p port parameter?
Wes Hardaker <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Sparta |
| Message-ID | <[email protected]> |
>>>>> On Thu, 30 Mar 2006 11:08:13 -0500, Jean-Sebastien Morisset <[email protected]> said: Jean-Sebastien> I'm trying to snmpwalk a server that uses a different Jean-Sebastien> port number (1661). This isn't a port number I would Jean-Sebastien> usually use, so I don't want to add it as a default to Jean-Sebastien> my snmp.conf file. Is there a way to specify the port Jean-Sebastien> number on the command line of snmpwalk? BTW, I'm using Jean-Sebastien> Net-SNMP v5.3.0.1. Net-SNMP uses a generic host name specification method to deal with this (we used to have a -p flag, but it didn't make sense for all transports so we merged everything into one "name" token). EG, if you use hostname:1661 you'll hit port 1661. If you use udp6:hostname:1661 you'll use ipv6 to hostname on port 1661... -- Wes Hardaker Sparta, Inc. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ 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