190
<Sysname> system-view
[Sysname] snmp-agent trap source gigabitethernet 2/0/1
# Configure the primary IP address of GigabitEthernet 2/0/2 as the source address of SNMP informs.
<Sysname> system-view
[Sysname] snmp-agent inform source gigabitethernet 2/0/2
Related commands
• snmp-agent target-host
• snmp-agent trap enable
snmp-agent sys-info contact
Use snmp-agent sys-info contact to configure the system contact.
Use undo snmp-agent sys-info contact to restore the default contact.
Syntax
snmp-agent sys-info contact sys-contact
undo snmp-agent sys-info contact
Default
The system contact is Null..
Views
System view
Predefined user roles
network-admin
Parameters
sys-contact: Specifies the system contact, a string of 1 to 255 characters.
Usage guidelines
Configure the system contact for system maintenance and management.
Examples
# Configure the system contact as Dial System Operator # 27345.
<Sysname> system-view
[Sysname] snmp-agent sys-info contact Dial System Operator # 27345
Related commands
display snmp-agent sys-info
snmp-agent sys-info location
Use snmp-agent sys-info location to configure the system location.
Use undo snmp-agent sys-info location to restore the default location.
Syntax
snmp-agent sys-info location sys-location