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 112 of 169 
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  show log 
 
Example: 
nsc(policy-mgr) /org/policy # show log 
Displays log policies.. 
 
EXAMPLES 
This example shows how to display all log policies in list form: 
nsc# connect policy-mgr 
Cisco Prime Network Services Controller 
TAC support: http://www.cisco.com/tac 
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 # show log 
Logging Policy: 
Logging Policy Name: LogPA1 
Logging Policy Backup Count: 2 
Logging Policy Level: Debug1 
Logging Policy Size: 10000000 
Logging Policy Admin State: Enabled 
Logging Policy Name: LogPA2 
Logging Policy Backup Count: 1 
Logging Policy Level: critical 
Logging Policy Size: 1000000 
Logging Policy Admin State: Enabled 
nsc(policy-mgr) /org/policy #