For more details, please see ourCookie Policy.


Fibre Channel (SAN)

Reply
Anonymous
Posts: 0

Re: SNMP on DCX Backbone

Hi,

I have tried as you said but still it did not work

SLCC_SAN_switch:FID128:admin> snmpconfig --show seclevel
GET security level = 0, SET level = 1
SNMP GET Security Level: No security
SNMP SET Security Level: Authentication only
SLCC_SAN_switch:FID128:admin>

-------

-------

SLCC_SAN_switch:FID128:admin> snmpconfig --show snmpv3


SNMP Informs = 0 (OFF)

SNMPv3 USM configuration:
User 1 (rw): snmpadmin1
        Auth Protocol: noAuth
        Priv Protocol: noPriv
User 2 (rw): snmpadmin2
        Auth Protocol: noAuth
        Priv Protocol: noPriv
User 3 (rw): snmpadmin3
        Auth Protocol: noAuth
        Priv Protocol: noPriv
User 4 (ro): snmpuser1
        Auth Protocol: noAuth
        Priv Protocol: noPriv
User 5 (ro): snmpuser2
        Auth Protocol: noAuth
        Priv Protocol: noPriv
User 6 (ro): admin
        Auth Protocol: noAuth
        Priv Protocol: noPriv

SNMPv3 Trap configuration:
Trap Entry 1:     No trap recipient configured yet
Trap Entry 2:     No trap recipient configured yet
Trap Entry 3:     No trap recipient configured yet
Trap Entry 4:     No trap recipient configured yet
Trap Entry 5:     No trap recipient configured yet
Trap Entry 6:     10.8.233.235
    Trap Port: 162
    Trap User: admin
    Trap recipient Severity level: 4
SLCC_SAN_switch:FID128:admin> exit
logout

Erros that I get using snmpwalk#

# snmpwalk -v 3 -u admin 10.8.233.160 -n VF:128
Timeout: No Response from 10.8.233.160
You have new mail in /var/spool/mail/root
#

# snmpwalk -v 3 -u admin -c public 10.8.233.160 -n VF:100
Error in packet.
Reason: noAccess
#

# snmpwalk -v 3 -u admin -c public 10.8.233.160 -n VF:99
Error in packet.
Reason: noAccess
#

Any help getns? Thanks.

- Red

Anonymous
Posts: 0

Re: SNMP on DCX Backbone

It's strange. I've tried to repeat the configuration procedure on another 'clean' DCX system.

My steps after login:

  • >snmpconfig --show snmpv3

SNMP Informs = 0 (OFF)

SNMPv3 USM configuration:
User 1 (rw): snmpadmin1
    Auth Protocol: noAuth
    Priv Protocol: noPriv
User 2 (rw): snmpadmin2
    Auth Protocol: noAuth
    Priv Protocol: noPriv
User 3 (rw): snmpadmin3
    Auth Protocol: noAuth
    Priv Protocol: noPriv
User 4 (ro): snmpuser1
    Auth Protocol: noAuth
    Priv Protocol: noPriv
User 5 (ro): snmpuser2
    Auth Protocol: noAuth
    Priv Protocol: noPriv
User 6 (ro): snmpuser3
    Auth Protocol: noAuth
    Priv Protocol: noPriv

SNMPv3 Trap configuration:
Trap Entry 1:     No trap recipient configured yet
Trap Entry 2:     No trap recipient configured yet
Trap Entry 3:     No trap recipient configured yet
Trap Entry 4:     No trap recipient configured yet
Trap Entry 5:     No trap recipient configured yet
Trap Entry 6:     No trap recipient configured yet

  • >snmpconfig  --set  snmpv3

..skipping all users but the last one...

User (ro): admin

Auth Protocol : (1..3)

Priv Protocol ): (2..2) 2

SNMPv3 trap recipient configuration:
Trap Recipient's IP address :
Trap Recipient's IP address :
Trap Recipient's IP address :
Trap Recipient's IP address :
Trap Recipient's IP address :
Trap Recipient's IP address :
Committing configuration.....done.

  • > snmpconfig  --show  snmpv3

