Configuring the SNMP Management Interface
8-38 SNMP Configuration
Configuring the SNMP Management Interface
Purpose
ToconfigurethesourceIPaddressusedbytheSNMPagentwhengeneratingSNMPtraps.
Commands
show snmp interface
UsethiscommandtodisplaytheinterfaceusedforthesourceIPaddressoftheSNMPagentwhen
generatingSNMPtraps.
Syntax
show snmp interface
Parameters
None.
Defaults
None.
Mode
Switchmode,read‐only.
Example
Thisexampledisplaystheoutputofthiscommand.Inthiscase,theIPaddressassignedto
loopbackinterface1willbeusedasthesourceIPaddressoftheSNMPagent.
B5(rw)->show snmp interface
loopback 1 192.168.10.1
set snmp interface
UsethiscommandtospecifytheinterfaceusedforthesourceIPaddressoftheSNMPagentwhen
generatingSNMPtraps.
Syntax
set snmp interface {loopback loop-ID | vlan vlan-ID}
For information about... Refer to page...
show snmp interface 8-38
set snmp interface 8-38
clear snmp interface 8-40