导航栏

How to interpret output of “get led” on ISG1000,ISG2000 SSG520, and SSG550

发表于:技术相关 2010-07-231:01 阅读量:1,624

Summary:
How to determine LED name from "get led"
  Problem or Goal:
"get led" lists ID numbers. This KB will cross reference the ID number with the LED name. For example, here is a sample output:
nsisg2000-> get led
Application function installed (37c8b4)
flash_delay = 100 ms
id 0: color 0, to flash 0, state 0, flash color 0, new 0, toggle color 0
id 1: color 3, to flash 0, state 0, flash color 0, new 3, toggle color 0
id 2: color 1, to flash 0, state 0, flash color 0, new 1, toggle color 0
id 3: color 0, to flash 0, state 0, flash color 0, new 0, toggle color 0
id 4: color 1, to flash 0, state 0, flash color 0, new 1, toggle color 0
id 5: color 0, to flash 0, state 0, flash color 0, new 0, toggle color 0
id 6: color 0, to flash 0, state 0, flash color 0, new 0, toggle color 0
id 7: color 0, to flash 0, state 0, flash color 0, new 0, toggle color 0
id 8: color 0, to flash 0, state 0, flash color 0, new 0, toggle color 0
id 9: color 1, to flash 0, state 0, flash color 0, new 1, toggle color 0

vpn = TRUE mgmt = FALSE (648259388-0)
nsisg2000->

 
 
更新 : 2012.06.15
 
Solution:
The correlation between the LED id displayed in ouput of "get led" and the physical LEDs on the firewall depends on the platform.  The ISG1000, SSG520, and SSG550 are as follows:

ISG1000
#define LED_POWER 0
#define LED_ALARM 1
#define LED_TEMP 2
#define LED_STATUS 3
#define LED_FAN 4
#define LED_FLASH 5
#define LED_HA 6
#define LED_SEC_BD_1 7
#define LED_SEC_BD_2 8
#define LED_SEC_BD_3 9


SSG520 and SSG550
#define SAIPAN_LED_ALARM 0
#define SAIPAN_LED_STATUS 1
#define SAIPAN_LED_HA 2
#define SAIPAN_LED_POWER 3

The LED color codes are as follows:

color 0 - no color

color 1 - green

color 2 - amber/yellow

color 3 - red