SNMP Informs = 0 (OFF)

SNMPv3 USM configuration:
User 1 (rw): snmpadmin1
    Auth Protocol: noAuth
    Priv Protocol: noPriv
User 2 (rw): snmpadmin2
    Auth Protocol: noAuth
    Priv Protocol: noPriv
User 3 (rw): snmpadmin3
    Auth Protocol: noAuth
    Priv Protocol: noPriv
User 4 (ro): snmpuser1
    Auth Protocol: noAuth
    Priv Protocol: noPriv
User 5 (ro): snmpuser2
    Auth Protocol: noAuth
    Priv Protocol: noPriv
User 6 (ro): admin
    Auth Protocol: noAuth
    Priv Protocol: noPriv

SNMPv3 Trap configuration:
Trap Entry 1:     No trap recipient configured yet
Trap Entry 2:     No trap recipient configured yet
Trap Entry 3:     No trap recipient configured yet
Trap Entry 4:     No trap recipient configured yet
Trap Entry 5:     No trap recipient configured yet
Trap Entry 6:     No trap recipient configured yet

> snmpconfig  --show accessControl

SNMP access list configuration:
Entry 0:  No access host configured yet
Entry 1:  No access host configured yet
Entry 2:  No access host configured yet
Entry 3:  No access host configured yet
Entry 4:  No access host configured yet
Entry 5:  No access host configured yet

> snmpconfig  --show secLevel
GET security level = 0, SET level = 0
SNMP GET Security Level: No security
SNMP SET Security Level: No security

  • Now trying snmpwalk from my host:

>snmpwalk -v3 -u admin -n VF:4 xx.xx.xx.xx system

SNMPv2-MIB::sysDescr.0 = STRING: Fibre Channel Switch.
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.1588.2.1.1.1
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (2773384800) 320 days, 23:50:48.00
SNMPv2-MIB::sysContact.0 = STRING: Field Support.
SNMPv2-MIB::sysName.0 = STRING: switch_4
SNMPv2-MIB::sysLocation.0 = STRING: End User Premise.
SNMPv2-MIB::sysServices.0 = INTEGER: 79

It looks to me the crucial point is to redefine one of the default user access records, because the stock records (snmpuser1, etc) have no access.

Good luck.

Anonymous
Posts: 0

Re: SNMP on DCX Backbone

@Anonymous : It's weird, looks like you may have a network issue..

-  Can you just try snmp v1 for a test ? In  the case where you have VF enabled, using snmp v 1 will just query the default switch..

-  Also, in v3 you do not use the community option , since the user privileges will be used . ( I think )

Rgds

Shailendra

Anonymous
Posts: 0

Re: SNMP on DCX Backbone

"Reason: noAccess" indicates that connection was succesfull, so it's unlikely a network related issue.

As for community option, I think it's omitted with -v3.

Anonymous
Posts: 0

Re: SNMP on DCX Backbone

Hi,

Thanks gents...

However, I am still facing the issue but I don't also think it is a network issue!

# snmpwalk -v3 -u admin -n VF:4 10.8.233.160 system
Error in packet.
Reason: noAccess
You have new mail in /var/spool/mail/root
#

------ On the Switch ------

SLCC_SAN_switch:FID128:admin> snmpconfig --show accessControl

SNMP access list configuration:
Entry 0:  No access host configured yet
Entry 1:  No access host configured yet
Entry 2:  No access host configured yet
Entry 3:  No access host configured yet
Entry 4:  No access host configured yet
Entry 5:  No access host configured yet
SLCC_SAN_switch:FID128:admin>

SLCC_SAN_switch:FID128:admin> snmpconfig --show seclevel
GET security level = 0, SET level = 0
SNMP GET Security Level: No security
SNMP SET Security Level: No security

SLCC_SAN_switch:FID128:admin> snmpconfig --show snmpv3

SNMP Informs = 0 (OFF)

SNMPv3 USM configuration:
User 1 (rw): snmpadmin1
        Auth Protocol: noAuth
        Priv Protocol: noPriv
