show accounting profile
语法
show accounting profile profile-name
描述
显示记帐配置文件信息。
选项
profile-name | 会计配置文件的名称。 |
所需权限级别
视图
输出字段
表 1 列出了命令 show accounting profile
的输出字段。输出字段按其出现的大致顺序列出。
字段名称 |
字段说明 |
---|---|
配置 文件 |
会计配置文件的名称。 |
采样间隔 |
为统计信息收集配置的时间间隔(以分钟为单位)。 |
配置文件使用计数 |
为收集会计统计信息配置的项目数。 |
file information |
有关会计配置文件日志的信息,包括:
|
传输间隔 |
文件保持打开状态的时间长度(以分钟为单位),在关闭、传输和旋转文件之前接收统计信息。当超过时间或文件大小时,无论是否指定了传输站点,都将关闭文件并打开一个新文件。 |
下一次预定传输 |
下一次传输发生的时间。 |
列标签 |
抽样统计信息的名称。此列表因配置而异:
|
接口名称 |
为此记帐配置文件配置的接口的名称。 |
过滤器名称 |
为此记帐配置文件配置的筛选器的名称。 |
路由引擎统计 |
路由引擎记帐配置文件。 |
下一个计划收集 |
下次收集命名接口统计信息的时间。 |
示例输出
显示会计配置文件(界面)
user@host> show accounting profile if_prof Profile if_prof Sampling interval: 1 minute(s), Profile Usage Count: 2 File accounting_profile_stats: maximum size 1048576, maximum number 5, bytes written 2196 Transfer Interval: 15 minute(s), Next Scheduled Transfer: 2001-06-17-18:00:45 Column Labels: profile-layout epoch-timestamp interface-name snmp-index input-bytes output-bytes input-packets output-packets input-unicast output-unicast input-multicast output-multicast no-proto input-errors output-errors Interface Name Next Scheduled Collection fxp0.0 2001-06-18-18:00:30 fxp0 2001-06-18-18:01:00
显示会计配置文件(筛选器)
user@host> show accounting profile filter_profile Profile filter_profile Sampling interval: 1 minute(s), Profile Usage Count: 0 File accounting_profile_stats: maximum size 1048576, maximum number 5, bytes written 822 Transfer Interval: 15 minute(s), Next Scheduled Transfer: 2001-06-17-18:00:46 Column Labels: profile-layout epoch-timestamp interfaces filter-name counter-name packet-count byte-count Filter Name Next Scheduled Collection myfiltero 2001-06-03-04:32:59
显示会计配置文件(目标类别)
user@host> show accounting profile dcu1 Profile dcu1 Sampling interval: 1 minute(s), Profile Usage Count: 0 File accounting_profile_stats: maximum size 1048576, maximum number 5, bytes written 901 Transfer Interval: 15 minute(s), Next Scheduled Transfer: 2001-06-17-18:00:46 Column Labels: profile-layout epoch-timestamp interface-name destination-class-name packet-count byte-count Interface Name Next Scheduled Collection so-0/3/3 2001-06-03-04:34:00
显示记帐配置文件(路由引擎)
user@host> show accounting profile rep1 Profile rep1 Sampling interval: 1 minute(s), Profile Usage Count: 1 File accounting_profile_stats: maximum size 1048576, maximum number 5, bytes written 901 Transfer Interval: 15 minute(s), Next Scheduled Transfer: 2001-06-17-18:00:46 Column Labels: profile-layout epoch-timestamp hostname date-yyyymmdd timeofday-hhmmss uptime cpu1min cpu5min cpu15min Interface Name Next Scheduled Collection routing-engine-stats 2001-06-18-18:02:31
发布信息
在 Junos OS 7.4 版之前引入的命令。