Skip to content
On this page

Cisco keyword highlighting

I maintain a keywords file for custom highlighting I use myself. This is best used with a darker background, I use a Mocha brown color for most of my systems.

ini
S:"Keyword List"=
D:"Match Case"=00000000
D:"Regex Line Mode"=00000000
Z:"Keyword List V2"=00000047
 "[*]For_Best_Results:_Set_Forground_Font_To_Gray_(Not_Black!)",00808080,00000001
 "[*]Gray_Keywords_Are_To_Work_Around_Symbol_Delimited_Words",00808080,00000001
 "[*]Special_Cases_That_Had_To_Be_ReOrderd",005e24f9,00000001
 ".*'.*",00808080,00000001
 "on-fail.*",005e24f9,00000001
 "[*]In_Enable_Mode",00f7b6fc,00000001
 "^\w[^>]*#|hostname",00f7b6fc,00000001
 "[*]NOT_In_Enable_mode",00004000,00000001
 "^\w[^#]*>",00004000,00000001
 "[*]Interfaces",002ae298,00000001
 "Embedded-Service-Engine\d\/\d",002ae298,00000001
 ".*thernet[0-9]+(?:[\/\.:][0-9]+)+[,:]?(?:\x20|$)",002ae298,00000001
 ".*thernet[0-9]+[,:]?(?:\x20|$)",002ae298,00000001
 "\b[efgt][a-z]*[0-9]+(?:[\/.:][0-9]+)+[,:*]?(?:\x20|$)",002ae298,00000001
 "[fgm][aeu][0-9]+[,:*]?(?:\x20|$)",002ae298,00000001
 "(?:nvi|port-channel|Serial|Po|vfc)[0-9|\/|:|,]+[,:]?(?:\x20|$)",002ae298,00000001
 "(?:multi|lo[^c]|tun|mgmt|null)[a-z]*[0-9]+,?",002ae298,00000001
 "con[0-9]?|vty|line|aux|console",002ae298,00000001
 "[*]Fiber_WWN",002ae298,00000001
 "wwn|pwwn|(?:[a-f0-9]{2}:){7}[a-f0-9]{2}",002ae298,00000001
 "[*]IP,_IP:Port,_and_Subnet_Mask",00ff808c,00000001
 "i?(?:[0-9]{1,3}\.){3}[0-9]{1,3}(?:\/[0-9]{1,2}|:[0-9]{1,5})?(?:,(?:[0-9]{1,5})?)?",00ff808c,00000001
 "(?:)(?:0|255)\.(?:[0-9]{1,3}\.){2}[0-9]{1,3}",00008080,00000001
 "[*]MAC_Address",00ff808c,00000001
 "(?:[a-f0-9]{2}[:-]){5}[a-f0-9]{2}",00ff808c,00000001
 "[a-f0-9]{4}\.[a-f0-9]{4}\.[a-f0-9]{4}",00ff808c,00000001
 "[*]IOS_Version",000080ff,00000001
 "\d*\d*\.\d*\((?:\d|[a-z])*\)[^,]*|\d\d?\.\d\d?\.\d\d?\.\D\D?",000080ff,00000001
 "[*]Serial_Numbers",000080ff,00000001
 "(?:[a-z]{2}.\d{4}.{4})",000080ff,00000001
 "[*]Good_Words_To_See",0036d700,00000001
 "(?:yes|permit|\[OK\]|on|enabled).?",0036d700,00000001
 "down->up|running|.*SUCCESS.*|.*success.*|up.?(?:\x20|$)|passed.*|Complete",0036d700,00000001
 "[*]Bad_Words_To_See",005e24f9,00000001
 ".*_ERR:|.*fail.*|invalid|.*reload.*",005e24f9,00000001
 "no|administratively|shut.*|never,?|deny|.*down.?",005e24f9,00000001
 "not|initializing.?|Off|1024|768|des|des56.*",005e24f9,00000001
 "telnet|half-duplex.?|\(err-disabled\)|disabled",005e24f9,00000001
 "up->down|trunk|Active|inhibit",005e24f9,00000001
 "[*]Misc_Words",002296fd,00000001
 "(?:class|policy|service|parameter|match)(?:-map.?|-policy.?)?",002296fd,00000001
 "(?:version|PN|SN|S\/N|ID|PID|VID|NAME|DESCR):?",002296fd,00000001
 "Device|ID|Local|Intrfce|Holdtme|Capability|Platform|Port|ID",002296fd,00000001
 "H|Address|Interface|Hold|Uptime|SRTT|RTO|Q|Seq",002296fd,00000001
 "Neighbor|V|AS|MsgRcvd|MsgSent|TblVer|InQ|OutQ|Up/Down|State/Pf.*",002296fd,00000001
 "interface|IP-Address|Method|OK\?|Status|Protocol",002296fd,00000001
 "aaa|vlan\d*|description.?|MTU|BW|DLY|Vl[0-9]+",002296fd,00000001
 "bits\/sec,|packets\/sec",00006400,00000001
 "[*]Important_Words_To_See",007224f9,00000001
 "Building|configuration\.\.\.",007224f9,00000001
 "erase|remove|delete.",007224f9,00000001
 "\[confirm\]|\(yes/no\):.*|\[yes\/no\]:.*|.*-more-.*",007224f9,00000001
 ".*-more-.*",007224f9,00000001
 "username.*|password.*|key|.*-key",006adbe7,00000001
 "[*]Access_Lists",006adbe7,00000001
 "\(hitcnt=0\)",00808080,00000001
 "\(hitcnt=[1-9][0-9]*\)",006adbe7,00000001
 "access-(?:lists?|class|group)|use-acl|prefix-list",006adbe7,00000001
 "time-range|object-group|route-map",006adbe7,00000001
 "[*]Progress_Bars_And_Remarked_Lines",00408000,00000001
 "remark|\*+|!+|###+|@+$",00006400,00000001
 "\[#+(?:\x20|$)|^\](?:\x20|$)",0000d9d9,00000001
 "\[#+\]",00009f00,00000001
 "[*]Services",00efd867,00000001
 "ftp|tcp|udp|tftp|scp|ssh|ntp|snmp.*|inspect|icmp",00efd867,00000001
 "router|eigrp|bgp|ospf|rip|gre|hsrp",00efd867,00000001
 "Syslog_Messages",000080ff,00000001
 "%.+-[0-9]-.+:|\b.*\.(?:bin|tar)",004080ff,00000001
 "[*]Set_Default_Font_Color",00808080,00000001
 "[*]Helps_Work_Around_Symbols_As_Word_Delimiters",00808080,00000001
 ".*|setasregextosetdefaultcolor",00808080,00000000
