Verifying the configuration of the interface IP address used as the source IP address in IP headers for SNMP replies and traps sent from the switch (CLI)

Enter the show snmp-server command to display the SNMP policy configuration, as shown in the following example.

Display of source IP address configuration

switch(config)# show snmp-server
 
 SNMP Communities
  
  Community Name   MIB View Write Access
  ---------------- -------- ------------
  public           Manager  Unrestricted

 Trap Receivers
  Link-Change Traps Enabled on Ports [All] : All

  ...

 Excluded MIBs
 Snmp Response Pdu Source-IP Information
  Selection Policy : dstIpOfRequest 1

 Trap Pdu Source-IP Information
  Selection Policy : Configured IP
1 dstIpOfRequest: The destination IP address of the interface on which an SNMP request is received and used as the source IP address in SNMP replies.