Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2011-04-20 13:23:14
Size: 59
Editor: PieterSmit
Comment:
Revision 4 as of 2012-09-10 15:01:54
Size: 1119
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
 * [[Nexus/Logging]]
Line 5: Line 5:
 * 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
  }}}
...

----
CategoryCisco

Logging

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

    • 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

...


CategoryCisco

cisco/Logging (last edited 2013-01-25 07:20:03 by PieterSmit)