Monday, March 4, 2019

Port mirroring on cisco Device


Port mirroring on cisco Device
https://shuvocse5.blogspot.com/2019/03/port-mirroring-on-cisco-switch.html

mon sess 1 source interface g0/22
mon sess 1 destination interface g0/24
!

!

Verify with
show mon sess 1


then you can monitor traffic log of firewall/router using wireshark 

CISCO ASA showing realtime log on putty

CISCO Logging on putty:

https://shuvocse5.blogspot.com/2019/03/cisco-asa-showing-realtime-log-on-putty.html
=====================================================
conf t
logging monitor 7  //Debugging mode
terminal monitor


logging timestamp


=========================================

Here is different severity levels of logging as follows:

  • 0 —emergency: System unusable
  • 1 —alert: Immediate action needed
  • 2 —critical: Critical condition—default level
  • 3 —error: Error condition
  • 4 —warning: Warning condition
  • 5 —notification: Normal but significant condition
  • 6 —informational: Informational message only
  • 7 —debugging: Appears during debugging only