agentSwitchMnHistRecord
DNOS-SWITCHING-MIB ·
.1.3.6.1.4.1.674.10895.5000.2.6132.1.1.1.2.8.48.1.8.1.2
Object
column OctetString
This object contains the information of a MAC change
notification event. The notification message contains
a list of MAC adresses in the following format:
'<operation><VLAN><MAC><dot1dBasePort>'
<operation> is of size 1 octet and supports the following
values
0 - End of MIB object.
1 - MAC learnt.
2 - MAC removed.
<VLAN> VLAN IDENTIFIER
<MAC> Layer2 Mac Address.
<dot1dBasePort> is the value of dot1dBasePort for the
port from which the MAC address is learnt or removed.
Context
- MIB
- DNOS-SWITCHING-MIB
- OID
.1.3.6.1.4.1.674.10895.5000.2.6132.1.1.1.2.8.48.1.8.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- agentSwitchMnHistoryEntry
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 'DNOS-SWITCHING-MIB' -M '/opt/observium/mibs/dell:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DNOS-SWITCHING-MIB::agentSwitchMnHistRecord'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DNOS-SWITCHING-MIB' -M '/opt/observium/mibs/dell:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DNOS-SWITCHING-MIB::agentSwitchMnHistRecord.<agentPortMirrorSessionNum>.<agentPortMirrorTypeSourcePort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DNOS-SWITCHING-MIB' -M '/opt/observium/mibs/dell:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DNOS-SWITCHING-MIB::agentSwitchMnHistRecord'
Syntax
OctetString
Values & Constraints
Enumerated Values
1 | tx |
2 | rx |
3 | txrx |