h3cFcPsmEnable
H3C-FC-PSM-MIB ·
.1.3.6.1.4.1.2011.10.2.127.8.1.2.1.1.2
Object
column r/w
Enumeration
When set to enable, the port security is on, the value of h3cFcPsmEnableState will be true. When set to enableWithAutoLearn, the port security is on with auto-learning, the value of h3cFcPsmEnableState will be true. When set to disable, the port security is off, the value of h3cFcPsmEnableState will be false. The noop means no action. The value of this object when read is always noop.
Context
- MIB
- H3C-FC-PSM-MIB
- OID
.1.3.6.1.4.1.2011.10.2.127.8.1.2.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- h3cFcPsmEnableEntry
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 'H3C-FC-PSM-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-FC-PSM-MIB::h3cFcPsmEnable'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-FC-PSM-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-FC-PSM-MIB::h3cFcPsmEnable.<h3cFcPsmEnableVsanIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-FC-PSM-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-FC-PSM-MIB::h3cFcPsmEnable'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | enableWithAutoLearn |
3 | disable |
4 | noop |