Chapter 5
| SNMP Commands
SNMPv3 Commands
– 190 –
show snmp-server
enable port-traps
This command shows if SNMP traps are enabled or disabled for the specified
interfaces.
Syntax
show snmp-server enable port-traps interface [interface]
interface
ethernet unit/port
unit - Unit identifier. (Range: Always 1)
port - Port number. (Range: 1-32/54)
port-channel channel-id (Range: 1-26)
Command Mode
Privileged Exec
Example
Console#show snmp-server enable port-traps interface
Interface MAC Notification Trap
--------- ---------------------
Eth 1/1 No
Eth 1/2 No
Eth 1/3 No
.
.
.
SNMPv3 Commands
snmp-server
engine-id
This command configures an identification string for the SNMPv3 engine. Use the
no form to restore the default.
Syntax
snmp-server engine-id {local | remote {ip-address}} engineid-string
no snmp-server engine-id {local | remote {ip-address}}
local - Specifies the SNMP engine on this switch.
remote - Specifies an SNMP engine on a remote device.
ip-address - The Internet address of the remote device.
engineid-string - String identifying the engine ID. (Range: 9-64 hexadecimal
characters)
Default Setting
A unique engine ID is automatically generated by the switch based on its MAC
address.
Command Mode
Global Configuration