Skip to content

Instantly share code, notes, and snippets.

@recuraki
Created July 6, 2017 04:28
Show Gist options
  • Select an option

  • Save recuraki/f936dd5674a0dbf7fc139e3e3667b66f to your computer and use it in GitHub Desktop.

Select an option

Save recuraki/f936dd5674a0dbf7fc139e3e3667b66f to your computer and use it in GitHub Desktop.
cisco tcl
tclsh#
for {set x 1} {$x<=200} {incr x} {
for {set y 1} {$y<=200} {incr y} {
ios_config "ip access-list extended hoge" "permit udp host 192.168.$y.$x any eq isakmp"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment