zxAnIpSrcGuardIfEnable
ZTE-AN-SECURITY-SERVICE-MIB ·
.1.3.6.1.4.1.3902.1015.11.1.7.2.1.8
Object
This object indicates whether IP Source Guard is enabled at this interface.If this object is set to 'true', IP Source Guard is enabled. Traffic coming to this interface will be forwarded if it is from the list of IP addresses obtained through DHCP Snooping. Otherwise, it is denied. If this object is set to 'false', IP Source Guard is disabled. 1-truth,2-false.
Context
- MIB
- ZTE-AN-SECURITY-SERVICE-MIB
- OID
.1.3.6.1.4.1.3902.1015.11.1.7.2.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxAnSecSvcIfSrcGuardConfigEntry
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 'ZTE-AN-SECURITY-SERVICE-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-SECURITY-SERVICE-MIB::zxAnIpSrcGuardIfEnable'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-SECURITY-SERVICE-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-SECURITY-SERVICE-MIB::zxAnIpSrcGuardIfEnable.<zxAnSecSvcRack>.<zxAnSecSvcShelf>.<zxAnSecSvcSlot>.<zxAnSecSvcPort>.<zxAnSecSvcOnu>.<zxAnSecSvcCircuitType>.<zxAnSecSvcLogicalId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-SECURITY-SERVICE-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-SECURITY-SERVICE-MIB::zxAnIpSrcGuardIfEnable'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |