04-16-2019 03:16 PM
Hello,
I am trying to configure eem on nexus Cisco 7k switch which will generate syslog msg when custom policy applied on interfaces kicks in and drops packets (one or more packets). here is the policer:
class-map type qos match-all GRID-NONLOCAL-DESTINATION
match access-group name GRID-NONLOCAL-DESTINATION
policy-map type qos GRID-NONLOCAL-DESTINATION-EGRESS-POLICE
class GRID-NONLOCAL-DESTINATION
police cir 1 gbps bc 200 ms conform set-dscp-transmit 0 violate drop
interface Ethernet3/3
service-policy type qos input GRID-NONLOCAL-DESTINATION-EGRESS-POLICE
I appreciate your quick reply.
thanks,
Kerim
04-16-2019 03:58 PM
here is the examples for the EEM Scripts for Nexus
we have seen example of your config, we need to know how your Logs look like (do you hve any example already produced ? what kind of alert email ?
04-16-2019 04:31 PM
Yes, alert email with packet drop count and associated policer. high level is shown below (just need help with the details) or if there is a better approach.
event manager applet applet GRID-QoS-Monitor
event snmp oid xxxxx (I don't know what oid for this qos)
action 1.0 syslog msg GRID policer kicked in, Y number of packets dropped on interface Ex/y
thanks,
Kerim
04-16-2019 06:52 PM
where can I find similar document for NX-OS:
04-17-2019 07:07 AM
How would you determine this manually? What version of NX-OS is this?
04-17-2019 08:07 AM
NX-OS version = 6.2(10)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide