Fibre Channel (SAN)

Reply
Occasional Contributor
Posts: 8
Registered: ‎07-18-2011

FOS V6.4.1 Type #SLKWRM Model#DCX. "SNMPWALK/SNMPv3 Not Working?"

Gents,

I am trying to run snmpwalk through our DCX SAN switch but unlucky >>> I can not make it working! <<<

Our Setup

We have Brocade SAN switch Model DCX 6.4.1 Type SLKWRM FOS V6.4.1.

Current configuration

1) Virtual Fabric is enabled, therefore we will have to use snmpv3.

SLCC_SAN_switch:FID128:admin> fosconfig --show

FC Routing service:             disabled

iSCSI service:                  Service not supported on this Platform

iSNS client service:            Service not supported on this Platform

Virtual Fabric:                 enabled

Ethernet Switch Service:        disabled

2) MIB is enabled as shown below.

SLCC_SAN_switch:FID128:admin> snmpmibcapshow

Warning: This command is being deprecated. Please use snmpConfig

FE-MIB: YES

SW-MIB: YES

FA-MIB: YES

FICON-MIB: NO

HA-MIB: NO

FCIP-MIB: NO

ISCSI-MIB: NO

IF-MIB: YES

BD-MIB: YES

SW-TRAP: YES

        swFault: YES

        swSensorScn: YES

        swFCPortScn: YES

        swEventTrap: YES

                DesiredSeverity:None

        swFabricWatchTrap: YES

                DesiredSeverity:None

        swTrackChangesTrap: YES

        swIPv6ChangeTrap: YES

        swPmgrEventTrap: YES

        swFabricReconfigTrap: NO

        swFabricSegmentTrap: NO

        swExtTrap: YES

FA-TRAP: YES

        connUnitStatusChange: YES

        connUnitDeletedTrap: YES

        connUnitEventTrap: YES

        connUnitSensorStatusChange: YES

        connUnitPortStatusChange: YES

FICON-TRAP: NO

        linkRNIDDeviceRegistration: NO

        linkRNIDDeviceDeRegistration: NO

        linkLIRRListenerAdded: NO

        linkLIRRListenerRemoved: NO

        linkRLIRFailureIncident: NO

HA-TRAP: NO

        fruStatusChanged: NO

        cpStatusChanged: NO

        fruHistoryTrap: NO

ISCSI-TRAP: YES

        iscsiTgtLoginFailure: YES

        iscsiIntrLoginFailure: YES

        iscsiInstSessionFailure: YES

IF-TRAP: NO

        linkDown: NO

        linkUp: NO

BD-TRAP: YES

        bdTrap: YES

        bdClearTrap: YES

SLCC_SAN_switch:FID128:admin>

3) SNMP version 3 configuration

SLCC_SAN_switch:FID128:admin> snmpconfig --show snmpV3

SNMP Informs = 1 (ON)

SNMPv3 USM configuration:

User 1 (rw): snmpadmin1

        Auth Protocol: noAuth

        Priv Protocol: noPriv

        Engine ID: 00:00:00:00:00:00:00:00:00

User 2 (rw): snmpadmin2

        Auth Protocol: noAuth

        Priv Protocol: noPriv

        Engine ID: 00:00:00:00:00:00:00:00:00

User 3 (rw): snmpadmin3

        Auth Protocol: noAuth

        Priv Protocol: noPriv

        Engine ID: 00:00:00:00:00:00:00:00:00

User 4 (ro): snmpuser1

        Auth Protocol: noAuth

        Priv Protocol: noPriv

        Engine ID: 00:00:00:00:00:00:00:00:00

User 5 (ro): snmpuser2

        Auth Protocol: noAuth

        Priv Protocol: noPriv

        Engine ID: 00:00:00:00:00:00:00:00:00

User 6 (ro): admin

        Auth Protocol: noAuth

        Priv Protocol: noPriv

        Engine ID: 80:00:06:34:03:1c:c1:de:f9:28:c8

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>

The problem which I am getting and I need to fix it is:

# snmpwalk -v 3 -u admin -c public 10.8.233.160 -n VF:100

Error in packet.

Reason: noAccess

#

Please any one can help? Thanks.

Regular Contributor
Posts: 201
Registered: ‎11-24-2009

Re: FOS V6.4.1 Type #SLKWRM Model#DCX. "SNMPWALK/SNMPv3 Not Working?"

Hi raltubor,

a shot in the dark perhaps, but don't you have to configure SNMPv3 authentication and security level first?

# snmpconfig --set seclevel

Linar

Occasional Contributor
Posts: 8
Registered: ‎07-18-2011

Re: FOS V6.4.1 Type #SLKWRM Model#DCX. "SNMPWALK/SNMPv3 Not Working?"

Hi,

Well, I have tried as well # snmpconfig --set seclevel but it is the same!

Can you explain more your idea. Thanks

I am still trying but it does not work!

-Red

Regular Contributor
Posts: 201
Registered: ‎11-24-2009

Re: FOS V6.4.1 Type #SLKWRM Model#DCX. "SNMPWALK/SNMPv3 Not Working?"

would you mind to post an output of

#snmpconfig --show seclevel

as what I see now is you don't have any SNMP authorizations configured.

Occasional Contributor
Posts: 8
Registered: ‎07-18-2011

Re: FOS V6.4.1 Type #SLKWRM Model#DCX. "SNMPWALK/SNMPv3 Not Working?"

Hi,

So here is the output of your command:

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>

Please if anyone can help? Thanks all.

- Red

Occasional Contributor
Posts: 8
Registered: ‎07-18-2011

Re: FOS V6.4.1 Type #SLKWRM Model#DCX. "SNMPWALK/SNMPv3 Not Working?"

Any clue gents

It is really a headache tryed everything so far and still getting the following errors:

root@tlcag ~]# snmpwalk -v 3 -u snmpuser2 10.8.233.160  -n VF:100
Error in packet.
Reason: noAccess
# snmpwalk -v 3 -u snmpuser2 10.8.233.160  -n VF:99
Error in packet.
Reason: noAccess
# snmpwalk -v 3 -u snmpuser2 10.8.233.160  -n VF:4
Error in packet.
Reason: noAccess
#

or when I do this I get:

LCC_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> 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 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>

I get this#####

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

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.