c2900PortClearAddresses
CISCO-C2900-MIB ·
.1.3.6.1.4.1.9.9.87.1.4.1.1.15
Object
Set to true(1) to delete all learned and assigned dynamic, static and secure unicast addresses the port currently has. Setting the object to false(2) has no effect. This object always returns false(2) when read.
Context
- MIB
- CISCO-C2900-MIB
- OID
.1.3.6.1.4.1.9.9.87.1.4.1.1.15- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- c2900PortEntry
- Groups
- 6
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 'CISCO-C2900-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-C2900-MIB::c2900PortClearAddresses'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-C2900-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-C2900-MIB::c2900PortClearAddresses.<c2900PortModuleIndex>.<c2900PortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-C2900-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-C2900-MIB::c2900PortClearAddresses'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |