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 131 of 169 
Setting the Flap Interval 
You can set the flap interval in a fault policy. 
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 faultpolicy <policy-name> 
5.  set flapinterval <interval> 
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 faultpolicy 
 
Example: 
nsc(policy-mgr) /org/policy # scope faultpolicy 
EaFaultPA12
 
Places you in faultpolicy mode. 
Step 5  set flapinterval 
 
Example: 
nsc(policy-mgr) /org/policy/faultpolicy # set 
flapinterval 3500
 
Sets the flap interval. 
Step 6  commit-buffer 
 
Example:                                                 
nsc /system/backup* # commit-buffer 
Commits (saves) the 
configuration. 
 
EXAMPLES 
This example shows how to set the flap interval in a fault policy to 3500 seconds: 
nsc# connect policy-mgr 
Cisco Prime Network Services Controller 
TAC support: http://www.cisco.com/tac