General
setany Tap fails as below
psreekan-linux:329> ./setany -v3 1.76.30.2 psreekan cuctTapStreamAcctSessID.106.1 257985 cuctTapStreamStatus.106.1 createAndGo
Enter Authentication password : lab
Enter Privacy password : lab
Error code set in packet - COMMIT_FAILED_ERROR: 1.
If we remove the previous Tap stream and Mediation Device in the following sequence,
psreekan-linux:332> setany -v3 1.76.30.2 psreekan citapStreamStatus.106.1 6 cTap2StreamStatus.106.1 6
Enter Authentication password : lab
Enter Privacy password : lab
citapStreamStatus.106.1 = destroy(6)
cTap2StreamStatus.106.1 = destroy(6)
psreekan-linux:333> setany -v3 1.76.30.2 psreekan cuctTapStreamStatus.106.1 6
Enter Authentication password : lab
Enter Privacy password : lab
cuctTapStreamStatus.106.1 = destroy(6)
psreekan-linux:334> setany -v3 1.76.30.2 psreekan cTap2MediationStatus.106 destroyEnter Authentication password : lab
Enter Privacy password : lab
cTap2MediationStatus.106 = destroy(6)
At this stage we can proceed to set the tap by doing process restart li_mgr at asr9k.
Or follow the below sequence to remove the previous Tap stream and Mediation Device
psreekan-linux:333> setany -v3 1.76.30.2 psreekan cuctTapStreamStatus.106.1 6
Enter Authentication password : lab
Enter Privacy password : lab
cuctTapStreamStatus.106.1 = destroy(6)
psreekan-linux:334> setany -v3 1.76.30.2 psreekan cTap2MediationStatus.106 destroyEnter Authentication password : lab
Enter Privacy password : lab
cTap2MediationStatus.106 = destroy(6)