portSecurityMacAddress
FS-NMS-SWITCH-MIB ·
.1.3.6.1.4.1.52642.9.1.1.2.2.1.2
Object
A unique string for mac address. Useing the format(port + space + mac address) to add a new mac address to a port.For example,'20 0013469905a9'will add the mac address '0013.4699.05a9' to port 20.The switch will return a error symbol to indicate a unsuccessful operation.
Context
- MIB
- FS-NMS-SWITCH-MIB
- OID
.1.3.6.1.4.1.52642.9.1.1.2.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- portSecurityMacAddressEntry
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 'FS-NMS-SWITCH-MIB' -M '/opt/observium/mibs/fscom-nms:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FS-NMS-SWITCH-MIB::portSecurityMacAddress'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FS-NMS-SWITCH-MIB' -M '/opt/observium/mibs/fscom-nms:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FS-NMS-SWITCH-MIB::portSecurityMacAddress.<portSecurityMacAddressPortIndex>.<portSecurityMacAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FS-NMS-SWITCH-MIB' -M '/opt/observium/mibs/fscom-nms:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FS-NMS-SWITCH-MIB::portSecurityMacAddress'
Syntax
- Source
- SNMPv2-TCMacAddress
- Base type
OctetString- Display format
1x:
Type Description
Represents an 802 MAC address represented in the `canonical' order defined by IEEE 802.1a, i.e., as if it were transmitted least significant bit first, even though 802.5 (in contrast to other 802.x protocols) requires MAC addresses to be transmitted most significant bit first.
Values & Constraints
Type Constraints
range: 6