2-542
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set snmp targetaddr
Usage Guidelines If you use special characters for the addrname, paramsname, tag, and tagvalue (nonprintable delimiters
for these parameters), you must use a hexadecimal keyword, whi ch i s o ne o r two hexade cim al digi ts
separated by a colon (:); for example, 00:ab:34.
The maximum tagvalue and taglist length is 255 bytes.
Examples This example shows how to set the target address in the snmpTargetAddressTable:
Console> (enable) set snmp targetaddr foo param bar 10.1.2.4 udp 160 timeout 10 retries 3
taglist tag1 tag2 tag3
SNMP targetaddr name was set to foo with param bar ipAddr 10.1.2.4, udpport 160, timeout
10, retries 3, storageType nonvolatile with taglist tag1 tag2 tag3.
Console> (enable)
Related Commands clear snmp targetaddr
show snmp targetaddr