Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 3

confb+

gs+
lt all

## Clear references to nodecredential MO


set SystemFunctions=1,SecM=1,UserManagement=1,LdapAuthenticationMethod=1,Ldap=1
nodeCredential
set SysM=1,CliTls=1 nodeCredential
set SysM=1,HttpM=1,Https=1 nodeCredential
set SysM=1,NetconfTls=1 nodeCredential

## Clear references to trustCategory MO


set SystemFunctions=1,SecM=1,UserManagement=1,LdapAuthenticationMethod=1,Ldap=1
trustCategory
set SysM=1,HttpM=1,Https=1 trustCategory
set SysM=1,NetconfTls=1 trustCategory
set SysM=1,CliTls=1 trustCategory
set NodeSupport=1,ServiceDiscovery=1 trustCategory
set NodeSupport=1,ServiceDiscoveryServer=1 trustCategory

bl SystemFunctions=1,SysM=1,NetconfTls=1

## Delete TrustCategory and TrustedCertificates


del SystemFunctions=1,SecM=1,CertM=1,TrustCategory=1
y

set SecM=1,CertM=1,TrustedCertificate=[1-9] managedState 1

acc SecM=1,CertM=1 removeTrustedCert


SystemFunctions=1,SecM=1,CertM=1,TrustedCertificate=1

acc SecM=1,CertM=1 removeTrustedCert


SystemFunctions=1,SecM=1,CertM=1,TrustedCertificate=2

acc SecM=1,CertM=1 removeTrustedCert


SystemFunctions=1,SecM=1,CertM=1,TrustedCertificate=3

acc SecM=1,CertM=1 removeTrustedCert


SystemFunctions=1,SecM=1,CertM=1,TrustedCertificate=4

acc SecM=1,CertM=1 removeTrustedCert


SystemFunctions=1,SecM=1,CertM=1,TrustedCertificate=5

acc SecM=1,CertM=1 removeTrustedCert


SystemFunctions=1,SecM=1,CertM=1,TrustedCertificate=6

acc SecM=1,CertM=1 removeTrustedCert


SystemFunctions=1,SecM=1,CertM=1,TrustedCertificate=7

acc SecM=1,CertM=1 removeTrustedCert


SystemFunctions=1,SecM=1,CertM=1,TrustedCertificate=8
acc NodeCredential= cancelEnrollment

#BB Certificate Script

lt all

get 0 userlabel > $nodename

del NodeCredential=1
cr ManagedElement=$nodename,SystemFunctions=1,SecM=1,CertM=1,NodeCredential=1
C=SE,O=ERICSSON,CN=$nodename

cr ManagedElement=$nodename,SystemFunctions=1,SecM=1,CertM=1,EnrollmentAuthority=1

cr SystemFunctions=1,SecM=1,CertM=1,EnrollmentServerGroup=1

cr SystemFunctions=1,SecM=1,CertM=1,EnrollmentServerGroup=1,EnrollmentServer=1
http://172.40.5.52:26772/cmp
1

set SecM=1,UserManagement=1,LdapAuthenticationMethod=1,Ldap=1 useTls false


set SystemFunctions=1,SecM=1,UserManagement=1,LdapAuthenticationMethod=1,Ldap=1
baseDn dc=ldap,dc=mtn,dc=com
set SystemFunctions=1,SecM=1,UserManagement=1,LdapAuthenticationMethod=1,Ldap=1
bindDn cn=base,ou=proxyagent,ou=com,dc=ldap,dc=mtn,dc=com
set SystemFunctions=1,SecM=1,UserManagement=1,LdapAuthenticationMethod=1,Ldap=1
bindPassword cleartext=true,password=Eric@123
set SystemFunctions=1,SecM=1,UserManagement=1,LdapAuthenticationMethod=1,Ldap=1
fallbackLdapIpAddress 172.40.5.53
set SystemFunctions=1,SecM=1,UserManagement=1,LdapAuthenticationMethod=1,Ldap=1
ldapIpAddress 172.40.5.52
set SystemFunctions=1,SecM=1,CertM=1,EnrollmentAuthority=1 enrollmentCaFingerprint
DE:79:9B:E7:F4:5B:97:04:EC:23:DE:5D:C0:ED:B8:D9:F5:28:27:7B
set SystemFunctions=1,SecM=1,CertM=1,EnrollmentAuthority=1 enrollmentAuthorityName
CN=kblossNECertCA,OU=ericssonOAM,O=Ericsson
set SystemFunctions=1,SecM=1,CertM=1,EnrollmentServerGroup=1,EnrollmentServer=1 uri
http://172.40.5.52:26772/cmp
set
SystemFunctions=1,SecM=1,UserManagement=1,LdapAuthenticationMethod=1,Ldap=1,Ericsso
nFilter=1 roleAliasesBaseDn ou=proxyagent,ou=com,dc=ldap,dc=mtn,dc=com