User 2 (rw): snmpadmin2
        Auth Protocol: noAuth
        Priv Protocol: noPriv
User 3 (rw): snmpadmin3
        Auth Protocol: noAuth
        Priv Protocol: noPriv
User 4 (ro): snmpuser1
        Auth Protocol: noAuth
        Priv Protocol: noPriv
User 5 (ro): snmpuser2
        Auth Protocol: noAuth
        Priv Protocol: noPriv
User 6 (ro): admin
        Auth Protocol: noAuth
        Priv Protocol: noPriv

SNMPv3 Trap configuration:
Trap Entry 1:     No trap recipient configured yet
Trap Entry 2:     No trap recipient configured yet
Trap Entry 3:     No trap recipient configured yet
Trap Entry 4:     No trap recipient configured yet
Trap Entry 5:     No trap recipient configured yet
Trap Entry 6:     No trap recipient configured yet
SLCC_SAN_switch:FID128:admin>

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

# snmpwalk -v3 -u admin -n VF:99 10.8.233.160 system
Error in packet.
Reason: noAccess
#

root@tlcag snmp]# snmpwalk -v3 -u admin -n VF:99 10.8.233.160 system
Error in packet.
Reason: noAccess
# snmpwalk -v3 -u admin -n VF:99 10.8.233.160
Error in packet.
Reason: noAccess
# snmpwalk -v3 -u admin -n VF:100 10.8.233.160
Error in packet.
Reason: noAccess
# snmpwalk -v3 -u admin -n VF:4 10.8.233.160
Error in packet.
Reason: noAccess
You have new mail in /var/spool/mail/root

And when I change the user to number (4) shown below

SLCC_SAN_switch:FID128:admin> snmpconfig --show snmpv3

SNMP Informs = 0 (OFF)

SNMPv3 USM configuration:
User 1 (rw): snmpadmin1
        Auth Protocol: noAuth
        Priv Protocol: noPriv
User 2 (rw): snmpadmin2
        Auth Protocol: noAuth
        Priv Protocol: noPriv
User 3 (rw): snmpadmin3
        Auth Protocol: noAuth
        Priv Protocol: noPriv
User 4 (ro): admin
        Auth Protocol: noAuth
        Priv Protocol: noPriv
User 5 (ro): snmpuser2
        Auth Protocol: noAuth
        Priv Protocol: noPriv
User 6 (ro): snmpuser3
        Auth Protocol: noAuth
        Priv Protocol: noPriv

SNMPv3 Trap configuration:
Trap Entry 1:     No trap recipient configured yet
Trap Entry 2:     No trap recipient configured yet
Trap Entry 3:     No trap recipient configured yet
Trap Entry 4:     No trap recipient configured yet
Trap Entry 5:     No trap recipient configured yet
Trap Entry 6:     No trap recipient configured yet
SLCC_SAN_switch:FID128:admin>

I am getting this error:::

# snmpwalk -v 3 -u admin 10.8.233.160  -n VF:99
snmpwalk: Unknown user name
#

even if I try this:

SLCC_SAN_switch:FID128:admin> snmpconfig --set seclevel
Select SNMP GET Security Level
(0 = No security, 1 = Authentication only, 2 = Authentication and Privacy, 3 = No Access): (0..3)
Select SNMP SET Security Level
(0 = No security, 1 = Authentication only, 2 = Authentication and Privacy, 3 = No Access): (0..3) 1

SLCC_SAN_switch:FID128:admin> snmpconfig --show seclevel
GET security level = 0, SET level = 1
SNMP GET Security Level: No security
SNMP SET Security Level: Authentication only
SLCC_SAN_switch:FID128:admin>

It is really a headache that it can not work!!!

Any help guys.... Please

Thanks.

-Red

Anonymous
Posts: 0

Re: SNMP on DCX Backbone

Maybe it's about the time to disturb your support?

Join the Broadcom Support Community

Get quick and easy access to valuable resources across the Broadcom Community Network.