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