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 155 of 169 
Creating the Monitor 
You can create 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.  create monitor 
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  create monitor 
 
Example: 
nsc(policy-mgr) /org/policy/syslog # create 
monitor
 
Creates the monitor. 
Step 6  commit-buffer 
 
Example:                                                 
nsc /system/backup* # commit-buffer 
Commits (saves) the 
configuration. 
 
EXAMPLES 
This example shows how to create the monitor: 
nsc# connect policy-mgr 
Cisco Prime Network Services Controller