This command sets and displays the network port configuration settings for the advanced management module.
Function | What it does | Command | Valid targets |
---|---|---|---|
Display network port settings | Displays the network port settings for the management
module. Returned values are:
|
ports |
where x is the primary management-module bay number. |
Display open management module ports | Displays the management module ports that are currently open. | ports -open |
where x is the primary management-module bay number. |
Reset network port settings | Resets all network port settings for the management
module to the default values. Default values are:
|
ports
-reset
This command can only be run by users
who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set FTP port number | Sets the port number for the management module FTP port. |
ports
-ftpp
FTP_prt_num
where FTP_prt_num is from 1 to 65535, inclusive. If you enter a value outside this range, an error will be displayed. This command can only
be run by users who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set FTP data port number | Sets the port number for the management module FTP data port. |
ports
-ftpdp
FTP_data_prt_num
where FTP_data_prt_num is from 1 to 65535, inclusive. If you enter a value outside this range, an error will be displayed. This command can only
be run by users who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set HTTP port number | Sets the port number for the management module HTTP port. |
ports
-httpp
HTTP_prt_num
where HTTP_prt_num is from 1 to 65535, inclusive. If you enter a value outside this range, an error will be displayed. This command can only
be run by users who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set HTTPS port number | Sets the port number for the management module HTTPS port. |
ports
-httpsp
HTTPS_prt_num
where HTTPS_prt_num is from 1 to 65535, inclusive. If you enter a value outside this range, an error will be displayed. This command can only
be run by users who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set Remote Presence port number | Sets the remote presence port number for the management module remote presence port. |
ports
-rpp
rpp_prt_num
where rpp_prt_num is from 1 to 65535, inclusive. If you enter a value outside this range, an error will be displayed. This command can only
be run by users who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set SLP port number | Sets the SLP port number. |
ports
-slpp
SLP_prt_num
where SLP_prt_num is from 1 to 65535, inclusive. If you enter a value outside this range, an error will be displayed. This command can only
be run by users who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set SMASH Telnet port number | Sets the port number for the management module SMASH command-line processor over Telnet port. |
ports
-smashtp
SMASH_telnet_prt_num
where SMASH_telnet_prt_num is from 1 to 65535, inclusive. If you enter a value outside this range, an error will be displayed. This command can only
be run by users who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set SNMP agent port number | Sets the port number for the management module SNMP agent port. |
ports
-snmpap
SNMP_agent_prt_num
where SNMP_agent_prt_num is from 1 to 65535, inclusive. If you enter a value outside this range, an error will be displayed. This command can only
be run by users who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set SNMP traps port number | Sets the port number for the management module SNMP traps port. |
ports
-snmptp
SNMP_traps_prt_num
where SNMP_traps_prt_num is from 1 to 65535, inclusive. If you enter a value outside this range, an error will be displayed. This command can only
be run by users who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set command mode port number | Sets the TCP command mode port number. |
ports
-tcmp
TCP_cmd_md_prt_num
where TCP_cmd_md_prt_num is from 1 to 65535, inclusive. If you enter a value outside this range, an error will be displayed. This command can only
be run by users who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set secure command mode port number | Sets the secure TCP command mode port number. |
ports
-stcmp
secure_tcmp
where secure_tcmp is from 1 to 65535, inclusive. If you enter a value outside this range, an error will be displayed. This command can only
be run by users who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set SSH port number | Sets the port number for the management module SSH port. |
ports
-sshp
SSH_prt_num
where SSH_prt_num is from 1 to 65535, inclusive. If you enter a value outside this range, an error will be displayed. This command can only
be run by users who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set Telnet port number | Sets the port number for the management module Telnet port. |
ports
-telnetp
Telnet_prt_num
where Telnet_prt_num is from 1 to 65535, inclusive. If you enter a value outside this range, an error will be displayed. This command can only
be run by users who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set TFTP port number | Sets the port number for the management module TFTP port. |
ports
-tftpp
TFTP_prt_num
where TFTP_prt_num is from 1 to 65535, inclusive. If you enter a value outside this range, an error will be displayed. This command can only
be run by users who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Enable / disable FTP | Enables or disables FTP for the management module. |
ports -ftpe
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Enable / disable HTTPS port | Enables or disables the management module HTTPS port. |
ports -httpse
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Set KVM port state | Sets the KVM port state to on or off. |
ports -kvme
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Enable / disable NTP | Enables or disables NTP for the management module. |
ports -ntpe
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Enable / disable RDE | Enables or disables remote disk for the management module. |
ports -rde
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Enable / disable RDOCE | Enables or disables remote disk on card for the management module. |
ports -rdoce
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Enable / disables SLP | Enables or disables SLP for the management module. |
ports -slpe
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Enable / disable secure SMASH over SSH | Enables or disables the secure SMASH command-line processor over SSH for the management module. |
ports -smashse
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Enable / disable SMASH over Telnet | Enables or disables SMASH command-line processor over Telnet for the management module. |
ports -smashte
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Enable / disable SNMPv1 agent | Enables or disables the SNMPv1 agent for the management module. |
ports -snmp1ae
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Enable / disable SNMPv3 agent | Enables or disables the SNMPv3 agent for the management module. |
ports -snmp3ae
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Enable / disable SNMP traps | Enables or disables the SNMP traps for the management module. |
ports -snmpte
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Enable / disable SSH port | Enables or disables the management module SSH port. |
ports -sshe
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Enable / disable TCP command mode | Enables or disables the TCP command mode for the management module. |
ports -tcme
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Set number of TCP command mode connections | Turns the TCP command mode on or off, or sets the
maximum number of connections explicitly.
Note: Any number
of connections (1 through 20) displays a status of on. Zero connections
displays a status of off.
|
ports -tcme
port_mode
where port_mode is on (1 connection), off (no connections), or a number between 0 and 20, inclusive, that indicates the maximum number of TCP session connections. This command can only be
run by users who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Enable / disable secure TCP command mode | Enables or disables the secure TCP command mode for the management module. |
ports -stcme
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Set number of secure TCP command mode connections | Turns the secure TCP command mode on or off, or
sets the maximum number of connections.
Notes:
|
ports -stcme
port_mode
where port_mode is on (1 connection), off (no connections), or a number between 0 and 20, inclusive, that indicates the maximum number of TCP session connections. This command can only be
run by users who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Enable / disable Telnet port | Enables or disables the management module Telnet port. |
ports -telnete
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Enable / disable TFTP | Enables or disables TFTP for the management module. |
ports -tftpe
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Set FTP timeout | Sets the FTP timeout value for the management module. |
ports
-ftpt
timeout
where timeout is from 0 seconds (no timeout) to 4294295967 seconds, inclusive. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Set TCP command-mode timeout | Sets the TCP command-mode timeout value for the management module. |
ports
-tcmt
timeout
where timeout is from 0 seconds (no timeout) to 4294295967 seconds, inclusive. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Set Telnet port timeout | Sets the Telnet port timeout value for the management module. |
ports
-telnett
timeout
where timeout is from 0 seconds (no timeout) to 4294295967 seconds, inclusive. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
Display network port settings for I/O module | Displays the network port settings for the I/O
module. These settings can include:
Note: Other device specific values might be returned.
|
ports |
where x is the I/O-module bay number. |
Enable or disable port for I/O module | Enables or disables specified port on specified I/O module. |
ports
-
port_index
-state
state
where
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the I/O module bay number. |
Sets speed of port for I/O module | Sets speed of specified port on I/O modules that support this feature. |
ports
-
port_index
-speed
speed_setting
where
This command can only be run by users who have one
or more of the following command authorities:
|
where x is the I/O-module bay number. |
Example:
ports
ports -ftpe off
The following example shows the information that is returned from these two commands:
system:mm[1]> ports
-ftpp 21
-ftpdp 20
-httpp 80
-httpsp 443
-rpp 3900
-slpp 427
-smashsp 50022
-smashtp 50023
-snmpap 161
-snmptp 162
-sshp 22
-stcmp 6091
-tcmp 6090
-telnetp 23
-tftpp 69
-ftpe on
-httpse off
-kvme on
-ntpe off
-rde off
-rdoce on
-slpe on
-smashse on
-smashte on
-snmp1ae on
-snmp3ae on
-snmpte on
-sshe off
-stcme off
-tcme off
-telnete on
-tftpe off
-tcmt 0
-telnett 10000
-ftpt 300
system:mm[1]> ports -ftpe off
Changes to -sshe, -sshp, -smashse, -smashte, -smashsp, -telnete, -telnetp,
-telnett, -smashtp, -snmpte, -tcme, -tcmp, -tcmt, -stcme, -stcmp, -rpp,
-httpp,-httpse, -httpsp, -ftpe or -tftpe will become active immediately.
OK
system>