Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Configuring the Routing Engine Profile

The Routing Engine profile collects Routing Engine statistics and logs them to a file. The Routing Engine profile specifies the fields for which statistics are collected.

To configure a Routing Engine profile, include the routing-engine-profile statement at the [edit accounting-options] hierarchy level:

[edit accounting-options]routing-engine-profile profile-name {fields {field-name;}file filename;interval minutes;}

To configure a Routing Engine profile, perform the tasks described in the following sections:

Configuring Fields

A Routing Engine profile must specify what statistics are collected. To configure which statistics should be collected for the Routing Engine, include the fields statement at the [edit accounting-options routing-engine-profile profile-name] hierarchy level:

[edit accounting-options routing-engine-profile profile-name]fields {field-name;}

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 routing-engine-profile profile-name] hierarchy level:

[edit accounting-options routing-engine-profile profile-name]file filename;

You must specify a filename for the Routing Engine profile that has already been configured at the [edit accounting-options] hierarchy level.

Configuring the Interval

A Routing Engine 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 routing-engine-profile profile-name] hierarchy level:

[edit accounting-options routing-engine-profile profile-name]interval;

The range for interval is 1 through 2880 minutes. The default is 30 minutes.

Example: Configuring a Routing Engine Profile

Configure a Routing Engine profile:

[edit accounting-options]file my-file {size 300k;}routing-engine-profile profile-1 {file my-file;fields {host-name;date;time-of-day;uptime;cpu-load-1;cpu-load-5;cpu-load-15;}}

Published: 2012-12-08