![Cisco Catalyst 3750 Metro Скачать руководство пользователя страница 658](http://html.mh-extra.com/html/cisco/catalyst-3750-metro/catalyst-3750-metro_command-reference-manual_67620658.webp)
2-630
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
snmp-server enable traps
snmp-server enable traps
Use the
snmp-server enable traps
global configuration command to enable the switch to send Simple
Network Management Protocol (SNMP) notifications for various traps or inform requests to the network
management system (NMS). Use the
no
form of this command to return to the default setting.
snmp-server enable traps
[
bgp | bridge | cluster | config | copy-config | cpu threshold | {dot1x
[auth-fail-vlan | guest-vlan | no-auth-fail-vlan | no-guest-vlan] } | entity | envmon
[
fan |
shutdown | supply | temperature
]
| flash | hsrp | ipmulticast | mac-notification | msdp |
ospf
[
cisco-specific
|
errors
|
lsa
|
rate-limit
|
retransmit
|
state-change
]
| pim
[invalid-pim-message | neighbor-change | rp-mapping-change] | mac-notification
[
change
]
[
move
] [
threshold
]
| port-security
[
trap-rate
value
]
| rtr | rsvp | snmp
[
authentication |
coldstart | linkdown | linkup | warmstart
]
| storm-control trap-rate
value
| stpx | syslog |
transceiver all | tty | vlancreate | vlandelete | vlan-membership | vtp
]
no snmp-server enable traps
[
bgp | bridge | cluster | config | copy-config | cpu threshold | {dot1x
[auth-fail-vlan | guest-vlan | no-auth-fail-vlan | no-guest-vlan] } | entity | envmon
[
fan |
shutdown | supply | temperature
]
| flash | hsrp | ipmulticast | mac-notification
[
change
]
[
move
] [
threshold
]
| msdp |
ospf
[
cisco-specific
|
errors
|
lsa
|
rate-limit
|
retransmit
|
state-change
]
| pim [invalid-pim-message | neighbor-change | rp-mapping-change] |
mac-notification | port-security
[
trap-rate
]
| rtr | rsvp | snmp
[
authentication | coldstart |
linkdown | linkup | warmstart
]
| storm-control trap-rate
value
| stpx | syslog | transceiver
all | tty | vlancreate | vlandelete | vlan-membership | vtp
]
Syntax Description
bgp
(Optional) Enable Border Gateway Protocol (BGP) state-change traps.
bridge
(Optional) Generate STP bridge MIB traps.
cluster
(Optional) Enable cluster traps.
config
(Optional) Enable SNMP configuration traps.
copy-config
(Optional) Enable SNMP copy configuration traps.
cpu threshold
(Optional) Allow CPU-related traps.
dot1x [auth-fail-vlan |
guest-vlan |
no-auth-fail-vlan |
no-guest-vlan]
(Optional) Enable IEEE 802.1x traps. The keywords have these meanings:
•
auth-fail-vlan
—(Optional) Generate a trap when the port moves to the
configured restricted VLAN.
•
guest-vlan
—(Optional) Generate a trap when the port moves to the
configured guest VLAN.
•
no-auth-fail-vlan
—(Optional) Generate a trap when a port tries to enter
the restricted VLAN, but cannot because the restricted VLAN is not
configured.
•
no-guest-vlan
—(Optional) Generate a trap when a port tries to enter the
guest VLAN, but cannot because the guest VLAN is not configured.
Note
When the
snmp-server enable traps dot1x
command is entered
(without any other keywords specified), all the IEEE 802.1x traps are
enabled.
entity
(Optional) Enable SNMP entity traps.
envmon
(Optional) Generate environmental monitor traps.
fan
(Optional) Generate environmental fan trap.