保姆级SecureCRT 9.0网络设备关键词着色颜色配置方案

参考了文章:https://www.jianshu.com/p/9b796cd238ad

使用CCNA/CCIE/CCIP等的相关关键词

1.找到目录:Option - Global Option - General - Configuration Paths查看配置文件目录

2.新建文件:在目录下新建keywords文件夹,文件夹内新建ini文件,内容如下:

D:"Match Case"=00000000
Z:"Keyword List V2"=00000016
 "(no(t)?(connect)?)|((shut)?(down)?)",000000ff,00000001
 "(dis((able(d)?)|(connect(ed)?)|(allow(ed)?)|(card(ed)?))|(error(s)?))|(fail((ure)|(ed))?)|((city)?[w]{2}m)|(den((y)|(ied)){1})",000000ff,00000001
 "red|administratively|undo|unknown|fault|block|refused|problem|warnings|alerts|critical|delete|inactive|unassigned",000000ff,00000001
 "(([7-9]\d)|(100))(\.\d{0,2})?\%",000000ff,00000001
 "green|up|forward|full|active",0000ff00,00000001
 "(connect(ed)?)|(permit(ed)?)|(estab(lish)?(ed)?)|(enable(d)?|(allow(ed)?))",0000ff00,00000001
 "(([0-3](\d)?)|\d{1})(\.\d{0,2})?\%",0000ff00,00000001
 "(bgp|(ospf(v3)?)|(rip(ng)?)|eigrp|static|odr|unr|(is(\-)?is)|pim|direct)(\-\d*)?",00ff8000,00000001
 "cyan|ipv6|tcp|udp|(i(c|g)mp)|gre|esp|ah|isakmp|(arp(a)?)|dhcp|(http(s)?)|dns|((t)?ftp)|telnet|ssh|www|ntp|radius|tacacs|pop\d|smtp|ppp|fr(ame(\-)?relay)?|hdlc",00ff8000,00000001
 "standby|vrrp|glbp|(mst(p)?)|((r)?stp)|spanning\-tree|dot1q|802\.1q",00ff8000,00000001
 "ldp|tdp|mpls|aaa|(account(ing)?)|(auth((entication)|(orization)))|nat|bfd|nqa|sla|rtr|vrf|vpn(\-instance)?",00ff8000,00000001
 "(((passive\-)|(silent\-))?interface)|(in|out)((bound)|(put))?",00ff00ff,00000001
 "magenta|router|redistribute|(import(\-route)?)|export|network|neighbor|peer|area|acl|(class((ifier)|(\-map)))|behavior|policy(\-map)?",00ff00ff,00000001
 "access\-((list)|(class)|(group))|ip\-prefix|prefix\-list|(route(\-.*)?)|(traffic.*)",00ff00ff,00000001
 "[4-6]\d((\.\d{0,2})?)\%",00ff00ff,00000001
 "((fast)?|(gigabit)?)ethernet((\d)?\d\/)*(\d)+(\.\d{1,4})?",000080ff,00000001
 "\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(\/(\d){0,2})?",000080ff,00000001
 "([A-Fa-f0-9]{1,4}::?){1,7}[A-Fa-f0-9]{1,4}(\/(\d){0,3})?",000080ff,00000001
 "([0-9a-fa-f]{4}[.|-][0-9a-fa-f]{4}[.|-][0-9a-fa-f]{4})|([0-9a-fa-f]{2}[.|-]){5}[0-9a-fa-f]{2}",000080ff,00000001
 "\d{1,2}\.([0-9a-fA-F]{2,4}.){1,11}\d{1,2}",000080ff,00000001
 "(orange|ge|fa|fe|(eth((\-)?(trunk)?))|null|loopback|tunnel|dialer|bri|serial|atm|pos|(vlan(if)?))(((\d)?\d\/)*(\d)+)?",000080ff,00000001
 "((virtual\-(template|ppp|access))|(channel\-group)|(port\-channel)|(ether(\-)?channel))(((\d)?\d\/)*(\d)+)?",000080ff,00000001

3.选择关键词:Option - Global Option - General - Default Session - Edit Default Settings - Keyword Highlighting,在List name处选择刚刚的ini文件

 4. Keyword Highlighting - Advanced 中,勾选Color

 5. Appearance 中选择喜欢的scheme,我这边选择的是Traditional

 

  • 10
    点赞
  • 19
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值