cdsIfSrcGuardMacFilterAction
CISCO-DHCP-SNOOPING-MIB ·
.1.3.6.1.4.1.9.9.380.1.6.2.1.7
Object
column Enumeration
This object indicates the Source Guard action
applied at this interface with respect to MAC traffic.
allowMacAddress(1) indicates that MAC traffic coming
from the MAC address denoted by cdsIfSrcGuardMacAddress
object will be allowed to go through.
denyAllMacAddresses(2) indicates that all MAC traffic
coming to this interface will be dropped. The value
of cdsIfSrcGuardMacAddress object will be ignored in
this case.
permitAllMacAddresses(3) indicates that all MAC traffic
coming to this interface will be allowed. The value
of cdsIfSrcGuardMacAddress object will be ignored in
this case.
Context
- MIB
- CISCO-DHCP-SNOOPING-MIB
- OID
.1.3.6.1.4.1.9.9.380.1.6.2.1.7- Type
- column
- Access
- readonly
- Status
- current
- Parent
- cdsIfSrcGuardAddrEntry
- Groups
- 1
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-DHCP-SNOOPING-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-DHCP-SNOOPING-MIB::cdsIfSrcGuardMacFilterAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-DHCP-SNOOPING-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-DHCP-SNOOPING-MIB::cdsIfSrcGuardMacFilterAction.<ifIndex>.<cdsIfSrcGuardIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-DHCP-SNOOPING-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-DHCP-SNOOPING-MIB::cdsIfSrcGuardMacFilterAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | allowMacAddress |
2 | denyAllMacAddresses |
3 | permitAllMacAddresses |
Conformance
Member of