Cisco ASR1002查看资源占用的几条命令
-
查看平台资源
show platform resource
该命令用于显示整个平台的资源使用情况,包括 CPU、内存等
example:
ASR1002# show platform resources
**State Acronym: H - Healthy, W - Warning, C - Critical
Resource Usage Max Warning Critical State
----------------------------------------------------------------------------------------------------
RP0 (ok, active) H
Control Processor 11.99% 100% 90% 95% H
DRAM 1995MB(52%) 3783MB 90% 95% H
ESP0(ok, active) H
Control Processor 24.63% 100% 90% 95% H
DRAM 782MB(82%) 946MB 90% 95% H
QFP H
TCAM 18024cells(27%) 65536cells 45% 55% H
DRAM 98699KB(37%) 262144KB 80% 90% H
IRAM 10453KB(7%) 131072KB 80% 90% H
SIP0 H
Control Processor 3.91% 100% 90% 95% H
DRAM 352MB(76%) 460MB 90% 95% H
-
查看 TCAM 资源
show platform hardware qfp active tcam resource-manager usage
该命令用于查看 TCAM(Ternary Content Addressable Memory)的使用情况,包括总 TCAM 单元数和剩余可用单元数。
ASR1000# show platform hardware qfp active tcam resource-manager usage
ASR1002#
ASR1002# show platform hardware qfp active tcam resource-manager usage
QFP TCAM Usage Information
80 Bit Region Information
--------------------------
Name : Leaf Region #0
Number of cells per entry : 1
Current 80 bit entries used : 0
Current used cell entries : 0
Current free cell entries : 0
160 Bit Region Information
--------------------------
Name : Leaf Region #1
Number of cells per entry : 2
Current 160 bits entries used : 9012
Current used cell entries : 18024
Current free cell entries : 6552
320 Bit Region Information
--------------------------
Name : Leaf Region #2
Number of cells per entry : 4
Current 320 bits entries used : 0
Current used cell entries : 0
Current free cell entries : 0
Total TCAM Cell Usage Information
----------------------------------
Name : TCAM #0 on CPP #0
Total number of regions : 3
Total tcam used cell entries : 18024
Total tcam free cell entries : 47512
Threshold status : below critical limit
ASR1002#
-
查看 QFP 内存使用情况
show platform hardware qfp active infrastructure exmem statistics
该命令用于查看 Quantum Flow Processor (QFP) 的内存使用情况,包括 IRAM 和 DRAM 的分配和使用情况
ASR1002#
ASR1002# show platform hardware qfp active infrastructure exmem statistics
QFP exmem statistics
Type: Name: DRAM, QFP: 0
Total: 268435456
InUse: 101067776
Free: 167367680
Lowest free water mark: 164891648
Type: Name: IRAM, QFP: 0
Total: 134217728
InUse: 10703872
Free: 123513856
Lowest free water mark: 123513856
Type: Name: SRAM, QFP: 0
Total: 32768
InUse: 15872
Free: 16896
Lowest free water mark: 16896
-
查看硬件状态
show platform diag
该命令用于查看主要硬件组件的运行状态,包括插槽、子插槽、电源、风扇等的状态
ASR1002# show plat
ASR1002# show platform di
ASR1002# show platform diag
Chassis type: ASR1002
Slot: 0, ASR1002-SIP10
Running state : ok
Internal state : online
Internal operational state : ok
Physical insert detect time : 00:00:52 (4y46w ago)
Software declared up time : 00:03:19 (4y46w ago)
CPLD version : 07120202
Firmware version : 12.2(33r)XNC
Sub-slot: 0/0, 4XGE-BUILT-IN
Operational status : ok
Internal state : inserted
Physical insert detect time : 00:05:03 (4y46w ago)
Logical insert detect time : 00:05:03 (4y46w ago)
Sub-slot: 0/1, SPA-5X1GE-V2
Operational status : ok
Internal state : inserted
Physical insert detect time : 00:05:03 (4y46w ago)
Logical insert detect time : 00:05:03 (4y46w ago)
Slot: R0, ASR1002-RP1
Running state : ok, active
Internal state : online
Internal operational state : ok
Physical insert detect time : 00:00:52 (4y46w ago)
Software declared up time : 00:00:52 (4y46w ago)
CPLD version : 08011017
Firmware version : 12.2(33r)XNC
Slot: F0, ASR1000-ESP5
Running state : ok, active
Internal state : online
Internal operational state : ok
Physical insert detect time : 00:00:52 (4y46w ago)
Software declared up time : 00:03:19 (4y46w ago)
Hardware ready signal time : 00:00:52 (4y46w ago)
Packet ready signal time : 00:04:01 (4y46w ago)
CPLD version : 07091401
Firmware version : 12.2(33r)XNC
Slot: P0, ASR1002-PWR-AC
State : ok
Physical insert detect time : 00:03:16 (4y46w ago)
Slot: P1, ASR1002-PWR-AC
State : ok
Physical insert detect time : 00:03:19 (4y46w ago)
ASR1002#
-
查看硬件报警
show facility-alarm status critical
该命令用于查看当前的严重(critical)报警信息
ASR1002#
ASR1002# show facility-alarm status critical
System Totals Critical: 0 Major: 0 Minor: 0
Source Time Severity Description [Index]
------ ------ -------- -------------------
ASR1002#

浙公网安备 33010602011771号