= Logging = * [[Nexus/Logging]] * logging buffered * logging trap debug * Automated cisco config [[cisco/ConfigArchive|Archive]]ing. = Sniff and Span = * ! Defines VLAN 999 as the RSPAN VLAN {{{ vlan 999 remote-span }}} = Logging / Cisco = * Cisco can not log changes to syslog. * http://www.cisco.com/en/US/docs/ios/12_3t/12_3t4/feature/guide/gtconlog.html * [[http://blog.ioshints.info/2007/08/sample-configuration-periodic-upload-of.html|FTP]] config upload example. {{{ config terminal !(config)# ntp server 10.10.240.21 clock timezone GMT+2 2 service timestamps log datetime show-timezone msec localtime }}} {{{ config terminal !(config)# logging host 10.10.240.23 logging trap informational logging userinfo logging on archive !(config-archive)# !! {-- path tftp://172.17.13.13//auto-RTR --} path tftp://10.10.240.25/auto-!RTR! write-memory time-period 129600 log config !(config-archive-log-cfg)# notify syslog logging enable }}} * Syslog TCP {{{ !!TCP syslog more reliable, as router detects when msg not delivered. !!Due to Cisco IOS bug tcp syslog only usable after 12.4 as it did not send LF to split logs. logging host 10.10.240.22 transport tcp port 601 !! }}} ... ---- CategoryCisco