Simple Network Management Protocol (SNMP) and Syslog | 591
snmp-server trap-source 
Configure a specific interface as the source for SNMP traffic.
Syntax
snmp-server trap-source interface
To disable sending traps out a specific interface, use the no snmp trap-source command.
Parameter
Defaults
The IP address assigned to the management interface is the default.
Command Modes
CONFIGURATION
Command
History
Usage
Information
For this snmp-server trap-source command to be enabled, you must configure an IP address on the 
interface and enable the interface configured as an SNMP trap source.
Related
Commands
snmp-server user 
Configure a new user to an SNMP group.
Syntax
snmp-server user name {group_name remote ip-address udp-port port-number} [1 | 2c | 3] 
[encrypted] [auth {md5 | sha} auth-password] [priv des56 priv password] [access-list-name]
To remove a user from the SNMP group, use the no snmp-server user name {group_name remote 
ip-address udp-port port-number} [1 | 2c | 3] [encrypted] [auth {md5 | sha} auth-password] [priv 
des56 priv password] [access-list-name] command.
Parameters
 
interface
Enter the following keywords and slot/port or number information:
• For a Loopback interface, enter the keyword 
loopback followed by a 
number from 0 to 16383.
• For a 10-Gigabit Ethernet interface, enter the keyword 
TenGigabitEthernet followed by the slot/port information. 
• For a 40-Gigabit Ethernet interface, enter the keyword 
fortyGigE followed 
by the slot/port information.
Version 8.3.16.1 Introduced on MXL 10/40GbE Switch IO Module
snmp-server community Sets the community string.
name
Enter the name of the user (not to exceed 20 characters), on the host, that 
connects to the agent.
group_name
Enter a text string (up to 20 characters long) as the name of the group. 
Defaults: The following groups are created for mapping to read/write 
community/security-names.
• v1v2creadu — maps to a community with 
ro permissions
•
v1v2cwriteu — maps to a community rw permissions
remote ip-address
Enter the keyword remote followed by the IP address that identifies the copy of 
the SNMP on the remote device.