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 165 of 169 
Setting Remote Destinations 
You can set remote destinations. 
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 remote-destination {server-1 | server-2 | server-3} {facility {auth | authpriv | cron | daemon | ftp | 
kernel | local0 | local1 | local2 | local3 | local4 | local5 | local6 | local7 | lpr | mail | news | syslog | 
user | uucp} | hostname <
host-name> | | level {alerts | critical | debugging | emergencies | errors | 
information | notifications | warnings}} 
Note  After you enter the command set remote-destination {server-1 | server-2 | server-3} you can 
enter facility or hostname or level. You can provide one or more options (that is facility, hostname, and 
level) in the same command, and the options can be in any order. 
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 remote-destination 
 
Example: 
nsc(policy-mgr) /org/policy/syslog # set 
remote-destination server-2 level critical
 
Sets a remote destination. 
Step 6  commit-buffer 
 
Example:                                                 
nsc /system/backup* # commit-buffer 
Commits (saves) the 
configuration.