Overriding (Disabling) A Shutdown For Removal Of All Fan Trays Except One - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuration Examples to Create a Supplemental Policy

Overriding (Disabling) a Shutdown for Removal of All Fan Trays Except One

This example shows how to disable a shutdown so that you can remove all fan trays except one (fan tray 2):
switch# configure terminal
switch(config)# event manager applet myapplet1 override __pfm_fanabsent_any_singlefan
switch(config-applet)# end
switch# configure terminal
switch(config)# event manager applet myapplet2 override __pfm_fanabsent_any_singlefan
switch(config-applet)# event fanabsent fan 2 time 60
switch(config-applet)# action 2 policy-default
switch(config-applet)# end
Overriding (Disabling) a Shutdown for Removal of Fan Trays Except for a Specified Set of Fan
Trays
This example shows how to disable a shutdown so that you can remove fans except for a specified set of fan
trays (fan trays 2, 3, and 4):
switch# configure terminal
switch(config)# event manager applet myapplet1 override __pfm_fanabsent_any_singlefan
switch(config-applet)# end
switch(config)# event manager applet myapplet2 override __pfm_fanabsent_any_singlefan
switch(config-applet)# event fanabsent fan 2,3,4 time 60
switch(config-applet)# action 2 policy-default
switch(config-applet)# end
Overriding (Disabling) a Shutdown for Removal of All Fan Trays Except One from a Set of Fan
Trays
This example shows how to disable a shutdown so that you can remove all fan trays except one from a set of
fan trays (fan trays 2, 3, or 4):
switch# configure terminal
switch(config)# event manager applet myapplet1 override __pfm_fanabsent_any_singlefan
switch(config-applet)# end
switch# configure terminal
switch(config)# event manager applet myapplet2 override __pfm_fanabsent_any_singlefan
switch(config-applet)# event fanabsent fan 2 time 60
switch(config-applet)# action 2 policy-default
switch(config-applet)# end
switch# configure terminal
switch(config)# event manager applet myapplet3 override __pfm_fanabsent_any_singlefan
switch(config-applet)# event fanabsent fan 3 time 60
switch(config-applet)# action 3 policy-default
switch(config-applet)# end
switch# configure terminal
switch(config)# event manager applet myapplet4 override __pfm_fanabsent_any_singlefan
switch(config-applet)# event fanabsent fan 4 time 60
switch(config-applet)# action 4 policy-default
switch(config-applet)# end
Configuration Examples to Create a Supplemental Policy
Creating a Supplemental Policy for the Fan Tray Absent Event
This example shows how to create a supplemental policy using the event fanabsent command:
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
418
Embedded Event Manager System Events and Configuration Examples

Advertisement

Table of Contents
loading

Table of Contents