cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2311
Views
0
Helpful
1
Replies

How to monitor only certain ports for up/down?

reedk-cma
Level 1
Level 1

I apologize if this is an elementary question, but I want to monitor (via SNMP or SMTP) events like these:

2010 Jun 14 03:03:54 xsmiahczc02A %PORT-5-IF_DOWN_OLS_RCVD: %$VSAN 100%$ Interface fc5/1 is down (OLS received)

2010 Apr 23 21:37:56 xsmiahczc02A %PORT-5-IF_DOWN_NOS_RCVD: %$VSAN 101%$ Interface fc5/43 is down (NOS received)
2010 Apr 23 21:37:56 xsmiahczc02A %PORT-5-IF_UP: %$VSAN 101%$ Interface fc5/43 is up in mode F

on _some_ ports but not _all_ ports. Specfically, I do not want to be informed of every host that goes up or down, but I DO want to know if a storage port goes offline. So I am looking for a way to trap and alert up/down conditions only on certain ports.

Is there a way to do this? I am using MDS95xx running 4.2(1b).

1 Reply 1

dynamoxxx
Level 5
Level 5

you could disable link-state-trap for all ports except the ones where arrays are connected to


Command
Purpose

Step 1

switch# config t

switch(config)#

Enters configuration mode.

Step 2

switch(config)#interface bay 6

Specifies the interface on which to disable SNMP link-state traps.

switch(config-if)# no link-state-trap

Disables SNMP link-state traps for the interface.

switch(config-if)# link-state-trap

Enables SNMP link-state traps for the interface.

@dynamoxxx

Review Cisco Networking for a $25 gift card