SNMP Server MIB
Configure SNMP Server MIB settings on IOS-XR devices including CBQoSMIB, IFMIB, RFMIB, SensorMIB, MPLS TE MIB, notification log MIB, and entity index settings.
Diagram
Section titled “Diagram”Classes
Section titled “Classes”configuration (iosxr.devices)
Section titled “configuration (iosxr.devices)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| snmp_server_mibs | Class | [snmp_server_mibs] | No |
snmp_server_mibs (iosxr.devices.configuration)
Section titled “snmp_server_mibs (iosxr.devices.configuration)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| cbqosmib_cache | Boolean | true, false | No | |
| cbqosmib_cache_refresh_time | Integer | min: 5, max: 60 | No | |
| cbqosmib_cache_service_policy_count | Integer | min: 1, max: 5000 | No | |
| cbqosmib_persist | Boolean | true, false | No | |
| cbqosmib_member_stats | Boolean | true, false | No | |
| ifindex_persist | Boolean | true, false | No | |
| interfaces | List | [interfaces] | No | |
| trap_link_ietf | Boolean | true, false | No | |
| ifmib_ifalias_long | Boolean | true, false | No | |
| ifmib_stats_cache | Boolean | true, false | No | |
| ifmib_ipsubscriber | Boolean | true, false | No | |
| ifmib_internal_cache_max_duration | Integer | min: 0, max: 60 | No | |
| rfmib_entphyindex | Boolean | true, false | No | |
| sensormib_cache | Boolean | true, false | No | |
| mplstemib_cache_timers_garbage_collect | Integer | min: 0, max: 3600 | No | |
| mplstemib_cache_timers_refresh | Integer | min: 0, max: 600 | No | |
| mplsp2mpmib_cache_timer | Integer | min: 0, max: 600 | No | |
| frrmib_cache_timer | Integer | min: 0, max: 600 | No | |
| cmplsteextmib_cache_timer | Integer | min: 0, max: 600 | No | |
| cmplsteextstdmib_cache_timer | Integer | min: 0, max: 600 | No | |
| mroutemib_send_all_vrf | Boolean | true, false | No | |
| notification_log_mib_default | Boolean | true, false | No | |
| notification_log_mib_global_age_out | Integer | min: 1, max: 4294967295 | No | |
| notification_log_mib_global_size | Integer | min: 1, max: 15000 | No | |
| notification_log_mib_disable | Boolean | true, false | No | |
| notification_log_mib_size | Integer | min: 1, max: 15000 | No | |
| entityindex_persist | Boolean | true, false | No |
interfaces (iosxr.devices.configuration.snmp_server_mibs)
Section titled “interfaces (iosxr.devices.configuration.snmp_server_mibs)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| interface_name | String | Yes | ||
| notification_linkupdown_enable | Boolean | true, false | No | |
| notification_linkupdown_disable | Boolean | true, false | No | |
| index_persistence | Boolean | true, false | No |
Example YAML Code:
Section titled “Example YAML Code:”Example-1: Enable long interface alias support and interface index persistence.
iosxr: devices: - name: router-1 host: 10.10.10.1:57400 configuration: snmp_server_mibs: ifmib_ifalias_long: true ifindex_persist: trueExample-2: Configure CBQoSMIB settings with caching.
iosxr: devices: - name: router-1 host: 10.10.10.1:57400 configuration: snmp_server_mibs: cbqosmib_cache: true cbqosmib_cache_refresh_time: 30 cbqosmib_cache_service_policy_count: 100 cbqosmib_persist: true cbqosmib_member_stats: trueExample-3: Configure IFMIB settings with interface-specific configuration.
iosxr: devices: - name: router-1 host: 10.10.10.1:57400 configuration: snmp_server_mibs: ifmib_ifalias_long: true ifmib_stats_cache: true ifmib_ipsubscriber: true ifmib_internal_cache_max_duration: 30 trap_link_ietf: true interfaces: - interface_name: GigabitEthernet0/0/0/1 notification_linkupdown_disable: true index_persistence: true