для Cisco Cisco Prime Network Services Controller 3.0
© 2013, 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 154 of 169
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 file level
Example:
nsc(policy-mgr) /org/policy/syslog # set file
level alerts
Sets the file.
Step 6 commit-buffer
Example:
nsc /system/backup* # commit-buffer
Commits (saves) the
configuration.
configuration.
EXAMPLES
This example shows how to set the file attribute severity level to alerts:
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 # scope syslog EaSysPA12
nsc(policy-mgr) /org/policy/syslog # set file level alerts
nsc(policy-mgr) /org/policy/syslog* # commit-buffer
nsc(policy-mgr) /org/policy/syslog #
Working With the Monitor Attribute
You create the monitor attribute. Once created, you can enable or disable it. You can also set the monitor attribute.
When you set it, you are assigning the attribute a severity level.
When you set it, you are assigning the attribute a severity level.
This section includes the following topics:
●
●
●
●