Example: POST Configuring SNMP Communities
curl -k -v -u "admin:Cisco123#" -H "Accept:application/vnd.yang.data+xml" -H "Content-Type:application/vnd.yang.data+xml" -X POST https://172.19.162.235/api/snmp/communities -d '
<community>
<community-name>test3</community-name>
<community-access>readOnly</community-access>
</community>'
Field |
Description |
---|---|
community-name |
Upto 32 char alphanumeric string (including _ and -) |
community-access |
Read-only |