5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
95
Command Mode
Global Config
4-109 snmptrap source-interface
This command is used in the
Global Configuration mode to configure the global source-interface (that is,
the source IP address) for all SNMP communication between the server and the SNMP client.
The
no
command is used in the
Global Configuration mode to remove the global source-interface (that is,
the source IP selection) for all SNMP communication between the server and the SNMP client.
snmptrap source-interface {slot/port | loopback loopback-id | network | serviceport | tunnel
tunnel-id | vlan vlan-id}
no snmptrap source-interface
Parameters
slot/port
Indicates the port that will be used as the source interface.
loopback loopback-id
Indicates the loopback interface that will be used as the source interface
(range: 0 to 7).
tunnel tunnel-id
Indicates the tunnel interface that will be used as the source interface
(range: 0 to 7).
vlan vlan-id
Indicates the VLAN that will be used as the source interface.
Default
The default is None.
Command Mode
Global Config
Example
The following is an example of the CLI display output for the command.
(DQS-5000-32Q28-2023)(ConfICig)#snmptrap source-interface ?
<slot/port>............................... Enter an Interface in slot/port format.
loopback.................................. Configuration of Loopbck Interface.
network................................... Use network source IP address.
serviceport............................... Use serviceport source IP address.
tunnel.................................... Configure IPv6 Tunnel.
vlan...................................... Configuration of VLAN Interface.
4-110 show snmp