Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Davsank
New Contributor

Object color codes for CLI

Heya,

Is there an official list or table to tell me what color is tied to what integer in the 'set color' command under the 'config firewall address'?

4 REPLIES 4
Anthony_E
Community Manager
Community Manager

Hello Davsank,


Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.


Thanks,

Anthony-Fortinet Community Team.
jintrah_FTNT
Staff
Staff

Hi,

By default, all the objects are colored black. It would be more apparent to read the color code from a FortiManager, the list and code can be accounted from left to right, top to bottom, please see Color code an object | FortiManager 7.2.2 (fortinet.com)  that shows the colors

 

Best regards,

Jin

Davsank

Hi, but that is not helpful.

I don't have a FortiManager handy, and also the guide only shows a screenshot.

I need a simple table like set color = 0 is black, set color = 5 is red, and so forth.

I refuse to believe that in all of your resources, you fail to provide this info for people who may want to configure objects via CLI.

srajeswaran
Staff
Staff

The color codes are as below.

 

1 is black

2 is blue

3 is green

6 is red and so on...

 

The below can be found in Fortigate GUI itself under the address object

set-color.png

Regards,

Suraj

- Have you found a solution? Then give your helper a "Kudos" and mark the solution.

Labels
Top Kudoed Authors