-
查看平台资源
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 Information80 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 : 0160 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 : 6552320 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 : 0Total 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 limitASR1002#
-
查看 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 statisticsType: Name: DRAM, QFP: 0Total: 268435456InUse: 101067776Free: 167367680Lowest free water mark: 164891648
Type: Name: IRAM, QFP: 0Total: 134217728InUse: 10703872Free: 123513856Lowest free water mark: 123513856
Type: Name: SRAM, QFP: 0Total: 32768InUse: 15872Free: 16896Lowest 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 : okInternal state : onlineInternal operational state : okPhysical insert detect time : 00:00:52 (4y46w ago)Software declared up time : 00:03:19 (4y46w ago)CPLD version : 07120202Firmware version : 12.2(33r)XNCSub-slot: 0/0, 4XGE-BUILT-INOperational status : okInternal state : insertedPhysical insert detect time : 00:05:03 (4y46w ago)Logical insert detect time : 00:05:03 (4y46w ago)Sub-slot: 0/1, SPA-5X1GE-V2Operational status : okInternal state : insertedPhysical insert detect time : 00:05:03 (4y46w ago)Logical insert detect time : 00:05:03 (4y46w ago)Slot: R0, ASR1002-RP1 Running state : ok, activeInternal state : onlineInternal operational state : okPhysical insert detect time : 00:00:52 (4y46w ago)Software declared up time : 00:00:52 (4y46w ago)CPLD version : 08011017Firmware version : 12.2(33r)XNCSlot: F0, ASR1000-ESP5 Running state : ok, activeInternal state : onlineInternal operational state : okPhysical 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 : 07091401Firmware version : 12.2(33r)XNCSlot: P0, ASR1002-PWR-ACState : okPhysical insert detect time : 00:03:16 (4y46w ago)Slot: P1, ASR1002-PWR-ACState : okPhysical 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: 0Source Time Severity Description [Index]
------ ------ -------- -------------------ASR1002#