Differences between revisions 2 and 3
Revision 2 as of 2011-04-20 14:46:43
Size: 192
Editor: PieterSmit
Comment:
Revision 3 as of 2012-05-27 07:28:41
Size: 1056
Editor: PieterSmit
Comment: Add duplicate page logging with small l here.
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
 * [[Nexus/Logging]]
Line 12: Line 12:
= 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
  }}}
...

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)