snmp-server sender-ip

Configure the IP interface from which the SNMP traps originate if the switch has multiple interfaces. This command applies to in-band management cases only. In case of out-of-band management, any configuration of the command is ignored.

Syntax

Command Parameters

{A.B.C.D} {w.x.y.z}
For in-band management case: Specifies the source IP address (w.x.y.z) to use when sending the Trap notification packet to the SNMP server <A.B.C.D>. This command only applies when the force-trap-sender parameter is enabled. Moreover, the source IP (w.x.y.z) must be a CLIP address.
Note

Note

If the source IP address is either specified as 0.0.0.0 or is not a CLIP address, the source IP address is ignored and the switch automatically uses the IP address of the local interface that is closest (from an IP routing table perspective) to the destination SNMP server and the settings from this command are ignored.

If the reachability to the SNMP server is over an IS-IS/SPB IP shortcut NNI, the switch automatically uses the IS-IS IP source address and the settings from this command are ignored.

Default

None

Command Mode

Global Configuration

Usage Guidelines

This command is only supported on VSP 8600 Series. This command is deprecated for all hardware platforms that support VOSS Release 8.2 and later.