show services accounting flow
구문
show services accounting flow <inline-jflow fpc-slot slot-number | logical-system (all | logical-system) | name (* | all | service-name)>
설명
활성 플로우 통계를 표시합니다.
옵션
none | 모든 서비스 인스턴스에 대한 활성 플로우 통계를 표시합니다. |
logical-system (all | logical-system) | (선택 사항) 지정된 논리적 시스템 또는 디바이스의 모든 논리적 시스템에 대한 활성 플로우 통계를 표시합니다. |
inline-jflow (fpc-slot slot-number) | (선택 사항) 지정된 FPC에 대한 인라인 플로우 통계를 표시합니다. PTX 시리즈의 경우, Junos OS Evolved 릴리스 21.2R1 및 Junos OS 릴리스 21.3R1부터 샘플링된 모든 패킷은 플로우로 간주됩니다. 샘플링된 패킷이 수신되면 플로우가 생성되고 즉시 비활성으로 시간 초과되며 소프트웨어는 레코드를 수집기로 내보냅니다. 따라서 이 옵션을 지정하면 이제 명령이 모든 다양한 |
name (* | all | service-name) | (선택 사항) 서비스 회계 활성 흐름 통계를 표시합니다. 와일드카드 문자를 사용하거나, 모든 서비스를 지정하거나, 특정 서비스 이름을 제공합니다. |
필요한 권한 수준
보기
출력 필드
표 1 에는 명령의 출력 필드가 나열되어 있습니다 show services accounting flow
. 출력 필드는 나타나는 대략적인 순서대로 나열됩니다.
Output 필드 |
출력 필드 설명 |
---|---|
서비스 계정 인터페이스 |
서비스 계정 인터페이스의 이름입니다. |
로컬 인터페이스 인덱스 |
로컬 인터페이스의 인덱스 카운터입니다. |
서비스 이름 |
계층 수준에서 구성된 |
플로우 정보 | |
FPC 슬롯 |
플로우 정보가 표시되는 FPC의 슬롯 번호. (옵션을 사용하는 경우에만 |
플로우 패킷 |
운영 PIC가 수신한 패킷 수. |
플로우 바이트 |
운영 PIC가 수신한 바이트 수. |
플로우 패킷 10초 속도 |
PIC에 의해 처리되고 10초 평균으로 표시되는 초당 패킷 수. |
플로우 바이트 10초 속도 |
PIC에 의해 처리되고 10초 평균으로 표시되는 초당 바이트 수. |
활성 플로우 |
PIC에서 추적하는 현재 활성 플로우 수입니다. |
총 흐름 |
운영 PIC가 수신한 총 플로우 수. |
내보낸 흐름 |
운영 PIC에서 내보낸 총 플로우 수. |
내보낸 패킷 흐름 |
운영 PIC에서 내보낸 총 cflowd 패킷 수. |
비활성 흐름이 시간 초과되었습니다. |
비활성으로 인해 반출된 총 플로우 수입니다. |
활성 흐름 시간 초과 |
활성 시간 초과로 인해 내보낸 긴 수명 흐름의 총 수입니다. |
샘플 출력
- show services accounting flow(플로우 어그리게이션 v5/v8 구성)
- show services accounting flow(플로우 어그리게이션 v9 구성)
- 서비스 계정 흐름 이름 표시
- show services accounting flow name all
- show services accounting flow(여러 샘플링 인스턴스)
- show services accounting flow inline-jflow fpc-slot(IPv4 플로우용)
- show services accounting flow inline-jflow fpc-slot(IPv4, IPv6, VPLS 및 브리지 구성 포함)
- show services accounting flow inline-jflow(IPv4 및 IPv6 구성을 사용하는 MX80 라우터)
- show services accounting flow inline-jflow fpc-slot(IPv4와 IPv6이 모두 구성된 경우 라우터 PTX1000)
- show services accounting flow inline-jflow(PTX10003 라우터의 경우 Junos OS Evolved 21.2R1 이상)
- show services accounting flow inline-jflow(IPv4가 구성된 경우 SRX 시리즈)
show services accounting flow(플로우 어그리게이션 v5/v8 구성)
user@host> show services accounting flow Service Accounting interface: rsp0, Local interface index: 171 Service name: (default sampling) Interface state: Accounting Flow information Flow packets: 87168293, Flow bytes: 5578770752 Flow packets 10-second rate: 45762, Flow bytes 10-second rate: 2928962 Active flows: 1000, Total flows: 2000 Flows exported: 19960, Flows packets exported: 582 Flows inactive timed out: 1000, Flows active timed out: 29000
show services accounting flow(플로우 어그리게이션 v9 구성)
user@host> show services accounting flow Flow information Service Accounting interface: sp-7/1/0, Local interface index: 149 Flow packets: 0, Flow bytes: 0 Flow packets 10-second rate: 0, Flow bytes 10-second rate: 0 Active flows: 0, Total flows: 0 Flows exported: 0, Flows packets exported: 1 Flows inactive timed out: 0, Flows active timed out: 0
서비스 계정 흐름 이름 표시
user@host> show services accounting flow name count2 Service Accounting interface: mo-1/1/0, Local interface index: 15 Service name: count2 Flow information Flow packets: 0, Flow bytes: 0 Flow packets 10-second rate: 0, Flow bytes 10-second rate: 0 Active flows: 0, Total flows: 0 Flows exported: 0, Flows packets exported: 0 Flows inactive timed out: 0, Flows active timed out: 0
show services accounting flow name all
user@host> show services accounting flow name all Service Accounting interface: rsp0, Local interface index: 171 Service name: T2 Interface state: Accounting Flow information Flow packets: 37609891, Flow bytes: 2407033024 Flow packets 10-second rate: 45762, Flow bytes 10-second rate: 2928953 Active flows: 1000, Total flows: 1000 Flows exported: 6705, Flows packets exported: 198 Flows inactive timed out: 0, Flows active timed out: 13000 Service Accounting interface: rsp0, Local interface index: 171 Service name: T3 Interface state: Accounting Flow information Flow packets: 37750807, Flow bytes: 2416051712 Flow packets 10-second rate: 45762, Flow bytes 10-second rate: 2928940 Active flows: 1000, Total flows: 1000 Flows exported: 13437, Flows packets exported: 378 Flows inactive timed out: 0, Flows active timed out: 13000 Service Accounting interface: rsp0, Local interface index: 171 Service name: T4 Interface state: Accounting Flow information Flow packets: 0, Flow bytes: 0 Flow packets 10-second rate: 0, Flow bytes 10-second rate: 0 Active flows: 0, Total flows: 0 Flows exported: 0, Flows packets exported: 0 Flows inactive timed out: 0, Flows active timed out: 0 Service Accounting interface: rsp0, Local interface index: 171 Service name: count1 Interface state: Accounting Flow information Flow packets: 0, Flow bytes: 0 Flow packets 10-second rate: 0, Flow bytes 10-second rate: 0 Active flows: 0, Total flows: 0 Flows exported: 0, Flows packets exported: 0 Flows inactive timed out: 0, Flows active timed out: 0
show services accounting flow(여러 샘플링 인스턴스)
user@host> show services accounting flow Flow information Service Accounting interface: sp-2/0/0, Local interface index: 215 Flow packets: 9867, Flow bytes: 631488 Flow packets 10-second rate: 0, Flow bytes 10-second rate: 628 Active flows: 2, Total flows: 10 Flows exported: 4028, Flows packets exported: 6150 Flows inactive timed out: 8, Flows active timed out: 4026 Service Accounting interface: sp-2/1/0, Local interface index: 223 Flow packets: 0, Flow bytes: 0 Flow packets 10-second rate: 0, Flow bytes 10-second rate: 0 Active flows: 0, Total flows: 0 Flows exported: 0, Flows packets exported: 1 Flows inactive timed out: 0, Flows active timed out: 0
show services accounting flow inline-jflow fpc-slot(IPv4 플로우용)
user@host> show services accounting flow inline-jflow fpc-slot 5 Flow information FPC Slot: 5 Flow Packets: 0, Flow Bytes: 0 Active Flows: 0, Total Flows: 0 Flows Exported: 0, Flow Packets Exported: 0 Flows Inactive Timed Out: 0, Flows Active Timed Out: 0
show services accounting flow inline-jflow fpc-slot(IPv4, IPv6, VPLS 및 브리지 구성 포함)
user@host> show services accounting flow inline-jflow fpc-slot 5 Flow information FPC Slot: 5 Flow Packets: 0, Flow Bytes: 0 Active Flows: 0, Total Flows: 0 Flows Exported: 0, Flow Packets Exported: 0 Flows Inactive Timed Out: 0, Flows Active Timed Out: 0 IPv4 Flows: IPv4 Flow Packets: 0, IPv4 Flow Bytes: 0 IPv4 Active Flows: 0, IPv4 Total Flows: 0 IPv4 Flows Exported: 0, IPv4 Flow Packets exported: 0 IPv4 Flows Inactive Timed Out: 0, IPv4 Flows Active Timed Out: 0 IPv6 Flows: IPv6 Flow Packets: 0, IPv6 Flow Bytes: 0 IPv6 Active Flows: 0, IPv6 Total Flows: 0 IPv6 Flows Exported: 0, IPv6 Flow Packets Exported: 0 IPv6 Flows Inactive Timed Out: 0, IPv6 Flows Active Timed Out: 0 VPLS Flows: VPLS Flow Packets: 0, VPLS Flow Bytes: 0 VPLS Active Flows: 0, VPLS Total Flows: 0 VPLS Flows Exported: 0, VPLS Flow Packets Exported: 0 VPLS Flows Inactive Timed Out: 0, VPLS Flows Active Timed Out: 0 BRIDGE Flows: BRIDGE Flow Packets: 0, BRIDGE Flow Bytes: 0 BRIDGE Active Flows: 0, BRIDGE Total Flows: 0 BRIDGE Flows Exported: 0, BRIDGE Flow Packets Exported: 0 BRIDGE Flows Inactive Timed Out: 0, BRIDGE Flows Active Timed Out: 0 BRIDGE Flow Insert Count: 0
show services accounting flow inline-jflow(IPv4 및 IPv6 구성을 사용하는 MX80 라우터)
user@host> show services accounting flow inline-jflow Flow information TFEB Slot: 0 Flow Packets: 0, Flow Bytes: 0 Active Flows: 0, Total Flows: 0 Flows Exported: 0, Flow Packets Exported: 0 Flows Inactive Timed Out: 0, Flows Active Timed Out: 0 IPv4 Flows: IPv4 Flow Packets: 0, IPv4 Flow Bytes: 0 IPv4 Active Flows: 0, IPv4 Total Flows: 0 IPv4 Flows Exported: 0, IPv4 Flow Packets exported: 0 IPv4 Flows Inactive Timed Out: 0, IPv4 Flows Active Timed Out: 0 IPv6 Flows: IPv6 Flow Packets: 0, IPv6 Flow Bytes: 0 IPv6 Active Flows: 0, IPv6 Total Flows: 0 IPv6 Flows Exported: 0, IPv6 Flow Packets Exported: 0 IPv6 Flows Inactive Timed Out: 0, IPv6 Flows Active Timed Out: 0
show services accounting flow inline-jflow fpc-slot(IPv4와 IPv6이 모두 구성된 경우 라우터 PTX1000)
user@host> show services accounting flow inline-jflow fpc-slot 0 Flow information FPC Slot: 0 Flow Packets: 47427946, Flow Bytes: 5217074060 Active Flows: 0, Total Flows: 2 Flows Exported: 194, Flow Packets Exported: 7045 Flows Inactive Timed Out: 2, Flows Active Timed Out: 192 IPv4 Flows: IPv4 Flow Packets: 47427946, IPv4 Flow Bytes: 5217074060 IPv4 Active Flows: 0, IPv4 Total Flows: 2 IPv4 Flows Exported: 194, IPv4 Flow Packets exported: 7045 IPv4 Flows Inactive Timed Out: 2, IPv4 Flows Active Timed Out: 192 IPv6 Flows: IPv6 Flow Packets: 0, IPv6 Flow Bytes: 0 IPv6 Active Flows: 0, IPv6 Total Flows: 0 IPv6 Flows Exported: 0, IPv6 Flow Packets Exported: 0 IPv6 Flows Inactive Timed Out: 0, IPv6 Flows Active Timed Out: 0
show services accounting flow inline-jflow(PTX10003 라우터의 경우 Junos OS Evolved 21.2R1 이상)
user@host> show services accounting flow inline-jflow fpc-slot 0 Flow information FPC Slot: 0 Flow Packets: 0, Flow Bytes: 0 Active Flows: 0, Total Flows: 0 Flows Exported: 0, Flow Packets Exported: 0 Flows Inactive Timed Out: 0, Flows Active Timed Out: 0 IPv4 Flows: IPv4 Flow Packets: 0, IPv4 Flow Bytes: 0 IPv4 Active Flows: 0, IPv4 Total Flows: 0 IPv4 Flows Exported: 0 IPv4 Flows Inactive Timed Out: 0, IPv4 Flows Active Timed Out: 0 IPv6 Flows: IPv6 Flow Packets: 0, IPv6 Flow Bytes: 0 IPv6 Active Flows: 0, IPv6 Total Flows: 0 IPv6 Flows Exported: 0 IPv6 Flows Inactive Timed Out: 0, IPv6 Flows Active Timed Out: 0 MPLS Flows: MPLS Flow Packets: 0, MPLS Flow Bytes: 0 MPLS Active Flows: 0, MPLS Total Flows: 0 MPLS Flows Exported: 0 MPLS Flows Inactive Timed Out: 0, MPLS Flows Active Timed Out: 0
show services accounting flow inline-jflow(IPv4가 구성된 경우 SRX 시리즈)
user@host> show services accounting flow inline-jflow Flow information FPC Slot: 0 Flow Packets: 462680, Flow Bytes: 45433206 Active Flows: 34, Total Flows: 61093 Flows Exported: 138936, Flow Packets Exported: 96649 Flows Inactive Timed Out: 61083, Flows Active Timed Out: 138936 Total Flow Insert Count: 0 IPv4 Flows: IPv4 Flow Packets: 462680, IPv4 Flow Bytes: 45433206 IPv4 Active Flows: 34, IPv4 Total Flows: 61093 IPv4 Flows Exported: 138936, IPv4 Flow Packets exported: 96649 IPv4 Flows Inactive Timed Out: 61083, IPv4 Flows Active Timed Out: 138936 IPv4 Flow Insert Count: 0
릴리스 정보
Junos OS 릴리스 7.4 전에 소개된 명령입니다.
Junos OS 릴리스 10.0에는 여러 샘플링 인스턴스의 출력을 표시하는 기능이 추가되었습니다.