All MIBs › BASIS-SHELF-MIB › userName
userName
Module: BASIS-SHELF-MIB
OID (symbolic): BASIS-SHELF-MIB::userName
OID (numeric): 1.3.6.1.4.1.351.110.1.1.13
Node type: OBJECT-TYPE
Type: DisplayString
Access: read-only
Description:
username of the person logging in or logging out. used only in traps currently only limit to 12 chars
What is userName?
Reports the username of the user who logged in or out, included as data in login/logout traps and limited to 12 characters.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.351.110.1.1.13 snmpwalk -v2c -c public <target> BASIS-SHELF-MIB::userName
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.351.110.1.1.13.1 snmpget -v2c -c public <target> BASIS-SHELF-MIB::userName.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> userName.1
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.351 | stratacom | CISCOWAN-SMI |
| 1.3.6.1.4.1.351.110 | basis | BASIS-MIB |
| 1.3.6.1.4.1.351.110.1 | basisSystem | BASIS-MIB |
| 1.3.6.1.4.1.351.110.1.1 | basisShelf | BASIS-MIB |
| 1.3.6.1.4.1.351.110.1.1.13 | userName | BASIS-SHELF-MIB |