hh3cEponUniQosRuleSelector
HH3C-EPON-UNI-MIB ·
.1.3.6.1.4.1.25506.2.42.5.1.12.1.2
Object
column r/w
Enumeration
The ethernet frame selector. dstmac - based on destination MAC address. srcmac - based on source MAC address. ethernetpriority - based on ethernet priority. vlanid - based on VLAN ID. ethernettype - based on ethernet type. dstip - based on destination IP address. srcip - based on source IP address. ipprototype - based on IP type(ipv4 or ipv6). ipv4tosdscp - based on IP TOS/DSCP. ipv6 - based IP precedence. srcport - based on layer 4 source port. dstport - based on layer 4 destination port.
Context
- MIB
- HH3C-EPON-UNI-MIB
- OID
.1.3.6.1.4.1.25506.2.42.5.1.12.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hh3cEponUniQosRuleEntry
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 'HH3C-EPON-UNI-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-EPON-UNI-MIB::hh3cEponUniQosRuleSelector'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-EPON-UNI-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-EPON-UNI-MIB::hh3cEponUniQosRuleSelector.<ifIndex>.<hh3cEponUniIndex>.<hh3cEponUniQosConfIndex>.<hh3cEponUniQosRuleIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-EPON-UNI-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-EPON-UNI-MIB::hh3cEponUniQosRuleSelector'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | dstmac |
2 | srcmac |
3 | ethernetpriority |
4 | vlanid |
5 | ethernettype |
6 | dstip |
7 | srcip |
8 | ipprototype |
9 | ipv4tosdscp |
10 | ipv6precedence |
11 | srcport |
12 | dstport |