cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
448
Views
0
Helpful
5
Replies
Participant

configuring EEM on nexus 7K to receive alerts(Syslog msg) when packet(s) are dropped because of QoS

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

5 REPLIES 5
VIP Advisor

Re: configuring EEM on nexus 7K to receive alerts(Syslog msg) when packet(s) are dropped because of QoS

here is the examples for the EEM Scripts for Nexus

 

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/5_x/nx-os/system_management/configuration/guide/sm_nx_os_cg/sm_eem_events_and_examples.pdf

 

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 ?

BB
*** Rate All Helpful Responses ***
Participant

Re: configuring EEM on nexus 7K to receive alerts(Syslog msg) when packet(s) are dropped because of QoS

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

Everyone's tags (1)
Participant

Re: configuring EEM on nexus 7K to receive alerts(Syslog msg) when packet(s) are dropped because of QoS

Highlighted
Hall of Fame Cisco Employee

Re: configuring EEM on nexus 7K to receive alerts(Syslog msg) when packet(s) are dropped because of QoS

How would you determine this manually?  What version of NX-OS is this?

Participant

Re: configuring EEM on nexus 7K to receive alerts(Syslog msg) when packet(s) are dropped because of QoS

NX-OS version = 6.2(10)

 

 

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards