In the Highlight Sets dialog box, click the button on the right.
Xshell allows you to build custom keyword sets using exact string matches or Regular Expressions (Regex). Follow these steps to build your Cisco profile. Step 1: Open the Highlight Sets Manager Launch . Navigate to the top menu and select Tools > Highlight Sets .
Unlike standard color schemes that change the entire terminal's background or text color, use string matching and regular expressions to colorize specific parts of the output. xshell highlight sets cisco
Cisco outputs MAC addresses in the xxxx.xxxx.xxxx format. Use this RegEx to capture them: \b[0-9a-fA-F]4\.[0-9a-fA-F]4\.[0-9a-fA-F]4\b Use code with caution. Deploying and Automating Your Highlight Sets
: For each keyword, choose a foreground color (e.g., Red for "down", Green for "up") and font style (e.g., Bold ). In the Highlight Sets dialog box, click the
In the Xshell > Appearance > Highlight Sets :
Name your new set something recognizable, such as Cisco_Network_Standard . Step 2: Define Keywords and Regular Expressions (Regex) Step 1: Open the Highlight Sets Manager Launch
Set these to a red foreground or a red background with white text. down administratively down fail error deny discard 3. Network Identifiers (Cyan or Yellow) This helps you track the "where" and "what." Vlan[0-9]+ (Regex) GigabitEthernet TenGigabitEthernet BGP / OSPF / EIGRP 4. Security Warnings (Bold Yellow/Orange) no password unencrypted password 7 Advanced: Using Regular Expressions (Regex)