prioIpDscpRestoreDefault
SMC6152L2-MIB ·
.1.3.6.1.4.1.202.20.66.1.13.5
Object
Enables the IP DSCP settings of a port to be reset to their defaults. To reset the IP DSCP settings of a port, assign the value of the relevant ifIndex defined by the ifIndex in the IF-MIB. For example, assigning the value 1 will result in the IP DSCP settings of port 1 being restored to their default. 0 will always be obtained when reading this variable
Context
- MIB
- SMC6152L2-MIB
- OID
.1.3.6.1.4.1.202.20.66.1.13.5- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- priorityMgt
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SMC6152L2-MIB' -M '/opt/observium/mibs/smc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SMC6152L2-MIB::prioIpDscpRestoreDefault.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SMC6152L2-MIB' -M '/opt/observium/mibs/smc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SMC6152L2-MIB::prioIpDscpRestoreDefault'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647