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 153 of 169 
Copyright (c) 2002-2013, Cisco Systems, Inc. All rights reserved. 
The copyrights to certain works contained in this software are 
owned by other third parties and used and distributed under 
license. Certain components of this software are licensed under 
the GNU General Public License (GPL) version 2.0 or the GNU 
Lesser General Public License (LGPL) Version 2.1. A copy of each 
such license is available at http://www.opensource.org/licenses/gpl-2.0.php and 
http://www.opensource.org/licenses/lgpl-2.1.php 
nsc(policy-mgr)# scope org 
nsc(policy-mgr) /org # scope policy 
nsc(policy-mgr) /org/policy # scope syslog EaSysPA12 
nsc(policy-mgr) /org/policy/syslog # disable file 
nsc(policy-mgr) /org/policy/syslog* # commit-buffer 
nsc(policy-mgr) /org/policy/syslog # 
Setting the File 
You can assign a severity level, name, and file size to the file attribute. 
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 file level {alerts | critical | debugging | emergencies | errors | information | notifications | 
warnings } | name <file-name> | size <file-size> 
Note: You can provide one or more options (that is severity level, name, and/or file size) for the file in the 
same command. And the order in which the severity level, name, and size are given in the command is 
interchangeable. 
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.