Change authProtocol or privProtocol
search cancel

Change authProtocol or privProtocol

book

Article ID: 404893

calendar_today

Updated On:

Products

Network Observability CA Performance Management

Issue/Introduction

How can I change the authProtocol or privProtocol on an SNMPv3 profile using REST

Environment

Dx NetOps Performance Management any version

Resolution

  1. Go to http(s)://<portal>:<port>/pc/center/webservice/profiles/ 
    • Note the id / rank of the profile you want to change
  2. Then go to http(s)://<portal>:<port>/pc/center/webservice/profiles/profileItemId/<id> from step 1
  3. Do a POST to  http(s)://<portal>:<port>/pc/center/webservice/profiles/saveProfile/<rank>

Use the following syntax:

 

<?xml version="1.0" encoding="UTF-8"?>
<SnmpProfile>
  <profileID>id from step 1</profileID>
  <name>test</name>
  <userName>test</userName>
<context/>
  <version>Version3</version>
<securityLevel>AuthAndPriv</securityLevel>
  <authProtocol>SHA</authProtocol>
<authPassword>password</authPassword>
<privProtocol>AES</privProtocol>
    <authPassword>password</authPassword>
    <privPassword>password</privPassword>
</SnmpProfile>

 

  • Valid values for AuthProtocol are: SHA2_512, SHA2_256, SHA, and MD5.
  • Valid values for PrivProtocol are: AES, AES256_3DES, DES and TripleDES.