set SystemFunctions=1,SecM=1,CertM=1,NodeCredential=1 keyinfo RSA_2048


set SystemFunctions=1,SecM=1,CertM=1,NodeCredential=1 renewalmode 1
set SystemFunctions=1,SecM=1,CertM=1,NodeCredential=1 enrollmentauthority
SystemFunctions=1,SecM=1,CertM=1,EnrollmentAuthority=1
set SystemFunctions=1,SecM=1,CertM=1,NodeCredential=1 enrollmentServerGroup
SystemFunctions=1,SecM=1,CertM=1,EnrollmentServerGroup=1

acc SystemFunctions=1,SecM=1,CertM=1,NodeCredential=1 startOnlineEnrollment


NULL

lt all

cr SystemFunctions=1,SecM=1,CertM=1,TrustCategory=1
SystemFunctions=1,SecM=1,CertM=1,TrustedCertificate=1
SystemFunctions=1,SecM=1,CertM=1,TrustedCertificate=2
SystemFunctions=1,SecM=1,CertM=1,TrustedCertificate=3
SystemFunctions=1,SecM=1,CertM=1,TrustedCertificate=4
SystemFunctions=1,SecM=1,CertM=1,TrustedCertificate=5

bl SystemFunctions=1,SysM=1,NetconfTls=1
set SystemFunctions=1,SysM=1,NetconfTls=1 nodeCredential
SystemFunctions=1,SecM=1,CertM=1,NodeCredential=1
set SystemFunctions=1,SysM=1,NetconfTls=1 trustCategory
SystemFunctions=1,SecM=1,CertM=1,TrustCategory=1
deb SystemFunctions=1,SysM=1,NetconfTls=1

set SystemFunctions=1,SecM=1,UserManagement=1,LdapAuthenticationMethod=1,Ldap=1
nodeCredential SystemFunctions=1,SecM=1,CertM=1,NodeCredential=1
set SystemFunctions=1,SecM=1,UserManagement=1,LdapAuthenticationMethod=1,Ldap=1
trustCategory SystemFunctions=1,SecM=1,CertM=1,TrustCategory=1
set SystemFunctions=1,SecM=1,UserManagement=1,LdapAuthenticationMethod=1,Ldap=1
tlsMode 1
set SystemFunctions=1,SecM=1,UserManagement=1,LdapAuthenticationMethod=1,Ldap=1
useTls true
set SystemFunctions=1,SecM=1,UserManagement=1,LdapAuthenticationMethod=1,Ldap=1
serverPort

cr Transport=1,Router=vr_LTE_OAM,DnsClient=1
set Transport=1,Router=vr_LTE_OAM,DnsClient=1 serverAddress 172.40.5.52

set SystemFunctions=1,SysM=1,Snmp=1 agentAddress host=0.0.0.0,port=161

cr SystemFunctions=1,SysM=1,Snmp=1,SnmpTargetV2C=1
public
172.40.5.104

set SystemFunctions=1,SecM=1,UserManagement=1,LdapAuthenticationMethod=1,Ldap=1
userLabel LDAP primary server
set SystemFunctions=1,SecM=1,UserManagement=1,LdapAuthenticationMethod=1,Ldap=1
profileFilter 1
deb snmp
deb ldap

lt all

secm/authtrace comonly

cvms postOSSldapnew

gs-
confb-

You might also like