Networking Forums

Networking Forums > Computer Networking > Windows Networking > How to set SNMP Community/String on Win2003 ?

Reply
Thread Tools Display Modes

How to set SNMP Community/String on Win2003 ?

 
 
Marlon Brown
Guest
Posts: n/a

 
      01-13-2006, 03:37 PM
Win2003SP1.
I need to set a community/string on SNMP.
From Add/Remove Programs I installed SNMP services and made sure it is
started.
Then I double click the respective "SNMP Service", I go to "Trap" tab. I
input the respective "Community" information and "Trap" destination IP
address.

Then I test the ports:
I do a portqry -n mywebserver -p both -e 61 (and 62) and portqyr tells me
"not listening".
Can someone tell me what I am missing. Why SNMP is not listening on ports
UDP 61 and 62 ?


 
Reply With Quote
 
 
 
 
Marlon Brown
Guest
Posts: n/a

 
      01-13-2006, 03:55 PM
Actually that should be UDP 161 I think.

"Marlon Brown" <(E-Mail Removed)> wrote in message
news:%238NFh%(E-Mail Removed)...
> Win2003SP1.
> I need to set a community/string on SNMP.
> From Add/Remove Programs I installed SNMP services and made sure it is
> started.
> Then I double click the respective "SNMP Service", I go to "Trap" tab. I
> input the respective "Community" information and "Trap" destination IP
> address.
>
> Then I test the ports:
> I do a portqry -n mywebserver -p both -e 61 (and 62) and portqyr tells me
> "not listening".
> Can someone tell me what I am missing. Why SNMP is not listening on ports
> UDP 61 and 62 ?
>



 
Reply With Quote
 
Neteng
Guest
Posts: n/a

 
      01-13-2006, 04:13 PM
Check the security tab under the SNMP Service.

"Marlon Brown" <(E-Mail Removed)> wrote in message
news:%238NFh%(E-Mail Removed)...
> Win2003SP1.
> I need to set a community/string on SNMP.
> From Add/Remove Programs I installed SNMP services and made sure it is
> started.
> Then I double click the respective "SNMP Service", I go to "Trap" tab. I
> input the respective "Community" information and "Trap" destination IP
> address.
>
> Then I test the ports:
> I do a portqry -n mywebserver -p both -e 61 (and 62) and portqyr tells me
> "not listening".
> Can someone tell me what I am missing. Why SNMP is not listening on ports
> UDP 61 and 62 ?
>
>



 
Reply With Quote
 
Marlon Brown
Guest
Posts: n/a

 
      01-13-2006, 04:52 PM
Under "Security" tab, I also input the respective community, I included the
IP address of the host I am doing portqry -p UDP -e 161 from.

However portqry returns "NOT LISTENING".
Any ideas ? I already restarted the SNMP services, no luck.

"Neteng" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Check the security tab under the SNMP Service.
>
> "Marlon Brown" <(E-Mail Removed)> wrote in message
> news:%238NFh%(E-Mail Removed)...
>> Win2003SP1.
>> I need to set a community/string on SNMP.
>> From Add/Remove Programs I installed SNMP services and made sure it is
>> started.
>> Then I double click the respective "SNMP Service", I go to "Trap" tab. I
>> input the respective "Community" information and "Trap" destination IP
>> address.
>>
>> Then I test the ports:
>> I do a portqry -n mywebserver -p both -e 61 (and 62) and portqyr tells me
>> "not listening".
>> Can someone tell me what I am missing. Why SNMP is not listening on ports
>> UDP 61 and 62 ?
>>
>>

>
>



 
Reply With Quote
 
Marlon Brown
Guest
Posts: n/a

 
      01-13-2006, 04:57 PM
Logged on from the local target server itself, Not even doing portqry
<IP_address_localhost> -p UDP -e 161 works; it returns "listening or
filtered".


"Marlon Brown" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Under "Security" tab, I also input the respective community, I included
> the IP address of the host I am doing portqry -p UDP -e 161 from.
>
> However portqry returns "NOT LISTENING".
> Any ideas ? I already restarted the SNMP services, no luck.
>
> "Neteng" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Check the security tab under the SNMP Service.
>>
>> "Marlon Brown" <(E-Mail Removed)> wrote in message
>> news:%238NFh%(E-Mail Removed)...
>>> Win2003SP1.
>>> I need to set a community/string on SNMP.
>>> From Add/Remove Programs I installed SNMP services and made sure it is
>>> started.
>>> Then I double click the respective "SNMP Service", I go to "Trap" tab. I
>>> input the respective "Community" information and "Trap" destination IP
>>> address.
>>>
>>> Then I test the ports:
>>> I do a portqry -n mywebserver -p both -e 61 (and 62) and portqyr tells
>>> me
>>> "not listening".
>>> Can someone tell me what I am missing. Why SNMP is not listening on
>>> ports
>>> UDP 61 and 62 ?
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Neteng
Guest
Posts: n/a

 
      01-13-2006, 05:46 PM
OK. If it's working locally but not on the LAN, there's probably an ACL
blocking. Are you crossing any routers/firewalls or are you on the same
network?

