
GSWB 8.2 Configuration Definition Commands
(5)Examples
•Sets the snmp version1 trap
Switch(config)# snmp-server enable traps 192.168.0.100 version 1 aaasss Switch(config)#
• Sets the snmp version 2c trap
Switch(config)# snmp-server enable traps 192.168.0.110 version 2c cccvvv Switch(config)#
• Sets the snmp version 3 trap
Switch(config)# snmp-server enable traps 192.168.0.120 version 3 xxxyyy priv md5 password passphrase
Switch(config)#
• Uses the show command to check settings
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)#
(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.