Configure SNMP Interfaces
Note
This procedure only applies to VSP 8600 Series.
Configure an interface to send SNMP traps. If the switch has multiple interfaces, configure the IP interface from which the SNMP traps originate.
Procedure
Example
Switch:1(config)#snmp-server sender-ip 192.0.2.2 192.0.2.5 Switch:1(config)#no snmp-server force-iphdr-sender enable
Variable Definitions
The following table defines parameters for the snmp-server command.
Variable |
Value |
---|---|
sender-ip <A.B.C.D> <A.B.C.D> Note:
Exception: only supported on VSP 8600 Series. |
Configures the SNMP trap receiver and source IP addresses. Specify the IP address of the destination SNMP server that receives the SNMP trap notification in the first IP address. Specify the source IP address of the SNMP trap notification packet that is transmitted in the second IP address. If this address is 0.0.0.0, the system uses the IP address of the local interface that is closest (from an IP routing table perspective) to the destination SNMP server. |
force-iphdr-sender enable Note:
Exception: only supported on VSP 8600 Series. |
Automatically configures the SNMP and IP sender to the same value. The default is disabled. |
force-trap-sender enable Note:
Exception: only supported on VSP 8600 Series. |
Sends the configured source address (sender IP) as the sender network in the notification message. |
authentication-trap enable |
Activates the generation of authentication traps. |
login-success-trap enable |
Activates the generation of traps for successful login. |
The following table defines parameters for the snmp-server host command.
Variable |
Value |
---|---|
WORD<1-256> |
Specifies either an IPv4 or IPv6 address. |
port <1-65535> |
Specifies the host server port number. |
WORD<1-32> |
Specifies the security name, which identifies the principal that generates SNMP messages. |
filter WORD<1-32> |
Specifies the filter profile to use. |