Skip to content
 
 

Latest commit

 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

cisco-router-mode for EMACS

Major mode for editing network device configuration files.

I'm going to see if I can create color coding for router/switch configuraiton files as I'm learning to use EMACS.

My original version stopped woking with Emacs 30. with the help of some AI, made some tweaks and changes to get it working again.

2/1/26 - Revised colors and added regex for additional commands

My Goals

  • learn more about using EMACS and eLISP
  • Router, Switch and Firewall configuration highlighting (multi-vendor)

I've used previous work by Noufal Ibrahim and his cisco-router-mode as a starting point and mainly updated some regex for color highlighting for modern interfaces and some other keywords I like to have highlighted.

I also found comware-router-mode that started from the same place but adapted to Comware with some interesting ideas of how to do things that I'm looking at as well. All just trying to learn.

License

This file is NOT part of GNU Emacs.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

About

Major mode for editing Cisco router configuration files

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages