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
<snippet> | |
<content><![CDATA[ | |
access-list ${1:NAME} extended ${2:permit} ${3:ip} ${4:source} ${5:source-port} ${6:destination} ${7:destination-port} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>access-list</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.python</scope> --> | |
</snippet> |
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
<snippet> | |
<content><![CDATA[ | |
interface ${1:FastEthernet} ${2:0/0/0} | |
description ${3:SomeDescription} | |
${4} | |
! | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>interface</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> |
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
<snippet> | |
<content><![CDATA[ | |
vlan ${1:1} | |
name ${2:name} | |
! | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>vlan</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.Cisco</scope> --> |
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
set interfaces loopback lo address '192.168.1.1/32' | |
set protocols static route 1.1.1.0/24 next-hop 192.168.1.1 | |
set protocols static route 1.1.2.0/24 next-hop 192.168.1.1 | |
set protocols static route 1.1.3.0/24 next-hop 192.168.1.1 | |
set protocols static route 1.1.4.0/24 next-hop 192.168.1.1 | |
set protocols static route 1.1.5.0/24 next-hop 192.168.1.1 | |
set protocols static route 1.1.6.0/24 next-hop 192.168.1.1 | |
set protocols static route 1.1.7.0/24 next-hop 192.168.1.1 | |
set protocols static route 1.1.8.0/24 next-hop 192.168.1.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
ciscoasa# sh run | |
: Saved | |
: | |
ASA Version 8.4(2) | |
! | |
hostname ciscoasa | |
enable password 8Ry2YjIyt7RRXU24 encrypted | |
passwd 2KFQnbNIdI.2KYOU encrypted | |
names | |
! |
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
root> show configuration | |
## Last commit: 2014-12-01 01:56:39 UTC by root | |
version 12.1X47-D10.4; | |
system { | |
root-authentication { | |
encrypted-password "$1$8fS5JWdL$EXfcEOme1QfZUjfKv757U."; ## SECRET-DATA | |
} | |
services { | |
ssh; | |
web-management { |
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
! Uses CISCO-NHRP-EXT-MIB and NHRP-MIB | |
! Enable DMVPN Syslog (bonus) | |
logging dmvpn | |
interface t0 | |
! enable Tunnel interface state tracking based on nhrp state | |
if-state nhrp | |
! enable NHRP-SNMP Agent |
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
for file in *.TiVo | |
do | |
/Applications/cTiVo.app/Contents/MacOS/tivodecode --mak YOURMAKHERE -o "${file%.TiVo}.mpg" "$file" | |
done |
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
set interfaces bonding bond1 vrrp vrrp-group 1 run-transition-scripts backup '/config/scripts/ipsec-stop' | |
set interfaces bonding bond1 vrrp vrrp-group 1 run-transition-scripts fault '/config/scripts/ipsec-stop' | |
set interfaces bonding bond1 vrrp vrrp-group 1 run-transition-scripts master '/config/scripts/ipsec-restart' |
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
Reference url: http://www.brocade.com/downloads/documents/html_product_manuals/vyatta/vyatta_5400_manual/wwhelp/wwhimpl/js/html/wwhelp.htm | |
Create the directory for certificate management | |
Instruction: login to the vyatta and make sure you are at the $ prompt: | |
example: vyatta@HOSTNAME:~$ | |
##creates the directory## | |
vyatta@HOSTNAME:~$ mkdir /config/auth/ca (note: there is a space after mkdir) | |
##copies files to new directory## | |
vyatta@HOSTNAME:~$ cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0/* /config/auth/ca |
OlderNewer