Cisco Cisco Prime Network Services Controller 3.0

Page de 169
 
 
© 2013, 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. 
Page 159 of 169 
nsc(policy-mgr) /org/policy/syslog # disable monitor 
nsc(policy-mgr) /org/policy/syslog* # commit-buffer 
nsc(policy-mgr) /org/policy/syslog # 
Setting the Monitor 
You can set the monitor. 
BEFORE YOU BEGIN 
See 
 for basic information about the Prime Network 
Services Controller  CLI. 
CLI 
Policy Manager  
SUMMARY STEPS 
1.  connect policy-mgr 
2.  scope org 
3.  scope policy 
4.  scope syslog <policy-name> 
5.  set monitor {level} {alerts | critical | debugging | emergencies | errors | information | notifications | 
warnings} 
6.  commit-buffer 
DETAILED STEPS  
 
Command 
Purpose  
Step 1   connect policy-mgr 
                                                       
Example:                                                                                                  
nsc# connect policy-mgr 
Places you in the policy manager 
CLI. 
Step 2  scope org 
                                                  
Example:                                                                                                  
nsc(policy-mgr)# scope org 
Places you in organization mode. 
Step 3  scope policy 
                                                        
Example:                                                                                                 
nsc(policy-mgr) /org # scope policy 
Places you in policy mode.
 
Step 4  scope syslog 
 
Example: 
nsc(policy-mgr) /org/policy # scope log 
EaLogPA11
 
Places you in log mode. 
Step 5  set monitor level 
 
Example 
nsc(policy-mgr) /org/policy/syslog # set 
monitor level critical
 
Sets the monitor. 
Step 6  commit-buffer 
 
Example:                                                 
nsc /system/backup* # commit-buffer 
Commits (saves) the 
configuration.