portSecurityAdminState
NEXANS-BM-MIB ·
.1.3.6.1.4.1.266.20.3.1.1.17
Object
column r/w
Enumeration
Enables the port security feature for that port. A value of notSupported(1) means, that port security ist not supported or disabled for that port (i.e. uplink port). The command renew(10) clears all learned MAC addresses and enables the port if it is disabled. See documentation for more details.
Context
- MIB
- NEXANS-BM-MIB
- OID
.1.3.6.1.4.1.266.20.3.1.1.17- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- bmSwitchPortEntry
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 'NEXANS-BM-MIB' -M '/opt/observium/mibs/nexans:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NEXANS-BM-MIB::portSecurityAdminState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NEXANS-BM-MIB' -M '/opt/observium/mibs/nexans:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NEXANS-BM-MIB::portSecurityAdminState.<portIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NEXANS-BM-MIB' -M '/opt/observium/mibs/nexans:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NEXANS-BM-MIB::portSecurityAdminState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | notSupported |
2 | disable |
3 | manualSettingMacAddr |
4 | autoAllowOneMacAddr |
5 | autoAllowTwoMacAddr |
6 | autoAllowThreeMacAddr |
7 | radiusAllowOneMacAddr |
8 | radiusAllowTwoMacAddr |
9 | radiusAllowThreeMacAddr |
10 | renew |
11 | ieee802AllowOneMacAddr |
12 | vendorSettingMacAddr |
13 | ieee802AllowMultiMacAddr |
14 | ieee802OrRadiusOneMac |
15 | ieee802AndRadiusTwoMac |
16 | learnOneMacAddr |
17 | learnTwoMacAddr |