Fibre Channel (SAN)

Reply
New Contributor
Posts: 2
Registered: ‎07-10-2012

Looking for monitor virtual switch ports VF:127, with snmpv3 snmpget cannot find the ports or OID?

Looking for monitor virtual san switch ports VF:127.

Got four, 40 ports san switches 5100 which all has 2 ports (38, 39) configurered as Virtual ports in 2 Virtual fabrics.

When i do snmpv3 get or walk i still got only the normal ports 0-37 oid's.

How can i find the ports in the virtual fabric?

Or is there a known OID?

 

Regards Michael

 

Regular Contributor
Posts: 161
Registered: ‎12-30-2009

Re: Looking for monitor virtual switch ports VF:127, with snmpv3 snmpget cannot find the ports or OI

SNMP and Virtual Fabric require a context to be set.

You either use a different user which is allowed access to and has it's home VF set to said VF.

Or you specify the VF you want to inquiry, the user which you specify, still need to have access to said VF

 

As example #snmpwalk -u admin -v 3 -n VF:4 192.168.176.181 .1

Does an snmpwalk of the entire tree (.1) using SNMPv3 and admin user in Virtual Fabric 4

New Contributor
Posts: 2
Registered: ‎07-10-2012

Re: Looking for monitor virtual switch ports VF:127, with snmpv3 snmpget cannot find the ports or OI

Ok! it may be an user issue for the snmpuser1 on VF i think.

 

I use a somewhat different command but should not be problem.

snmpwalk -r:xx.xxx.xxx.xxx -v:3 -cn:127 -sn:snmpuser1  -os:.13.6.1.2.1.1

different user gives the same output:

#Received a report pdu from remote host: Unknown Context (SNMPv3)#

 

Without the VF context i have no problems walking:

snmpwalk -r:xx.xxx.xxx.xxx -v:3 -sn:snmpuser1  -os:.13.6.1.2.1.1

 

Regards

Regular Contributor
Posts: 161
Registered: ‎12-30-2009

Re: Looking for monitor virtual switch ports VF:127, with snmpv3 snmpget cannot find the ports or OI

Without VF context the selected VF context is the snmpusers1 home VF, which is the VF that is selected when you login with SSH.

 

The switch to set the context needs VF:127 as I understand you set :127 as context.

 

Thats said I've struggeled with this as well.

I've found it helpfull to start with the most basic SNMP setup first, ie v1.

If that works, switch to v3 without context and the minumum of security.

If that works, try adding the VF context

If that works, try adding the security if desired.

 

Join the Community

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