How to set SNMP Community/String on Win2003 ?

Discussion in 'Windows Networking' started by Marlon Brown, Jan 13, 2006.

  1. Marlon Brown

    Marlon Brown Guest

    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 ?
     
    Marlon Brown, Jan 13, 2006
    #1
    1. Advertisements

  2. Marlon Brown

    Marlon Brown Guest

    Actually that should be UDP 161 I think.
     
    Marlon Brown, Jan 13, 2006
    #2
    1. Advertisements

  3. Marlon Brown

    Neteng Guest

    Check the security tab under the SNMP Service.
     
    Neteng, Jan 13, 2006
    #3
  4. Marlon Brown

    Marlon Brown Guest

    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.
     
    Marlon Brown, Jan 13, 2006
    #4
  5. Marlon Brown

    Marlon Brown Guest

    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, Jan 13, 2006
    #5
  6. Marlon Brown

    Neteng Guest

    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?
     
    Neteng, Jan 13, 2006
    #6
  7. Marlon Brown

    Marlon Brown Guest

    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 !
     
    Marlon Brown, Jan 13, 2006
    #7
  8. 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], Jan 14, 2006
    #8
  9. Marlon Brown

    Marlon Brown Guest

    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... ?
     
    Marlon Brown, Jan 17, 2006
    #9
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.