Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

mib-profile

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
mib-profile profile-name {
    file filename;
    interval minutes;
    start-time time;
    object-names {
        mib-object-name;
    }
    operation operation-name;
}

Hierarchy Level

content_copy zoom_out_map
[edit accounting-options]

Description

Create a MIB profile to collect selected MIB statistics and write them to a file in the /var/log directory.

Note:

Do not configure MIB objects related to interface octets or packets for a MIB profile, because it can cause the SNMP walk or a CLI show command to time out.

Options

profile-name

Name of the MIB statistics profile.

start-time time

(Optional) Specify the start time in yyyy-mm-dd.hh:mm local time format for the accounting profile. Sometimes, if the time at which the records are written to the accounting file is beyond the transfer interval window of the file, drifting of accounting records occurs. To prevent drifting and to have predictable timestamps of when accounting data is written to an accounting file, we can specify the start time option for the accounting profile.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 8.2.

footer-navigation