Jump to content


- - - - -

Can you disable SNMP on certain ports?


  • Please log in to reply
3 replies to this topic

#1 wildweaselmi

wildweaselmi

    Administrator

  • Administrators
  • 1,024 posts

Posted 19 November 2009 - 04:24 PM

Curious if you can disable SNMP on certain ports or even an entire card on a Cisco Catalyst switch running Native IOS.

Anyone have any ideas?

Google hasn't turned up anything when searching.

#2 rev.research

rev.research

    Member

  • Members
  • PipPipPip
  • 65 posts

Posted 19 November 2009 - 04:48 PM

not sure what you are trying to do

#3 wildweaselmi

wildweaselmi

    Administrator

  • Administrators
  • 1,024 posts

Posted 19 November 2009 - 04:51 PM

Nevermind...  I forgot to take my smart pills today.

SNMP (Simple Network Management Protocol) is a Layer 7 (Application Layer) and most of your Cisco Catalyst Switches are either Layer 2, 3 or 4 (some even do layer 5 but I know none that do layer 7).

So... the Cisco switch just sees a packet at the port level.  No capability for Layer 7 blocking on a Layer 3 device.

http://www.mywiseguy...&pictureid=1052
View image in gallery


Also a side note:
Cisco 4507 Supervisor Cards only allow layers 2/3/4 (reference here)

#4 wildweaselmi

wildweaselmi

    Administrator

  • Administrators
  • 1,024 posts

Posted 19 November 2009 - 05:33 PM

If referring to snmp traps then

snmp trap link-status
To enable Simple Network Management Protocol link trap generation, use the snmp trap link-status interface configuration command. To disable SNMP link traps, use the no form of this command.

snmp trap link-status 


no snmp trap link-status 
Syntax Description
This command has no arguments or keywords.

Defaults
SNMP link traps are sent when an interface goes up or down.

Command Modes
Interface configuration

Command History
Release  Modification  
10.0
This command was introduced.

Usage Guidelines
By default, SNMP link traps are sent when an interface goes up or down. For interfaces expected to go up and down during normal usage, such as ISDN interfaces, the output generated by these traps may not be useful. The no form of this command disables these traps.

Examples
The following example disables the sending of SNMP link traps related to the ISDN BRI 0 interface:

interface bri 0

 no snmp trap link-status






Similar Topics Collapse

  Topic Forum Started By Stats Last Post Info

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users