All MIBs › CISCO-VISM-CODEC-MIB › vismCodecPreference
vismCodecPreference
Module: CISCO-VISM-CODEC-MIB
OID (symbolic): CISCO-VISM-CODEC-MIB::vismCodecPreference
OID (numeric): 1.3.6.1.4.1.351.110.5.5.18.1.1.4
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description: This object contains the user configured preference for each codec. Lower the number, higher the preference of the codec.
If the call agent does not specify the preferred codec list in CRCX(CreateConnection) request then the codec used will be the one of highest preference, as configured in this object.
The default preference based on the codec type is G729ab will have preference 1 G729a will have preference 2 G726 at rate 16 kbps will have preference 3 G726 at rate 24 kbps will have preference 4 G726 at rate 32 kbps will have preference 5 G726 at rate 40 kbps will have preference 6 G.711u will have preference 7 for T1 and will have preference 8 for E1 G.711a will have preference 7 for E1 card and will have preference 8 for T1 clearChannel will have preference 9 G723H will have preference 10 G723AH will have preference 11 G723L will have preference 12 G723AL will have preference 13 Lossless will have preference 14
If the preference of a codec is zero then that codec will not be used.
What is vismCodecPreference?
This read-write Integer32 object (0-65535) sets the user-configured preference for a codec, where a lower number means higher preference, used as the default codec choice when the call agent doesn't specify a preferred codec list in a CRCX request, with G729ab defaulting to preference 1. This preference ranking directly determines which codec gets used for calls when the call agent leaves the choice to the gateway, affecting both call quality and bandwidth usage across the trunk. An engineer wanting to bias the system toward bandwidth-efficient codecs for auto-negotiated calls would lower the preference number for compressed codecs like G.729ab relative to uncompressed G.711.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.351.110.5.5.18.1.1.4 snmpwalk -v2c -c public <target> CISCO-VISM-CODEC-MIB::vismCodecPreference
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.351.110.5.5.18.1.1.4.1 snmpget -v2c -c public <target> CISCO-VISM-CODEC-MIB::vismCodecPreference.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.351.110.5.5.18.1.1.4.1 i <value>
Start monitoring Cisco VISM (Voice Interworking Service Module) card, MGX platform (legacy) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-VISM-CODEC-MIB::vismCodecPreference OID value, configure state conditions and alerts, and monitor any Cisco VISM (Voice Interworking Service Module) card, MGX platform (legacy) from a single console.
OID Breakdown
Upper-level ancestors (10 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.351 | stratacom | CISCOWAN-SMI |
| 1.3.6.1.4.1.351.110 | basis | BASIS-MIB |
| 1.3.6.1.4.1.351.110.5 | basisServices | BASIS-MIB |
| 1.3.6.1.4.1.351.110.5.5 | voice | BASIS-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.351.110.5.5.18 | vismCodecCnfGrp | CISCO-VISM-CODEC-MIB |
| 1.3.6.1.4.1.351.110.5.5.18.1 | vismCodecCnfTable | CISCO-VISM-CODEC-MIB |
| 1.3.6.1.4.1.351.110.5.5.18.1.1 | vismCodecCnfEntry | CISCO-VISM-CODEC-MIB |
| 1.3.6.1.4.1.351.110.5.5.18.1.1.4 | vismCodecPreference | CISCO-VISM-CODEC-MIB |