C122-E003-02EN 8-125
GSWB
8.2 Configuration Definition Commands
(5) Examples
• Sets the snmp version1 trap
• Sets the snmp version 2c trap
• Sets the snmp version 3 trap
• Uses the show command to check settings
(6) Error Messages
• % Incomplete command.
Cause: Incomplete command input
Action: Enter the command string correctly.
• % Invalid input detected at '^' marker.
Cause: Invalid character detected at '^' marker in the entered command string
Action: Enter the command string correctly.
Switch(config)# snmp-server enable traps 192.168.0.100 version 1 aaasss
Switch(config)#
Switch(config)# snmp-server enable traps 192.168.0.110 version 2c cccvvv
Switch(config)#
Switch(config)# snmp-server enable traps 192.168.0.120 version 3 xxxyyy
priv md5 password passphrase
Switch(config)#
Switch(config)#
Switch(config)#show snmp-server enable traps
Switch(config)#snmp-server enable traps 10.10.10.10 version 1 aaaaaa
Switch(config)#snmp-server enable traps 10.10.10.11 version 1 aaaaaa
Switch(config)#snmp-server enable traps 10.10.10.12 version 1 aaaaaa
Switch(config)#show snmp-server enable traps
snmp-server enable traps 10.10.10.10 version 1 aaaaaa
snmp-server enable traps 10.10.10.11 version 1 aaaaaa
snmp-server enable traps 10.10.10.12 version 1 aaaaaa
Switch(config)#