Giter Club home page Giter Club logo

vscode-cisco-syntax's Introduction

vscode-cisco-syntax's People

Contributors

andrew-curtis avatar bond avatar djbshfbzehr avatar hollec avatar jgerbeck avatar jss69er avatar morethanhidden avatar rdmcgregor avatar woodjme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vscode-cisco-syntax's Issues

make deny in access-lists red

I think it would make sense if the deny command would be highlighted in a red color like shutdown and no.

now:
image

To be frank, I think permit should be green, too.
But I understand green is best practice for comments and remarks. ๐Ÿ˜‰

Cisco Syntax Highlighting not working in latest version of VSCode

Hi, in my latest version of VSCode, the Cisco Syntax highlighter does not seem to be working. Was wondering if anyone else was having this issue?
VSCode Version: 1.26.1
Commit: 493869ee8e8a846b0855873886fc79d480d342de
Date: 2018-08-16T18:38:57.434Z
Electron: 2.0.5
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64

Before the upgrade I was able to simply load my config files (.txt or .cfg) and they would automatically highlight the Cisco syntax. Since that time I also installed a python extension for the same purpose. Both the PowerShell extension and the Python extension seem to work after the VSCode upgrade but I can't get the highlighting from the Cisco extension.

Thanks for your assistance.
Don Hendry

There are no instructions on how to use this

After installing the extension nothing changes and there are no instructions on how to set it up.
It's great that you shared your work, but without any docs everyone who wants to use it has to read the source code!!

Advanced BGP features support

Thank you for creating this extensions, it's very useful!

When you have a chance could add
template peer-policy
template peer-session
support in BGP config.

More details about it:
https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus3000/sw/unicast/503_u1_2/nexus3000_unicast_config_gd_503_u1_2/l3_advbgp.html

Here is an example config:

router bgp 100
template peer-policy PP_MASTER
send-community both
exit-peer-policy
!
template peer-session PS_MASTER
ttl-security hops 1
exit-peer-session
!
template peer-session PS_AS400
password cisco
inherit peer-session PS_MASTER
exit-peer-session
!
neighbor 192.168.21.2 remote-as 200
neighbor 192.168.21.2 inherit peer-session PS_MASTER
neighbor 192.168.21.2 inherit peer-policy PP_MASTER
neighbor 192.168.31.3 remote-as 300
neighbor 192.168.31.3 inherit peer-session PS_MASTER
neighbor 192.168.31.3 inherit peer-policy PP_MASTER
neighbor 192.168.41.4 remote-as 400
neighbor 192.168.41.4 inherit peer-session PS_AS400
neighbor 192.168.41.4 inherit peer-policy PP_MASTER

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.