agentIpsgIfPortSecurity
SWITCHING-MIB ·
.1.3.6.1.4.1.7244.2.1.2.8.23.5.1.2
Object
This object indicates whether IP packets received on this interface are filtered based on whether IP Source Guard considers the source MAC address to be a valid client address. The port security option cannot be enabled unless agentIpsgIfVerifySource is also enabled. That is, MAC address filtering cannot be done without also doing IP address filtering. But IP address filtering can be done without MAC address filtering. Once the port security option is enabled, it can only be disabled by disabling agentIpsgIfVerifySource.
Context
- MIB
- SWITCHING-MIB
- OID
.1.3.6.1.4.1.7244.2.1.2.8.23.5.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- agentIpsgIfConfigEntry
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 'SWITCHING-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCHING-MIB::agentIpsgIfPortSecurity'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCHING-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCHING-MIB::agentIpsgIfPortSecurity.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCHING-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCHING-MIB::agentIpsgIfPortSecurity'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |