Configuring Accounting For The Logical Interface; Applying An Accounting Profile To The Logical Interface; Example: Applying An Accounting Profile To The Logical Interface - Juniper JUNOS OS 10.4 - FOR EX REV 1 Manual

For ex series ethernet switches
Table of Contents

Advertisement

Configuring Accounting for the Logical Interface

Applying an Accounting Profile to the Logical Interface

Copyright © 2010, Juniper Networks, Inc.
input-packets;
output-packets;
input-errors;
output-errors;
}
}
}
}
[edit interfaces ge-1/0/1]
accounting-profile if_profile;
Juniper Networks routers or switches can collect various kinds of data about traffic passing
through the router or switch . You can set up one or more accounting profiles that specify
some common characteristics of this data, including the following:
The fields used in the accounting records
The number of files that the router or switch retains before discarding, and the number
of bytes per file
The period that the system uses to record the data
You configure the profiles and define a unique name for each profile using statements
at the
[edit accounting-options]
interface profiles and filter profiles. You configure interface profiles by including the
statement at the
interface-profile
filter profiles by including the
hierarchy level. For more information, see the Junos OS Network Management Configuration
Guide.
You apply filter profiles by including the
and
filter filter-name]
[edit firewall family family filter filter-name]
more information, see the Junos OS Policy Framework Configuration Guide.
To enable accounting on a logical interface, include the
accounting-profile name;
You can include this statement at the following hierarchy level:
[edit interfaces interface-name unit logical-unit-number]
You can also reference profiles for the physical interface; for more information, see
"Configuring Accounting for the Physical Interface" on page 1324.

Example: Applying an Accounting Profile to the Logical Interface

Configure an accounting profile for an interface and apply it to a logical interface:
[edit]
accounting-options {
hierarchy level. There are two types of accounting profiles:
[edit accounting-options]
statement at the
filter-profile
accounting-profile
Chapter 58: Configuring Interfaces
hierarchy level. You configure
[edit accounting-options]
statement at the
[edit firewall
hierarchy levels. For
accounting-profile
statement:
1325

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents