hwServiceIfCfgBindingUserNameFormat
HUAWEI-BRAS-SRVCFG-INTERFACE-MIB ·
.1.3.6.1.4.1.2011.5.25.40.1.1.11.1.16
Object
column r/w
Integer32
The value of this object identifies the format in which the bound user name is generated: mac (1): constructs the user name by using the MAC address of the user. option82 (2): constructs the user name by using the Option 82 information of the user. Sys-name (3): constructs the user name by using the name of the router. mac+option82 (4) mac+sys-name (5) option82+ host-name (6) mac+option82+host-name (7) By default, users in host mode and in CE-VLAN mode use the MAC address to construct the user names; users in location mode use the option 82 + MAC address to construct the user names.
Context
- MIB
- HUAWEI-BRAS-SRVCFG-INTERFACE-MIB
- OID
.1.3.6.1.4.1.2011.5.25.40.1.1.11.1.16- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwServiceIfCfgEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-BRAS-SRVCFG-INTERFACE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-BRAS-SRVCFG-INTERFACE-MIB::hwServiceIfCfgBindingUserNameFormat'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-BRAS-SRVCFG-INTERFACE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-BRAS-SRVCFG-INTERFACE-MIB::hwServiceIfCfgBindingUserNameFormat.<hwServiceIfCfgIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-BRAS-SRVCFG-INTERFACE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-BRAS-SRVCFG-INTERFACE-MIB::hwServiceIfCfgBindingUserNameFormat'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-7
Conformance
Member of