"Marlon Brown" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Logged on from the local target server itself, Not even doing portqry
> <IP_address_localhost> -p UDP -e 161 works; it returns "listening or
> filtered".
>
>
> "Marlon Brown" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Under "Security" tab, I also input the respective community, I included
> > the IP address of the host I am doing portqry -p UDP -e 161 from.
> >
> > However portqry returns "NOT LISTENING".
> > Any ideas ? I already restarted the SNMP services, no luck.
> >
> > "Neteng" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> >> Check the security tab under the SNMP Service.
> >>
> >> "Marlon Brown" <(E-Mail Removed)> wrote in message
> >> news:%238NFh%(E-Mail Removed)...
> >>> Win2003SP1.
> >>> I need to set a community/string on SNMP.
> >>> From Add/Remove Programs I installed SNMP services and made sure it is
> >>> started.
> >>> Then I double click the respective "SNMP Service", I go to "Trap" tab.

I
> >>> input the respective "Community" information and "Trap" destination IP
> >>> address.
> >>>
> >>> Then I test the ports:
> >>> I do a portqry -n mywebserver -p both -e 61 (and 62) and portqyr tells
> >>> me
> >>> "not listening".
> >>> Can someone tell me what I am missing. Why SNMP is not listening on
> >>> ports
> >>> UDP 61 and 62 ?
> >>>
> >>>
> >>
> >>

> >
> >

>
>



 
Reply With Quote
 
Marlon Brown
Guest
Posts: n/a

 
      01-13-2006, 08:15 PM
Neteng, it is not working even locally; I am not sure what I am missing. If
it was working, portqry should return "Listening" not "filtered or
listening". Thanks !

"Neteng" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> OK. If it's working locally but not on the LAN, there's probably an ACL
> blocking. Are you crossing any routers/firewalls or are you on the same
> network?
>
> "Marlon Brown" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Logged on from the local target server itself, Not even doing portqry
>> <IP_address_localhost> -p UDP -e 161 works; it returns "listening or
>> filtered".
>>
>>
>> "Marlon Brown" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Under "Security" tab, I also input the respective community, I included
>> > the IP address of the host I am doing portqry -p UDP -e 161 from.
>> >
>> > However portqry returns "NOT LISTENING".
>> > Any ideas ? I already restarted the SNMP services, no luck.
>> >
>> > "Neteng" <(E-Mail Removed)> wrote in message
>> > news:(E-Mail Removed)...
>> >> Check the security tab under the SNMP Service.
>> >>
>> >> "Marlon Brown" <(E-Mail Removed)> wrote in message
>> >> news:%238NFh%(E-Mail Removed)...
>> >>> Win2003SP1.
>> >>> I need to set a community/string on SNMP.
>> >>> From Add/Remove Programs I installed SNMP services and made sure it
>> >>> is
>> >>> started.
>> >>> Then I double click the respective "SNMP Service", I go to "Trap"
>> >>> tab.

> I
>> >>> input the respective "Community" information and "Trap" destination
>> >>> IP
>> >>> address.
>> >>>
>> >>> Then I test the ports:
>> >>> I do a portqry -n mywebserver -p both -e 61 (and 62) and portqyr
>> >>> tells
>> >>> me
>> >>> "not listening".
>> >>> Can someone tell me what I am missing. Why SNMP is not listening on
>> >>> ports
>> >>> UDP 61 and 62 ?
>> >>>
>> >>>
>> >>
>> >>
>> >
>> >

>>
>>

>
>



 
Reply With Quote
 
Todd J Heron [MVP]
Guest
Posts: n/a

 
      01-14-2006, 01:42 AM
"Marlon Brown" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Neteng, it is not working even locally; I am not sure what I am missing.
> If it was working, portqry should return "Listening" not "filtered or
> listening". Thanks !


Perhaps you have a firewall or IPSec enabled. A service can be "listening"
but a firewall at the same time can block all attempts to access it.

--
Todd J Heron, MVP Windows Server - Networking
MCSE - Windows Server 2003/2000/NT; CCA

 
Reply With Quote
 
Marlon Brown
Guest
Posts: n/a

 
      01-17-2006, 07:35 PM
Got that working;I see SNMP packets flowing alright. I tested other server -
in which SNMP is functional - and it returns listening or filtered.

The only problem is that I am not getting any data from such server... I am
wondering whether I need to install MIB's for SNMP on Win2003 SP1... ?


"Todd J Heron [MVP]" <todd_heron(delete)@hotmail.com> wrote in message
news:(E-Mail Removed)...
> "Marlon Brown" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> Neteng, it is not working even locally; I am not sure what I am missing.
>> If it was working, portqry should return "Listening" not "filtered or
>> listening". Thanks !

>
> Perhaps you have a firewall or IPSec enabled. A service can be
> "listening" but a firewall at the same time can block all attempts to
> access it.
>
> --
> Todd J Heron, MVP Windows Server - Networking
> MCSE - Windows Server 2003/2000/NT; CCA



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set SNMP Community Strings for w2k and 2k3? BW Windows Networking 2 05-03-2007 03:03 PM
SNMP on Win2003 - Perfmib files missing toniintc@gmail.com Windows Networking 0 08-21-2006 07:15 PM
SNMP service is running OK, but get no SNMP relevant data from ser Marlon Brown Windows Networking 0 01-18-2006 06:14 PM
Win2003 server snmp.exe 100% cpu after SP1 Matt Scoff Windows Networking 0 10-01-2005 10:02 PM
Two PCs, one piece of wet string nic Home Networking 15 05-23-2004 01:14 PM



1 2 3 4 5 6 7 8 9 10 11