Administrator Guide

Switch Management Commands 2152
User Guidelines
The username can include any printable characters except a question mark.
Enclose the string in double quotes to include spaces within the key. The
surrounding quotes are not used as part of the key. The CLI does not filter
illegal characters but may accept entries up to the first illegal character or
reject the entry entirely.
Example
The following example configures an SNMPv3 host, and sets it to send SNMP
INFORMS with user name John using authentication without encryption.
console(config)# snmp-server v3-host 192.168.0.20 John informs auth
The following example shows the syntax of the no snmp-server host ip-address
command.
console(config)#no snmp-server host 1.2.3.4 ?
informs Sends SNMP informs to this host.
traps Sends SNMP traps to this host.
Command History
Example updated in 6.4 release.
snmp-server source-interface
Use the snmp-server source-interface command to select the interface from
which to use the IP address in the source IP address field of transmitted
SNMP traps and informs. Use the no form of the command to revert to the
default IP address.
Syntax
snmp-server source-interface { loopback loopback-id | vlan vlan-id }
no snmp-server source-interface
loopback-id — A loopback interface identifier.
vlan-id — A VLAN identifier.