Skip to content

Commit e58a0a6

Browse files
authored
Update portqry-command-line-port-scanner-v2.md
Typo on line 104 - was "Query an SMTP community", whereas it should have read "Query an SNMP community"
1 parent f323947 commit e58a0a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

support/windows-server/networking/portqry-command-line-port-scanner-v2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ The following parameters are available in regular command-line mode:
101101
|`-sl` |Wait extra time for response (also known as slow link delay) |Use this parameter to double the time that PortQry waits for a response from a UDP port before PortQry determines that the port is NOT LISTENING or that it's FILTERED. When you query over slow or unreliable network links, the normal wait time may be too short to receive a response. |
102102
|`-nr` |Skip reverse name lookup |<ul><li>By default, when you use `-n` to specify an IP address for the target computer, PortQry does a reverse name lookup to resolve the IP address to a name. This process may be time-consuming, especially if PortQry can't resolve the IP address. Use `-nr` to skip this step of the query.</li><li>If you use `-n` to specify a computer or domain name, PortQry ignores `-nr`. |
103103
|`-sp <port_number>` |Query from a specific source port |<ul><li>The \<*port_number*> value represents the port that PortQry uses to send the query.</li><li>PortQry can't use a port that another process is already using. If the port that you specify is already in use, PortQry returns the following error message:<br/>Cannot use specified source port.<br/>Port is already in use.<br/>Specify a port that is not in use and run the command again.</li><li>In the following cases, PortQry uses the specified port for the first test of the query, but not the second test: <ul><li>RPC (TCP and UDP ports 135)</li><li>LDAP (UDP port 389)</li><li>NetBIOS Adapter status query (UDP port 137)</li></ul>In these cases, PortQry uses an ephemeral port for the second test. When this occurs, PortQry records "Using ephemeral source port" in its output.</li><li>If the computer where PortQry is installed also runs the IPSec policy agent, UDP port 500 may not be available to use as a source port. To temporarily turn off the IPSec policy agent so that you can use port 500, run `net stop PolicyAgent`. When you have finished testing, run `net start PolicyAgent`.</li></ul> |
104-
|`-cn !<community_name>!` |Query an SMTP community |<ul><li>The \<*community_name*> value represents the name of the SNMP community to query. You must delimit this value by using exclamation points, as shown in the left column.</li><li>If the SNMP service is not listening on the target port, PortQry ignores `-cn`.</li><li>The default community name is `public`.</li></ul> |
104+
|`-cn !<community_name>!` |Query an SNMP community |<ul><li>The \<*community_name*> value represents the name of the SNMP community to query. You must delimit this value by using exclamation points, as shown in the left column.</li><li>If the SNMP service is not listening on the target port, PortQry ignores `-cn`.</li><li>The default community name is `public`.</li></ul> |
105105
|`-q` |Run PortQry in quiet mode |<ul><li>When you use `-q`, PortQry suppresses all screen output except for error messages.</li><li>To see output other than error messages, use `-q` together with `-l`. PortQry records the normal output in the log file.</li><li>If a log file already exists and you use `-q` together with `-l`, PortQry overwrites the existing log file without prompting you.</li><li>You cannot use `-q` together with `-o`, `-r`, or `-p both`.</li><li>This parameter is especially helpful when you use a batch file to run a PortQry command string.</li></ul> |
106106

107107
### Remarks for parameters in command-line mode

0 commit comments

Comments
 (0)