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

Cisco UCS SNMP trap type selection

mojzilub
Level 1
Level 1

Hello,

I am trying to configure sending of SNMP traps on Cisco UCS 6248. Is it possible to select, which type of SNMP traps to be sent to SNMP server? There are following types enabled by default:

--------------------------------------------------------------------------------
Trap type Description Enabled
--------------------------------------------------------------------------------
entity : entity_mib_change Yes
entity : entity_module_status_change Yes
entity : entity_power_status_change Yes
entity : entity_module_inserted Yes
entity : entity_module_removed Yes
entity : entity_unrecognised_module Yes
entity : entity_fan_status_change Yes
entity : entity_power_out_change Yes
link : linkDown Yes
link : linkUp Yes
link : extended-linkDown Yes
link : extended-linkUp Yes
link : cieLinkDown Yes
link : cieLinkUp Yes
link : delayed-link-state-change Yes
callhome : event-notify Yes
callhome : smtp-send-fail Yes
cfs : state-change-notif Yes
cfs : merge-failure Yes
fcdomain : dmNewPrincipalSwitchNotify Yes
fcdomain : dmDomainIdNotAssignedNotify Yes
fcdomain : dmFabricChangeNotify Yes
rf : redundancy_framework Yes
port-security : access-secure-mac-violation Yes
port-security : trunk-secure-mac-violation Yes
aaa : server-state-change Yes
license : notify-license-expiry Yes
license : notify-no-license-for-feature Yes
license : notify-licensefile-missing Yes
license : notify-license-expiry-warning Yes
vsan : vsanStatusChange Yes
vsan : vsanPortMembershipChange Yes
upgrade : UpgradeOpNotifyOnCompletion Yes
upgrade : UpgradeJobStatusNotify Yes
feature-control : FeatureOpStatusChange Yes
sysmgr : cseFailSwCoreNotifyExtended Yes
rmon : risingAlarm Yes
rmon : fallingAlarm Yes
rmon : hcRisingAlarm Yes
rmon : hcFallingAlarm Yes
config : ccmCLIRunningConfigChanged Yes
snmp : authentication Yes
link : cisco-xcvr-mon-status-chg Yes
vtp : notifs Yes
vtp : vlancreate Yes
vtp : vlandelete Yes
bridge : newroot Yes
bridge : topologychange Yes
stpx : inconsistency Yes
stpx : root-inconsistency Yes
stpx : loop-inconsistency Yes
entity : entity_sensor Yes
poe : portonoff Yes
poe : pwrusageon Yes
poe : pwrusageoff Yes
poe : police Yes
flexlink : ifStatusChange Yes

 

There are currently all of them being sent to the server.

5 Replies 5

Jaderson Pessoa
VIP Alumni
VIP Alumni

Hello,

 Yes, you can enable just that you need.  Check below the list of options.

#snmp-server enable traps ?
auth-framework Enable SNMP CISCO-AUTH-FRAMEWORK-MIB traps
bridge Enable SNMP STP Bridge MIB traps
bulkstat Enable Data-Collection-MIB Collection notifications
call-home Enable SNMP CISCO-CALLHOME-MIB traps
cluster Enable Cluster traps
config Enable SNMP config traps
config-copy Enable SNMP config-copy traps
config-ctid Enable SNMP config-ctid traps
copy-config Enable SNMP config-copy traps
cpu Allow cpu related traps
energywise Enable SNMP ENERGYWISE traps
entity Enable SNMP entity traps
envmon Enable SNMP environmental monitor traps
errdisable Enable SNMP errdisable notifications
event-manager Enable SNMP Embedded Event Manager traps
flash Enable SNMP FLASH notifications
fru-ctrl Enable SNMP entity FRU control traps
ike Enable IKE traps
ipsec Enable IPsec traps
license Enable license traps
mac-notification Enable SNMP MAC Notification traps
port-security Enable SNMP port security traps
power-ethernet Enable SNMP power ethernet traps
snmp Enable SNMP traps
stackwise Enable SNMP stackwise traps
storm-control Enable SNMP storm-control trap parameters
stpx Enable SNMP STPX MIB traps
syslog Enable SNMP syslog traps
transceiver Enable SNMP transceiver traps
trustsec-sxp Enable SNMP CISCO-TRUSTSEC-SXP-MIB traps
tty Enable TCP connection traps
vlan-membership Enable SNMP VLAN membership traps
vlancreate Enable SNMP VLAN created traps
vlandelete Enable SNMP VLAN deleted traps
vstack Enable SNMP Smart Install traps
vtp Enable SNMP VTP traps

 

 

Plase, rate all posts that was help you. 

 

Thanks in advance.

Jaderson Pessoa
*** Rate All Helpful Responses ***

From which CLI mode is it available? I didn't find it so far:

 

#?
acknowledge Acknowledge
backup Backup
clear Clear managed objects
commit-buffer Commit transaction buffer
connect Connect to Another CLI
decommission Decommission managed objects
delete Delete managed objects
disable Disables services
discard-buffer Discard transaction buffer
enable Enables services
end Go to exec mode
exit Exit from command interpreter
recommission Recommission Server Resources
remove Remove
restore-check Check if in restore mode
scope Changes the current mode
set Set property values
show Show system information
terminal Terminal
top Go to the top mode
up Go up one mode
update-device-connector Update device connector
where Show information about the current mode
# connect nxos
(nxos)# ?
clear Reset functions
cli CLI commands
debug Debugging functions
debug Show running system information
debug-filter Enable filtering for debugging functions
ethanalyzer Configure cisco packet analyzer
no Negate a command or set its defaults
ntp NTP configuration
show Show running system information
system System management commands
terminal Set terminal line parameters
test Test command
undebug Disable Debugging functions (See also debug)
end Go to exec mode
exit Exit from command interpreter
pop Pop mode from stack or restore from name
push Push current mode to stack or save it under name
where Shows the cli context you are in
(nxos)#

Global config mode.
Jaderson Pessoa
*** Rate All Helpful Responses ***

See below - which one do you consider as global config mode? 

https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/sw/cli/config/guide/1-3-1/b_CLI_Config_Guide_1_3_1/CLI_Config_Guide_1_3_1_chapter3.html

 

Main Command Modes and Prompts

Mode Name

Commands Used to Access

Mode Prompt

EXEC

top command from any mode

#

adapter

scope adapter command from EXEC mode

/adapter #

chassis

scope chassis command from EXEC mode

/chassis #

Ethernet server

scope eth-server command from EXEC mode

/eth-server #

Ethernet uplink

scope eth-uplink command from EXEC mode

/eth-uplink #

fabric-interconnect

scope fabric-interconnect command from EXEC mode

/fabric-interconnect #

Fibre Channel uplink

scope fc-uplink command from EXEC mode

/fc-uplink #

firmware

scope firmware command from EXEC mode

/firmware #

Host Ethernet interface

scope host-eth-if command from EXEC mode

/host-eth-if #

Host Fibre Channel interface

scope host-fc-if command from EXEC mode

/host-fc-if #

monitoring

scope monitoring command from EXEC mode

/monitoring #

organization

scope org command from EXEC mode

/org #

security

scope security command from EXEC mode

/security #

server

scope server command from EXEC mode

/server #

service-profile

scope service-profile command from EXEC mode

/service-profile #

system

scope system command from EXEC mode

/system #

virtual HBA

scope vhba command from EXEC mode

/vhba #

virtual NIC

scope vnic command from EXEC mode

/vnic #

I have the same question, seems it's not possible to configure for specific type of traps?