Applying An Accounting Profile To The Physical Interface; Example: Applying An Accounting Profile To The Physical Interface - Juniper EX2200 Hardware Manual

Junos osfor exseries ethernetswitches
Hide thumbs Also See for EX2200:
Table of Contents

Advertisement

Applying an Accounting Profile to the Physical Interface

Copyright © 2015, Juniper Networks, Inc.
The polling 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 Network Management Administration Guide
for Routing Devices.
You apply filter profiles by including the
and
filter filter-name]
[edit firewall family family filter filter-name]
more information, see the Routing Policy Feature Guide for Routing Devices.
To enable accounting on an interface, include the
[edit interfaces interface-name]
[edit interfaces interface-name]
accounting-profile
name;
You can also reference profiles by logical unit; for more information, see
Accounting for the Logical Interface" on page

Example: Applying an Accounting Profile to the Physical Interface

Configure an accounting profile for an interface and apply it to a physical interface:
[edit]
accounting-options {
file if_stats {
size 4m files 10 transfer-interval 15;
archive-sites {
"ftp://login:password@host/path";
}
}
interface-profile if_profile {
interval 15;
file if_stats {
fields {
input-bytes;
output-bytes;
input-packets;
output-packets;
input-errors;
output-errors;
}
}
}
}
[edit interfaces ge-1/0/1]
accounting-profile if_profile;
hierarchy level. There are two types of accounting profiles:
[edit accounting-options]
filter-profile
statement at the
accounting-profile
accounting-profile
hierarchy level:
76.
Chapter 2: Configuration Tasks
hierarchy level. You configure
[edit accounting-options]
statement at the
[edit firewall
hierarchy levels. For
statement at the
"Configuring
75

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents