D-Link DXS-1210-12TC Reference Manual page 306

Dxs-1210 series l2 10 gigabit ethernet switch
Hide thumbs Also See for DXS-1210-12TC:
Table of Contents

Advertisement

This example shows how to configure the trap recipient 163.10.50.126 with version 1 with community
string "comaccess".
Switch# configure terminal
Switch(config)#snmp-server community comaccess rw
Switch(config)# snmp-server host 163.10.50.126 version 1 comaccess
Switch(config)#
This example shows how to configure the trap recipient 163.10.50.126 with version 3 authentication
security level and with the username "useraccess".
Switch# configure terminal
Switch(config)#snmp-server group groupaccess v3 auth read CommunityView write
CommunityView
Switch(config)# snmp-server user useraccess groupaccess v3 auth md5 12345678
Switch(config)# snmp-server host 163.10.50.126 version 3 auth useraccess
Switch(config)#
This example shows how to configure the trap recipient 163.10.50.126 with version 1 with the
community string "comaccess". The UDP port number is configured to 50001.
Switch# configure terminal
Switch(config)#snmp-server community comaccess rw
Switch(config)# snmp-server host 163.10.50.126 version 1 comaccess port 50001
Switch(config)#
38-16
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
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 VLAN100 as the sourcing interface for sending SNMP trap
packets.
DXS-1210 Series Smart Managed Switch CLI Reference Guide
snmp-server source-interface traps
Specifies the interface whose IP address will be used as the source
address for sending the SNMP trap packet.
303

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dxs-1210-12scDxs-1210-10tsDxs-1210-16tc

Table of Contents