Related Documentation
- M Series
- Understanding Source Class Usage and Destination Class Usage Options
- Configuring SCU or DCU
- Configuring SCU on a Virtual Loopback Tunnel Interface
- Configuring Class Usage Profiles
- Configuring the Routing Engine Profile
- MX Series
- Understanding Source Class Usage and Destination Class Usage Options
- Configuring SCU or DCU
- Configuring SCU on a Virtual Loopback Tunnel Interface
- Configuring Class Usage Profiles
- Configuring the Routing Engine Profile
- PTX Series
- Configuring Class Usage Profiles
- Configuring the Routing Engine Profile
- T Series
- Understanding Source Class Usage and Destination Class Usage Options
- Configuring SCU or DCU
- Configuring SCU on a Virtual Loopback Tunnel Interface
- Configuring Class Usage Profiles
- Configuring the Routing Engine Profile
Configuring the MIB Profile
The MIB profile collects MIB statistics and logs them to a file. The MIB profile specifies the SNMP operation and MIB object names for which statistics are collected.
To configure a MIB profile, include the mib-profile statement at the [edit accounting-options] hierarchy level:
To configure a MIB profile, perform the tasks described in the following sections:
Configuring the File Information
Each accounting profile logs its statistics to a file in the /var/log directory.
To configure which file to use, include the file statement at the [edit accounting-options mib-profile profile-name] hierarchy level:
You must specify a filename for the MIB profile that has already been configured at the [edit accounting-options] hierarchy level.
Configuring the Interval
A MIB profile has statistics collected once per interval time specified for the profile. Statistics collection time is scheduled evenly over the configured interval. To configure the interval, include the interval statement at the [edit accounting-options mib-profile profile-name] hierarchy level:
The range for the interval statement is 1 through 2880 minutes. The default is 30 minutes.
Configuring the MIB Operation
A MIB profile must specify the operation that is used to collect MIB statistics. To configure which operation is used to collect MIB statistics, include the operation statement at the [edit accounting-options mib-profile profile-name] hierarchy level:
You can configure a get, get-next, or walk operation. The default operation is walk.
Configuring MIB Object Names
A MIB profile must specify the MIB objects for which statistics are to be collected. To configure the MIB objects for which statistics are collected, include the objects-names statement at the [edit accounting-options mib-profile profile-name] hierarchy level:
You can include multiple MIB object names in the configuration.
![]() | 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. |
Example: Configuring a MIB Profile
Configure a MIB profile:
Related Documentation
- M Series
- Understanding Source Class Usage and Destination Class Usage Options
- Configuring SCU or DCU
- Configuring SCU on a Virtual Loopback Tunnel Interface
- Configuring Class Usage Profiles
- Configuring the Routing Engine Profile
- MX Series
- Understanding Source Class Usage and Destination Class Usage Options
- Configuring SCU or DCU
- Configuring SCU on a Virtual Loopback Tunnel Interface
- Configuring Class Usage Profiles
- Configuring the Routing Engine Profile
- PTX Series
- Configuring Class Usage Profiles
- Configuring the Routing Engine Profile
- T Series
- Understanding Source Class Usage and Destination Class Usage Options
- Configuring SCU or DCU
- Configuring SCU on a Virtual Loopback Tunnel Interface
- Configuring Class Usage Profiles
- Configuring the Routing Engine Profile
