Snmp Trap Link-Status; Show Snmp - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

45
885
Example
The following example configures the scalar MIB sysName with the value
TechSupp.
switchxxxxxx(config)#

45.23 snmp trap link-status

To enable link-status generation of SNMP traps, use the snmp trap link-status
Interface Configuration mode command. To disable generation of link-status
SNMP traps, use the no form of this command.
Syntax
snmp trap link-status
no snmp trap link-status
Parameters
This command has no arguments or keywords.
Default Configuration
Generation of SNMP link-status traps is enabled
Command Mode
Interface Configuration mode
Example
The following example disables generation of SNMP link-status traps.
switchxxxxxx(config)#
switchxxxxxx(config-if)# #

45.24 show snmp

To display the SNMP status, use the show snmp Privileged EXEC mode command.
Network Management Protocol (SNMP) Commands
snmp-server set sysName sysname TechSupp
interface gi11
no snmp trap link-status
OL-32830-01 Command Line Interface Reference Guide

Advertisement

Table of Contents
loading

Table of Contents