h3cMcsL2EntryPortAttribute
H3C-MULTICAST-SNOOPING-MIB ·
.1.3.6.1.4.1.2011.10.2.123.1.3.1.8
Object
column Bits
Attribute of the port. 'd' means learned from IGMP/MLD packets, 's' means configured statically, 'p' means learned from PIM packets, 'k' means obtained from the kernel, 'r' means learned from (*, *) entries, 'w' means learned from (*, G) entries, 'b' means broadcast port, 'e' means learned from EVPN BGP route, 'de' means learned from IGMP/MLD packets in Exclude filter mode, 'ee' means learned from EVPN BGP routein Exclude filter mode, 'suc' means processing has succeeded, 'f' means processing has failed.
Context
- MIB
- H3C-MULTICAST-SNOOPING-MIB
- OID
.1.3.6.1.4.1.2011.10.2.123.1.3.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- h3cMcsL2EntryEntry
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 'H3C-MULTICAST-SNOOPING-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-MULTICAST-SNOOPING-MIB::h3cMcsL2EntryPortAttribute'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-MULTICAST-SNOOPING-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-MULTICAST-SNOOPING-MIB::h3cMcsL2EntryPortAttribute.<h3cMcsL2EntryVUType>.<h3cMcsL2EntryVUID>.<h3cMcsL2EntryAddressType>.<h3cMcsL2EntryGroupAddress>.<h3cMcsL2EntrySourceAddress>.<h3cMcsL2EntryIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-MULTICAST-SNOOPING-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-MULTICAST-SNOOPING-MIB::h3cMcsL2EntryPortAttribute'
Syntax
Bits
Values & Constraints
Enumerated Values
0 | d |
1 | s |
2 | p |
3 | k |
4 | r |
5 | w |
6 | b |
7 | e |
8 | de |
9 | ee |
10 | suc |
11 | f |