Written by Anjali Watts and Charu Panigrahi.

Overview

You can now configure the SNMP and SMTP port number on Dell 12th generation PowerEdge Servers. This feature will enable you to use non default port number for SNMP Discovery Port, SNMP Alert Port and SMTP port number. The allowed range for “SNMP Alert Port Number”, “SMTP Port Number”, and “SNMP Discovery Port Number” is 1-65535.

The configuration of SNMP and SMTP will only be available to a user who has “Configure” privilege. You need to install iDRAC7 Firmware version 1.51.51 or higher to use this feature. By enabling these ports to be configured, IT admins have greater flexibility and options in providing secure traffic for their iDRAC’s.

Note:While configuing custom port number, you need to use unique port number for each features on iDRAC and two feature on iDRAC can not have same port number.

Configuring SNMP and SMTP ports using iDRAC7 Web GUI

To configure the SNMP Alert Port using Web GUI, navigate to Server->Alerts->SNMP and Email Settings page on iDRAC. Enter custom “SNMP Alert Port Number” under “IP Destination List” section. The default port number for SNMP Alert is 162.

Overview

You can now configure the SNMP and SMTP port number on Dell 12th generation PowerEdge Servers. This feature will enable you to use non default port number for SNMP Discovery Port, SNMP Alert Port and SMTP port number. The allowed range for “SNMP Alert Port Number”, “SMTP Port Number”, and “SNMP Discovery Port Number” is 1-65535.

The configuration of SNMP and SMTP will only be available to a user who has “Configure” privilege. You need to install iDRAC7 Firmware version 1.51.51 or higher to use this feature. By enabling these ports to be configured, IT admins have greater flexibility and options in providing secure traffic for their iDRAC’s.

Note:While configuing custom port number, you need to use unique port number for each features on iDRAC and two feature on iDRAC can not have same port number.

 

Configuring SNMP and SMTP ports using iDRAC7 Web GUI

To configure the SNMP Alert Port using Web GUI, navigate to Server->Alerts->SNMP and Email Settings page on iDRAC. Enter custom “SNMP Alert Port Number” under “IP Destination List” section. The default port number for SNMP Alert is 162.

To configure the SMTP Alert Port using Web GUI, navigate to Server->Alerts->SNMP and Email Settings page on iDRAC. Enter custom “SMTP Port Number” under “SMTP (Email) Server Address Settings” section. The default port number for SMTP is 25.

To configure the SNMP Discovery port using Web GUI, navigate to iDRAC Settings->Network->Services page on iDRAC. Enter custom “SNMP Discovery Port Number” under “SNMP Agent” section. The default port number for SNMP Discovery is 161.

Configuring SNMP and SMTP ports using Racadm

 You can use RACADM also to configure SNMP and SMTP port number. This can be done using any racadm interface (Local, Remote and FW Racadm).

 Configuring SNMP Alert Port

racadm set idrac.snmp.alertport <PORT NUMBER>

 Configuring SMTP Alert Port

 racadm set idrac.remotehosts.smtpport <PORT NUMBER>

 Configuring SNMP Discovery Port

  racadm set idrac.snmp.discoveryport <PORT NUMBER>

Configuring iDRAC7 using WSMAN

You can also use WSMAN commands to configure SNMP and SMTP port number. The enumeration class for SNMP and SMTP port configuration is “DCIM_iDRACCardInteger”. To set the value for SNMP and SMTP ports you need first set attribute and then run another WSMAN command to apply the setting.

Configuring SNMP Alert Port

winrm i SetAttribute http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_iDRACCardService?CreationClassName=DCIM_iDRACCardService+Name=DCIM:iDRACCardService+SystemCreationClassName=DCIM_ComputerSystem+SystemName=DCIM:ComputerSystem -u:<iDRAC USER NAME> -p:<iDRAC PASSWORD> -r:https://<iDRAC IP>/wsman -SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic @{Target="iDRAC.Embedded.1";AttributeName="SNMP.1#AlertPort";AttributeValue="<PORT NUMBER>"}

Configuring SMTP Alert Port

winrm i SetAttribute http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_iDRACCardService?CreationClassName=DCIM_iDRACCardService+Name=DCIM:iDRACCardService+SystemCreationClassName=DCIM_ComputerSystem+SystemName=DCIM:ComputerSystem -u:<iDRAC USER NAME> -p:<iDRAC PASSWORD> -r:https://<iDRAC IP>/wsman -SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic @{Target="iDRAC.Embedded.1";AttributeName="RemoteHosts.1#SMTPPort";AttributeValue="<PORT NUMBER>"}

Configuring SNMP Discovery Port

winrm i SetAttribute http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_iDRACCardService?CreationClassName=DCIM_iDRACCardService+Name=DCIM:iDRACCardService+SystemCreationClassName=DCIM_ComputerSystem+SystemName=DCIM:ComputerSystem -u:<iDRAC USER NAME> -p:<iDRAC PASSWORD> -r:https://<iDRAC IP>/wsman -SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic @{Target="iDRAC.Embedded.1";AttributeName="SNMP.1#DiscoveryPort";AttributeValue="<PORT NUMBER>"}

Applying the Setting

winrm i CreateTargetedConfigJob http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_iDRACCardService?__cimnamespace=root/dcim+SystemCreationClassName=DCIM_ComputerSystem+SystemName=DCIM:ComputerSystem+CreationClassName=DCIM_iDRACCardService+Name=DCIM:iDRACCardService -u:"<iDRAC USER NAME>" -p:"<iDRAC PASSWORD>" -r:https://<iDRAC IP>/wsman -SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic @{Target="iDRAC.Embedded.1";ScheduledStartTime="TIME_NOW"}

Summary

Dell continues to respond to customer requests such as “allow me to configure the SNMP or SMTP port” as this provides customers with more options to secure their management information.