DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
586
63-20
snmp-server source-interface traps
This command is used to specify the interface whose IP address will be used as the source address
for sending the SNMP trap packet. Use the
no
form of this command to revert to the default setting.
snmp-server source-interface traps INTERFACE-ID
no snmp-server source-interface traps
Parameters
INTERFACE-ID
Specifies the interface whose IP address will be used as the source
address for sending the SNMP trap packet.
Default
The IP address of the closest interface will be used.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
Use this command to specify the interface whose IP address will be used as the source address for
sending the SNMP trap packet.
Example
This example shows how to configure VLAN 100 as the sourcing interface for sending SNMP trap
packets.
Switch# configure terminal
Switch(config)# snmp-server source-interface traps vlan 100
Switch(config)#
63-21
snmp-server user
This command is used to create an SNMP user. Use the
no
form of this command to remove an
SNMP user.
snmp-server user USER-NAME GROUP-NAME {v1 | v2c | v3 [encrypted] [auth {md5 | sha}
AUTH-PASSWORD [priv PRIV-PASSWORD]]} [access IP-ACL-NAME]
no snmp-server user USER-NAME GROUP-NAME {v1 | v2c | v3}
Parameters
USER-NAME
Specifies a username of a maximum of 32 characters. The syntax is
general string that does not allow spaces.
GROUP-NAME
Specifies the name of the group to which the user belongs. The
syntax is general string that does not allow spaces.
v1
Specifies that the user uses the SNMPv1 security model.
v2c
Specifies that the user uses the SNMPv2c security model.
v3
Specifies that the user uses the SNMPv3 security model.
encrypted
(Optional) Specifies that the following password is in encrypted
Содержание DGS-510
Страница 1: ...1 ...
Страница 287: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 284 ...
Страница 321: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 318 ...
Страница 493: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 490 ...
Страница 733: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 730 ...