Jump to content

Can you disable SNMP on certain ports?


wildweaselmi
 Share

Recommended Posts

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.







Also a side note:



Cisco 4507 Supervisor Cards only allow layers 2/3/4 (reference here)



Link to comment
Share on other sites

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


Link to comment
Share on other sites

 Share

×
×
  • Create New...