Newsgroups: comp.protocols.tcp-ip
Path: utzoo!utgpu!cunews!bnrgate!bigsur!bcars19!crm413c
From: crm413c@bcars19.bnr.ca (Peter Ng)
Subject: SNMP UDP port
Message-ID: <1991Apr24.182452.7403@bigsur.uucp>
Keywords: SNMP
Sender: news@bigsur.uucp
Reply-To: crm413c@bcars19.bnr.ca (Peter Ng)
Organization: Bell-Northern Research, Ottawa, Canada
Date: Wed, 24 Apr 91 18:24:52 GMT

Hi,

  We have questions regarding the UDP port number used
in the SNMP message.

  In the RFC 1157 section 4 "Protocol Specification", it
states "A protocol entity receives messages at UDP port
161 on the host ....".

Here are the questions:

(1) Does the statement implies that a Network management
    station must receive SNMP message (other than traps)
    on UDP port 161?
   (1.1) If (1) is yes, then NMS and the agent cannot
         both reside on the hosts (e.g.workstation)?

(2) Is it a protocol violation to receive messages on any
    other UDP ports (other than traps on 162)?

(3) In practice, could we assign any unreserved port to
    the source port of the outgoing get_request message
    (with destination port 161)?  Should we expect to receive
    a get_response on the same port that we assigned to
    the outgoing get_request? In this case is the statement
    quoted from RFC 1157 violated?

Thanks in Advance

