Архивы: cisco

netflow and tcp или почему 3 flag на сессию

статья наглядно демонстрирующая особенности netflow и tcp http://pierky.wordpress.com/2010/03/13/netflow-weird-tcp-flags-in-flowviewer-and-flow-print/

Ограничение скорости на 2960

жаль только на вход можно =(

Сохренеие конфига интерфейса на Cisco по событию

#
 #
 # установка: в conf t -> event manager policy имя_файла
 #
 ::cisco::eem::event_register_cli sync no skip no occurs 1  pattern .*write.* queue_priority low nice 1 maxrun 100
 
namespace import ::cisco::eem::*
 namespace import ::cisco::lib::*
 
#-------------------- hostname and variables     ------------------
 
set routername [info hostname]
 #################################################################
 #################################################################
 set main_interface "FastEthernet1/0"
 set filename "nvram:ttt.conf"
 #################################################################
 #################################################################
 #
 #-------------------   " cli open"   -------------------
 #
 if [catch {cli_open} result] {
 error $result $errorInfo
 } else {
 array set cli $result
 }
 
#--------------- end of  "cli open"   -------------------
 
action_syslog msg "save conf from: $main_interface to nvram"
 if [catch {cli_exec $cli(fd) "enable"} result] {
 error $result $errorInfo
 }
 if [catch {cli_exec $cli(fd) "show run interface $main_interface"} result] {
 error $result $errorInfo
 }
 set show_run_interface_tmp $result
 set show_run_interface [split "$show_run_interface_tmp" "\n"]
 
set len_sri [llength $show_run_interface]
 set fileId [open $filename "w"]
 set len [expr ($len_sri-3)]
 for {set x 6} {$x<$len} {incr x} {
 #action_syslog msg "+++++++++++: [lindex $show_run_interface $x]"
 puts -nonewline $fileId [lindex $show_run_interface $x]
 #if [catch {cli_exec $cli(fd) "[lindex $show_run_interface $x]"} result] {
 #	error $result $errorInfo
 #}
 }
 close $fileId
 
#
 #--------------------- cli close ------------------------
 #
 cli_close $cli(fd) $cli(tty_id)

BGP Regular Expressions

Been hearing about the command «show ip bgp regexp» but never really put it to use at work. I think its time I use this command to filter out learned bgp routes. I got these tables from the Internetwork Expert Blog I like to read. Time to put this into good use by beginning to use the basics first before proceeding to much advance filtering.


Читать далее »

Catalyst 6500 QOS FAQ

http://www.cisco.com/en/US/products/hw/switches/ps708/products_qanda_item09186a00804d2e3a.shtml