11-04-2013 12:51 AM
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?
11-04-2013 07:15 AM
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
11-05-2013 04:38 AM
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:.220.127.116.11.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:.18.104.22.168.1.1
11-05-2013 05:44 AM
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.