Z:"Keyword List V3"=00000047
 "[*]For_Best_Results:_Set_Forground_Font_To_Gray_(Not_Black!)",00808080,00000001,00000001
 "[*]Gray_Keywords_Are_To_Work_Around_Symbol_Delimited_Words",00808080,00000001,00000001
 "[*]Special_Cases_That_Had_To_Be_ReOrderd",005e24f9,00000001,00000001
 ".*'.*",00808080,00000001,00000001
 "on-fail.*",005e24f9,00000001,00000001
 "[*]In_Enable_Mode",00f7b6fc,00000001,00000001
 "^\w[^>]*#|hostname",00f7b6fc,00000001,00000001
 "[*]NOT_In_Enable_mode",00004000,00000001,00000001
 "^\w[^#]*>",00004000,00000001,00000001
 "[*]Interfaces",002ae298,00000001,00000001
 "Embedded-Service-Engine\d\/\d",002ae298,00000001,00000001
 ".*thernet[0-9]+(?:[\/\.:][0-9]+)+[,:]?(?:\x20|$)",002ae298,00000001,00000001
 ".*thernet[0-9]+[,:]?(?:\x20|$)",002ae298,00000001,00000001
 "\b[efgt][a-z]*[0-9]+(?:[\/.:][0-9]+)+[,:*]?(?:\x20|$)",002ae298,00000001,00000001
 "[fgm][aeu][0-9]+[,:*]?(?:\x20|$)",002ae298,00000001,00000001
 "(?:nvi|port-channel|Serial|Po|vfc)[0-9|\/|:|,]+[,:]?(?:\x20|$)",002ae298,00000001,00000001
 "(?:multi|lo[^c]|tun|mgmt|null)[a-z]*[0-9]+,?",002ae298,00000001,00000001
 "con[0-9]?|vty|line|aux|console",002ae298,00000001,00000001
 "[*]Fiber_WWN",002ae298,00000001,00000001
 "wwn|pwwn|(?:[a-f0-9]{2}:){7}[a-f0-9]{2}",002ae298,00000001,00000001
 "[*]IP,_IP:Port,_and_Subnet_Mask",00ff808c,00000001,00000001
 "i?(?:[0-9]{1,3}\.){3}[0-9]{1,3}(?:\/[0-9]{1,2}|:[0-9]{1,5})?(?:,(?:[0-9]{1,5})?)?",00ff808c,00000001,00000001
 "(?:)(?:0|255)\.(?:[0-9]{1,3}\.){2}[0-9]{1,3}",00008080,00000001,00000001
 "[*]MAC_Address",00ff808c,00000001,00000001
 "(?:[a-f0-9]{2}[:-]){5}[a-f0-9]{2}",00ff808c,00000001,00000001
 "[a-f0-9]{4}\.[a-f0-9]{4}\.[a-f0-9]{4}",00ff808c,00000001,00000001
 "[*]IOS_Version",000080ff,00000001,00000001
 "\d*\d*\.\d*\((?:\d|[a-z])*\)[^,]*|\d\d?\.\d\d?\.\d\d?\.\D\D?",000080ff,00000001,00000001
 "[*]Serial_Numbers",000080ff,00000001,00000001
 "(?:[a-z]{2}.\d{4}.{4})",000080ff,00000001,00000001
 "[*]Good_Words_To_See",0036d700,00000001,00000001
 "(?:yes|permit|\[OK\]|on|enabled).?",0036d700,00000001,00000001
 "down->up|running|.*SUCCESS.*|.*success.*|up.?(?:\x20|$)|passed.*|Complete",0036d700,00000001,00000001
 "[*]Bad_Words_To_See",005e24f9,00000001,00000001
 ".*_ERR:|.*fail.*|invalid|.*reload.*",005e24f9,00000001,00000001
 "no|administratively|shut.*|never,?|deny|.*down.?",005e24f9,00000001,00000001
 "not|initializing.?|Off|1024|768|des|des56.*",005e24f9,00000001,00000001
 "telnet|half-duplex.?|\(err-disabled\)|disabled",005e24f9,00000001,00000001
 "up->down|trunk|Active|inhibit",005e24f9,00000001,00000001
 "[*]Misc_Words",002296fd,00000001,00000001
 "(?:class|policy|service|parameter|match)(?:-map.?|-policy.?)?",002296fd,00000001,00000001
 "(?:version|PN|SN|S\/N|ID|PID|VID|NAME|DESCR):?",002296fd,00000001,00000001
 "Device|ID|Local|Intrfce|Holdtme|Capability|Platform|Port|ID",002296fd,00000001,00000001
 "H|Address|Interface|Hold|Uptime|SRTT|RTO|Q|Seq",002296fd,00000001,00000001
 "Neighbor|V|AS|MsgRcvd|MsgSent|TblVer|InQ|OutQ|Up/Down|State/Pf.*",002296fd,00000001,00000001
 "interface|IP-Address|Method|OK\?|Status|Protocol",002296fd,00000001,00000001
 "aaa|vlan\d*|description.?|MTU|BW|DLY|Vl[0-9]+",002296fd,00000001,00000001
 "bits\/sec,|packets\/sec",00006400,00000001,00000001
 "[*]Important_Words_To_See",007224f9,00000001,00000001
 "Building|configuration\.\.\.",007224f9,00000001,00000001
 "erase|remove|delete.",007224f9,00000001,00000001
 "\[confirm\]|\(yes/no\):.*|\[yes\/no\]:.*|.*-more-.*",007224f9,00000001,00000001
 ".*-more-.*",007224f9,00000001,00000001
 "username.*|password.*|key|.*-key",006adbe7,00000001,00000001
 "[*]Access_Lists",006adbe7,00000001,00000001
 "\(hitcnt=0\)",00808080,00000001,00000001
 "\(hitcnt=[1-9][0-9]*\)",006adbe7,00000001,00000001
 "access-(?:lists?|class|group)|use-acl|prefix-list",006adbe7,00000001,00000001
 "time-range|object-group|route-map",006adbe7,00000001,00000001
 "[*]Progress_Bars_And_Remarked_Lines",00408000,00000001,00000001
 "remark|\*+|!+|###+|@+$",00006400,00000001,00000001
 "\[#+(?:\x20|$)|^\](?:\x20|$)",0000d9d9,00000001,00000001
 "\[#+\]",00009f00,00000001,00000001
 "[*]Services",00efd867,00000001,00000001
 "ftp|tcp|udp|tftp|scp|ssh|ntp|snmp.*|inspect|icmp",00efd867,00000001,00000001
 "router|eigrp|bgp|ospf|rip|gre|hsrp",00efd867,00000001,00000001
 "Syslog_Messages",000080ff,00000001,00000001
 "%.+-[0-9]-.+:|\b.*\.(?:bin|tar)",004080ff,00000001,00000001
 "[*]Set_Default_Font_Color",00808080,00000001,00000001
 "[*]Helps_Work_Around_Symbols_As_Word_Delimiters",00808080,00000001,00000001
 ".*|setasregextosetdefaultcolor",00808080,00000000,00000001