Administrator Guide

Switch Management Commands 2140
vlan-id
— A VLAN identifier.
Default Configuration
By default, the switch uses the assigned switch IP address as the source IP
address for SNMP packets. This is either the IP address assigned to the VLAN
from which the SNMP packet originates or the out-of-band interface IP
address.
Command Mode
Global Configuration
User Guidelines
The source interface must have an assigned IP address (either manually or via
another method such as DHCP).
Command History
Introduced in version 6.3.0.1 firmware.
Example
console#conf
console(config)#interface vlan 1
console(config-if-vlan1)#ip address dhcp
console(config-if-vlan1)#exit
console(config)#snmp-server source-interface vlan 1
2CSNXXX_SWUM204.book Page 2140 Monday, January 25, 2016 1:25 PM