-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
124 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"scope": "(text.network.cisco.asa & text.network.cisco.configure_terminal) & asa.acl_entry", | ||
"completions": [ | ||
"inactive", | ||
{ | ||
"trigger": "object-group\tname", | ||
"contents": "object-group ${1:USERNAME} " | ||
}, | ||
{ | ||
"trigger": "host\tip", | ||
"contents": "host ${1:127.0.0.1} " | ||
}, | ||
] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
## Configuration Modes | ||
|
||
The syntax and snippets are aware of the current configuration mode of your configuration. | ||
|
||
The side effect of this is that in order for them to work, you must explicitly enter and exit configuration modes. | ||
|
||
You exit out of configuration modes using `exit` just as you would in the cli. | ||
|
||
The default configuration mode is *enable*. | ||
|
||
### Example | ||
|
||
**Incorrect** | ||
``` | ||
hostname router01 | ||
``` | ||
|
||
Since you can only set the hostname in `configure terminal` mode. | ||
|
||
**Correct** | ||
``` | ||
configure terminal | ||
hostname router01 | ||
exit | ||
``` | ||
|
||
You must exit out of all configuration modes: | ||
|
||
**Incorrect** | ||
``` | ||
configure terminal | ||
interface eth1 | ||
description blah blah blah | ||
hostname switch01 | ||
exit | ||
``` | ||
In this example the interface configuration mode was never exited out of so the configuration mode command `hostname switch01` is not valid | ||
|
||
**Correct** | ||
``` | ||
configure terminal | ||
interface Ethernet1 | ||
description blah blah blah | ||
exit | ||
hostname switch01 | ||
exit | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# v0.1.0 | ||
|
||
- [Configuration Mode Support](docs/configuration_mode.md) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.