In this article, we will focus on the SNMP activation for private network in EMC ControlCenter. 

 “Setup Switch Command failed. Couldn't establish session with  switch. Possible network issue, wrong password or IP address”.

 

This issue can be seen when the community string and access privileges are not correctly set for the SNMP switch port in the Cisco SAN switches.

Figure 1 showing that the cisco san switch could not discover the snmp.

To resolve this issue, do the following:

1.       Open a telnet or putty session to the Cisco SAN switch.

 

2.       Log in as admin user with a password of admin.

 

3.       First, display the current snmp configure to see if SNMP isn’t  configure yet.

 

Cisco-Switch#show snmp

 

4.       Run the Config t command to change to configuration mode on the switch.

 

Cisco-Switch# config t

Enter configuration commands, one per line.  End with CNTL/Z.

 

5.       Run the following command :

 

Cisco-Switch(config)# snmp-server community private rw

 

6.       Run the exit command to exit configuration mode.

 

Cisco-Switch(config)# exit

 

7.       Run the show snmp command and verify the community string and access level appear as follows:

 

Cisco-Switch# show snmp

sys contact: sanduel

sys location:

 

18379676 SNMP packets input

        0 Bad SNMP versions

        619 Unknown community name

        0 Illegal operation for community name supplied

        43 Encoding errors

        199677285 Number of requested variables

        5498 Number of altered variables

        14074925 Get-request PDUs

        1682405 Get-next PDUs

        2077 Set-request PDUs

18377620 SNMP packets output

        0 Too big errors

        0 No such name errors

        8 Bad values errors

        60 General errors

 

 

Community                      Group / Access

---------                      ---------------

private                         network-admin

 

 

8.       Run the copy run start command. This command copies the running configuration to the startup configuration.

Cisco-Switch# copy run start

[########################################] 100%

Cisco-Switch# exit

 

9.       Close the Telnet or Putty session to the switch.

 

10.    In the ECC Console, open the Connectivity dialog.

 

11.    Enter the IP of the Cisco switch to be discovered.

 

12.    In the SNMP Community field, click the drop-down arrow and select private. Use the SNMP port 161 (In the most cases, the default SNMP port is 161).

 

13.    Click on Search Now. When complete, the switch should be fully discovered in EMC ControlCenter.