Cisco Virtual Network Management Center CLI Configuration Guide, Release 1.0.1
Setting Attributes for Core File, Fault, and Log Policies

Table Of Contents

Setting Attributes for Core File, Fault, and Log Policies

Setting Core File Policy Attributes

Setting the Administration State

Setting the Description

Setting the Host Name

Setting the Path

Setting the Port

Setting Fault Policy Atttributes

Setting the Administration State

Setting Clear Action

Setting the Description

Setting the Flap Interval

Setting the Retention Interval

Setting Log Policy Attributes

Setting the Backup Count

Setting the Description

Setting the Level

Setting the Size


Setting Attributes for Core File, Fault, and Log Policies


This chapter provides information about core file, fault, and log policy attributes.

Core file, fault, and log policies are collections of attributes. lists core file, fault,a nd log policy attributes.

Core file policy attributes
Fault policy attributes
Log policy attributes

adminstration state—

description—

host name—

path—

port—

administration state—

clear action—

 

For details about creating, enabling, disabling, and setting attributes, see any of the appropriate sections below.

This chapter includes the following sections:

Setting Core File Policy Attributes

Setting Fault Policy Atttributes

Setting Log Policy Attributes

Setting Core File Policy Attributes

This section includes the following topics:

Setting the Administration State

Setting the Description

Setting the Host Name

Setting the Path

Setting the Port

Setting the Administration State

You can set the administration state.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Policy manager

SUMMARY STEPS

1. connect policy-mgr

2. scope org

3. scope policy

4. scope corefile <policy-name>

5. set adminstate {disabled | enabled}

6. commit-buffer

DETAILED STEPS

 
Command
Purpose

Step 1 

connect policy-mgr


Example:

vnmc# connect policy-mgr

Places you in the policy manager CLI.

Step 2 

scope org


Example:

vnmc(policy-mgr)# scope org

Places you in organization mode.

Step 3 

scope policy


Example

vnmc(policy-mgr) /org # scope policy

Places you in policy mode.

Step 4 

scope corefile


Example

vnmc(policy-mgr) /org/policy # scope corefile EaCorePA10

Places you in core file mode.

Step 5 

set adminstate


Example

vnmc(policy-mgr) /org/policy/corefile # set adminstate enabled

Sets the administration state.

Step 6 

commit-buffer


Example

vnmc(policy-mgr) /org/policy/corefile* # commit-buffer

Commits (saves) the configuration.

EXAMPLES

This example shows how to set the administration state:

vnmc# connect policy-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, 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

vnmc(policy-mgr)# scope org
vnmc(policy-mgr)# scope policy
vnmc(policy-mgr) /org/policy # scope corefile EaCorePA10
vnmc(policy-mgr) /org/policy/corefile # set adminstate enabled
vnmc(policy-mgr) /org/policy/corefile* # commit-buffer
vnmc(policy-mgr) /org/policy/corefile # 

Setting the Description

You can set the description.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Policy manager

SUMMARY STEPS

1. connect policy-mgr

2. scope org

3. scope policy

4. scope corefile <policy-name>

5. set descr <description>

6. commit-buffer

DETAILED STEPS

 
Command
Purpose

Step 1 

connect policy-mgr


Example:

vnmc# connect policy-mgr

Places you in the policy manager CLI.

Step 2 

scope org


Example:

vnmc(policy-mgr)# scope org

Places you in organization mode.

Step 3 

scope policy


Example

vnmc(policy-mgr) /org # scope policy

Places you in policy mode.

Step 4 

scope corefile


Example

vnmc(policy-mgr) /org/policy # scope corefile EaCorePA10

Places you in core file mode.

Step 5 

set descr


Example

vnmc(policy-mgr) /org/policy/corefile # set descr CoreFilePolicyAgent10

Sets the description.

Step 6 

commit-buffer


Example

vnmc(policy-mgr) /org/policy/corefile* # commit-buffer

Commits (saves) the configuration.

EXAMPLES

This example shows how to add a description to the core policy EaCorePA10:

vnmc# connect policy-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, 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

vnmc(policy-mgr)# scope org
vnmc(policy-mgr)# scope policy
vnmc(policy-mgr) /org # scope corefile EaCorePA10
vnmc(policy-mgr) /org/policy/corefile # set descr CoreFilePolicyAgent10
vnmc(policy-mgr) /org/policy/corefile* # commit-buffer
vnmc(policy-mgr) /org/policy/corefile # 

Setting the Host Name

You can set the core file transfer host name.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Policy manager

SUMMARY STEPS

1. connect policy-mgr

2. scope org

3. scope policy

4. scope corefile <policy-name>

5. set hostname <host-name>

6. commit-buffer

DETAILED STEPS

 
Command
Purpose

Step 1 

connect policy-mgr


Example:

vnmc# connect policy-mgr

Places you in the policy manager CLI.

Step 2 

scope org


Example:

vnmc(policy-mgr)# scope org

Places you in organization mode.

Step 3 

scope policy


Example

vnmc(policy-mgr) /org # scope policy

Places you in policy mode.

Step 4 

scope corefile


Example

vnmc(policy-mgr) /org/policy # scope corefile EaCorePA10

Places you in core file mode.

Step 5 

set hostname


Example

vnmc(policy-mgr) /org/policy/corefile # set hostname policy10

Sets the host name.

Step 6 

commit-buffer


Example

vnmc(policy-mgr) /org/policy/corefile* # commit-buffer

Commits (saves) the configuration.

EXAMPLES

This example shows how to set the core file transfer host name:

vnmc# connect policy-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, 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

vnmc(policy-mgr)# scope org
vnmc(policy-mgr)# scope policy
vnmc(policy-mgr) /org # scope corefile EaCorePA10
vnmc(policy-mgr) /org/policy/corefile # set hostname policy10
vnmc(policy-mgr) /org/policy/corefile* # commit-buffer
vnmc(policy-mgr) /org/policy/corefile # 

Setting the Path

You can set the core file policy path.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Policy manager

SUMMARY STEPS

1. connect policy-mgr

2. scope org

3. scope policy

4. scope corefile <policy-name>

5. set path <core-file-policy-path>

6. commit-buffer

DETAILED STEPS

 
Command
Purpose

Step 1 

connect policy-mgr


Example:

vnmc# connect policy-mgr

Places you in the policy manager CLI.

Step 2 

scope org


Example:

vnmc(policy-mgr)# scope org

Places you in organization mode.

Step 3 

scope policy


Example

vnmc(policy-mgr) /org # scope policy

Places you in policy mode.

Step 4 

scope corefile


Example

vnmc(policy-mgr) /org/policy # scope corefile EaCorePA10

Places you in core file mode.

Step 5 

set path


Example

vnmc(policy-mgr) /org/policy/corefile # set path /test

Sets the path.

The maximum number of characters is 512.

Step 6 

commit-buffer


Example

vnmc(policy-mgr) /org/policy/corefile* # commit-buffer

Commits (saves) the configuration.

EXAMPLES

This example shows how to set the core file policy path:

vnmc# connect policy-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, 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

vnmc(policy-mgr)# scope org
vnmc(policy-mgr)# scope policy
vnmc(policy-mgr) /org # scope corefile EaCorePA10
vnmc(policy-mgr) /org/policy/corefile # set path /test
vnmc(policy-mgr) /org/policy/corefile* # commit-buffer
vnmc(policy-mgr) /org/policy/corefile # 

Setting the Port

You can set the core file policy port number.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Policy manager

SUMMARY STEPS

1. connect policy-mgr

2. scope org

3. scope policy

4. scope corefile <policy-name>

5. set port <port-number>

6. commit-buffer

DETAILED STEPS

 
Command
Purpose

Step 1 

connect policy-mgr


Example:

vnmc# connect policy-mgr

Places you in the policy manager CLI.

Step 2 

scope org


Example:

vnmc(policy-mgr)# scope org

Places you in organization mode.

Step 3 

scope policy


Example

vnmc(policy-mgr) /org # scope policy

Places you in policy mode.

Step 4 

scope corefile


Example

vnmc(policy-mgr) /org/policy # scope corefile EaCorePA10

Places you in core file mode.

Step 5 

set port


Example

vnmc(policy-mgr) /org/policy/corefile # set port 10

Sets the port number.

The range of valid values is 1 to 65535.

Step 6 

commit-buffer


Example

vnmc(policy-mgr) /org/policy/corefile* # commit-buffer

Commits (saves) the configuration.

EXAMPLES

This example shows how to set the core file policy port number:

vnmc# connect policy-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, 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

vnmc(policy-mgr)# scope org
vnmc(policy-mgr)# scope policy
vnmc(policy-mgr) /org # scope corefile EaCorePA10
vnmc(policy-mgr) /org/policy/corefile # set port 10
vnmc(policy-mgr) /org/policy/corefile* # commit-buffer
vnmc(policy-mgr) /org/policy/corefile # 

Setting Fault Policy Atttributes

This section includes the following topics:

Setting the Administration State

Setting Clear Action

Setting the Description

Setting the Flap Interval

Setting the Retention Interval

Setting the Administration State

You can set the administration state.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Policy manager

SUMMARY STEPS

1. connect policy-mgr

2. scope org

3. scope policy

4. scope faultpolicy <policy-name>

5. set adminstate {disabled | enabled}

6. commit-buffer

DETAILED STEPS

 
Command
Purpose

Step 1 

connect policy-mgr


Example:

vnmc# connect policy-mgr

Places you in the policy manager CLI.

Step 2 

scope org


Example:

vnmc(policy-mgr)# scope org

Places you in organization mode.

Step 3 

scope policy


Example:

vnmc(policy-mgr) /org # scope policy

Places you in policy mode.

Step 4 

scope faultpolicy


Example

vnmc(policy-mgr) /org/policy # scope faultpolicy EaFaultPA12

Places you in faultpolicy mode.

Step 5 

set adminstate


Example

vnmc(policy-mgr) /org/policy/faultpolicy # set adminstate enabled

Sets the administration state.

Step 6 

commit-buffer


Example

vnmc(policy-mgr) /org/policy/faultpolicy* # commit-buffer

Commits (saves) the configuration.

EXAMPLES

This example shows how to set the administration state:

vnmc# connect policy-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, 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

vnmc(policy-mgr)# scope org
vnmc(policy-mgr) /org # scope policy
vnmc(policy-mgr) /org/policy # scope faultpolicy EaFaultPA12
vnmc(policy-mgr) /org/policy/faultpolicy # set adminstate enabled
vnmc(policy-mgr) /org/policy/faultpolicy* # commit-buffer
vnmc(policy-mgr) /org/policy/faultpolicy # 

Setting Clear Action

You can set clear action.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Policy manager

SUMMARY STEPS

1. connect policy-mgr

2. scope org

3. scope policy

4. scope faultpolicy <policy-name>

5. set clearaction {delete | retain}

6. commit-buffer

DETAILED STEPS

 
Command
Purpose

Step 1 

connect policy-mgr


Example:

vnmc# connect policy-mgr

Places you in the policy manager CLI.

Step 2 

scope org


Example:

vnmc(policy-mgr)# scope org

Places you in organization mode.

Step 3 

scope policy


Example:

vnmc(policy-mgr) /org # scope policy

Places you in policy mode.

Step 4 

scope faultpolicy


Example

vnmc(policy-mgr) /org/policy # scope faultpolicy EaFaultPA12

Places you in faultpolicy mode.

Step 5 

set clearaction


Example

vnmc(policy-mgr) /org/policy/faultpolicy # set clearaction retain

Sets clear action.

Step 6 

commit-buffer


Example

vnmc(policy-mgr) /org/policy/faultpolicy* # commit-buffer

Commits (saves) the configuration.

EXAMPLES

This example shows how to set clear action:

vnmc# connect policy-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, 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

vnmc(policy-mgr)# scope org
vnmc(policy-mgr) /org # scope policy
vnmc(policy-mgr) /org/policy # scope faultpolicy EaFaultPA12
vnmc(policy-mgr) /org/policy/faultpolicy # set clearaction retain
vnmc(policy-mgr) /org/policy/faultpolicy* # commit-buffer
vnmc(policy-mgr) /org/policy/faultpolicy # 

Setting the Description

You can set the description.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Policy manager

SUMMARY STEPS

1. connect policy-mgr

2. scope org

3. scope policy

4. scope faultpolicy <policy-name>

5. set descr <description>

6. commit-buffer

DETAILED STEPS

 
Command
Purpose

Step 1 

connect policy-mgr


Example:

vnmc# connect policy-mgr

Places you in the policy manager CLI.

Step 2 

scope org


Example:

vnmc(policy-mgr)# scope org

Places you in organization mode.

Step 3 

scope policy


Example:

vnmc(policy-mgr) /org # scope policy

Places you in policy mode.

Step 4 

scope faultpolicy


Example

vnmc(policy-mgr) /org/policy # scope faultpolicy EaFaultPA12

Places you in faultpolicy mode.

Step 5 

set descr


Example

vnmc(policy-mgr) /org/policy/faultpolicy # set descr FaultPolicy1

Sets the description.

Step 6 

commit-buffer


Example

vnmc(policy-mgr) /org/policy/faultpolicy* # commit-buffer

Commits (saves) the configuration.

EXAMPLES

This example shows how to add a description to the fault policy EaFaultPA12:

vnmc# connect policy-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, 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

vnmc(policy-mgr)# scope org
vnmc(policy-mgr) /org # scope policy
vnmc(policy-mgr) /org/policy # scope faultpolicy EaFaultPA12
vnmc(policy-mgr) /org/policy/faultpolicy # set descr FaultPolicy1
vnmc(policy-mgr) /org/policy/faultpolicy* # commit-buffer
vnmc(policy-mgr) /org/policy/faultpolicy # 

Setting the Flap Interval

You can set the flap interval in a fault policy.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC 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:

vnmc# connect policy-mgr

Places you in the policy manager CLI.

Step 2 

scope org


Example:

vnmc(policy-mgr)# scope org

Places you in organization mode.

Step 3 

scope policy


Example:

vnmc(policy-mgr) /org # scope policy

Places you in policy mode.

Step 4 

scope faultpolicy


Example

vnmc(policy-mgr) /org/policy # scope faultpolicy EaFaultPA12

Places you in faultpolicy mode.

Step 5 

set flapinterval


Example

vnmc(policy-mgr) /org/policy/faultpolicy # set flapinterval 00:00:10:00

Sets the flap interval.

Step 6 

commit-buffer


Example

vnmc(policy-mgr) /org/policy/faultpolicy* # commit-buffer

Commits (saves) the configuration.

EXAMPLES

This example shows how to set the flap interval in a fault policy to 10 minutes:

vnmc# connect policy-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, 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

vnmc(policy-mgr)# scope org
vnmc(policy-mgr) /org # scope policy
vnmc(policy-mgr) /org/policy # scope faultpolicy EaFaultPA12
vnmc(policy-mgr) /org/policy/faultpolicy # set flapinterval 00:00:10:00
vnmc(policy-mgr) /org/policy/faultpolicy* # commit-buffer
vnmc(policy-mgr) /org/policy/faultpolicy # 

Setting the Retention Interval

You can set the retention interval in a fault policy.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Policy manager

SUMMARY STEPS

1. connect policy-mgr

2. scope org

3. scope policy

4. scope faultpolicy <policy-name>

5. set retentioninterval {0-4294967295 | forever}

6. commit-buffer

DETAILED STEPS

 
Command
Purpose

Step 1 

connect policy-mgr


Example:

vnmc# connect policy-mgr

Places you in the policy manager CLI.

Step 2 

scope org


Example:

vnmc(policy-mgr)# scope org

Places you in organization mode.

Step 3 

scope policy


Example:

vnmc(policy-mgr) /org # scope policy

Places you in policy mode.

Step 4 

scope faultpolicy


Example

vnmc(policy-mgr) /org/policy # scope faultpolicy EaFaultPA12

Places you in faultpolicy mode.

Step 5 

set retentioninterval


Example

vnmc(policy-mgr) /org/policy/faultpolicy # set retentioninterval 10:00:00:00

Sets the retention interval.

Step 6 

commit-buffer


Example

vnmc(policy-mgr) /org/policy/faultpolicy* # commit-buffer

Commits (saves) the configuration.

EXAMPLES

This example shows how to set the retention interval in a fault policy to 10 days:

vnmc# connect policy-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, 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

vnmc(policy-mgr)# scope org
vnmc(policy-mgr) /org # scope policy
vnmc(policy-mgr) /org/policy # scope faultpolicy EaFaultPA12
vnmc(policy-mgr) /org/policy/faultpolicy # set retentioninterval 10:00:00:00
vnmc(policy-mgr) /org/policy/faultpolicy* # commit-buffer
vnmc(policy-mgr) /org/policy/faultpolicy # 

Setting Log Policy Attributes

This section includes the following topics:

Setting the Backup Count

Setting the Description

Setting the Level

Setting the Size

Setting the Backup Count

You can set the backup count in a log policy.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Policy manager

SUMMARY STEPS

1. connect policy-mgr

2. scope org

3. scope policy

4. scope log <policy-name>

5. set backup-count {1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9}

6. commit-buffer

DETAILED STEPS

 
Command
Purpose

Step 1 

connect policy-mgr


Example:

vnmc# connect policy-mgr

Places you in the policy manager CLI.

Step 2 

scope org


Example:

vnmc(policy-mgr)# scope org

Places you in organization mode.

Step 3 

scope policy


Example:

vnmc(policy-mgr) /org # scope policy

Places you in policy mode.

Step 4 

scope log


Example

vnmc(policy-mgr) /org/policy # scope log EaLogPA11

Places you in log mode.

Step 5 

set backup-count


Example

vnmc(policy-mgr) /org/policy/log # set backup-count 9

Sets thebackup count.

Step 6 

commit-buffer


Example

vnmc(policy-mgr) /org/policy/log* # commit-buffer

Commits (saves) the configuration.

EXAMPLES

This example shows how to set the backup count:

vnmc# connect policy-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, 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

vnmc(policy-mgr)# scope org
vnmc(policy-mgr) /org # scope policy
vnmc(policy-mgr) /org/policy # scope log EaLogPA11
vnmc(policy-mgr) /org/policy/log # set backup-count 9
vnmc(policy-mgr) /org/policy/log* # commit-buffer
vnmc(policy-mgr) /org/policy/log # 

Setting the Description

You can set the description in a log policy.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Policy manager

SUMMARY STEPS

1. connect policy-mgr

2. scope org

3. scope policy

4. scope log <policy-name>

5. set descr <policy-description>

6. commit-buffer

DETAILED STEPS

 
Command
Purpose

Step 1 

connect policy-mgr


Example:

vnmc# connect policy-mgr

Places you in the policy manager CLI.

Step 2 

scope org


Example:

vnmc(policy-mgr)# scope org

Places you in organization mode.

Step 3 

scope policy


Example:

vnmc(policy-mgr) /org # scope policy

Places you in policy mode.

Step 4 

scope log


Example

vnmc(policy-mgr) /org/policy # scope log EaLogPA11

Places you in log mode.

Step 5 

set descr


Example

vnmc(policy-mgr) /org/policy/log # set descr LogPolicy11

Sets thedescription.

Step 6 

commit-buffer


Example

vnmc(policy-mgr) /org/policy/log* # commit-buffer

Commits (saves) the configuration.

EXAMPLES

This example shows how to set the description:

vnmc# connect policy-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, 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

vnmc(policy-mgr)# scope org
vnmc(policy-mgr) /org # scope policy
vnmc(policy-mgr) /org/policy # scope log EaLogPA11
vnmc(policy-mgr) /org/policy/log # set descr LogPolicy11
vnmc(policy-mgr) /org/policy/log* # commit-buffer
vnmc(policy-mgr) /org/policy/log # 

Setting the Level

You can set the level in a log policy.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Policy manager

SUMMARY STEPS

1. connect policy-mgr

2. scope org

3. scope policy

4. scope log <policy-name>

5. set level {critical | debug0 | debug1 | debug2 | debug3 | debug4 | info | major | minor | warning}

6. commit-buffer

DETAILED STEPS

 
Command
Purpose

Step 1 

connect policy-mgr


Example:

vnmc# connect policy-mgr

Places you in the policy manager CLI.

Step 2 

scope org


Example:

vnmc(policy-mgr)# scope org

Places you in organization mode.

Step 3 

scope policy


Example:

vnmc(policy-mgr) /org # scope policy

Places you in policy mode.

Step 4 

scope log


Example

vnmc(policy-mgr) /org/policy # scope log EaLogPA11

Places you in log mode.

Step 5 

set level


Example

vnmc(policy-mgr) /org/policy/log # set level critical

Sets the level.

Step 6 

commit-buffer


Example

vnmc(policy-mgr) /org/policy/log* # commit-buffer

Commits (saves) the configuration.

EXAMPLES

This example shows how to set the level:

vnmc# connect policy-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, 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

vnmc(policy-mgr)# scope org
vnmc(policy-mgr) /org # scope policy
vnmc(policy-mgr) /org/policy # scope log EaLogPA11
vnmc(policy-mgr) /org/policy/log # set level critical
vnmc(policy-mgr) /org/policy/log* # commit-buffer
vnmc(policy-mgr) /org/policy/log # 

Setting the Size

You can set the size in a log policy.

BEFORE YOU BEGIN

See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.

CLI

Policy manager

SUMMARY STEPS

1. connect policy-mgr

2. scope org

3. scope policy

4. scope log <policy-name>

5. set size <size>

6. commit-buffer

DETAILED STEPS

 
Command
Purpose

Step 1 

connect policy-mgr


Example:

vnmc# connect policy-mgr

Places you in the policy manager CLI.

Step 2 

scope org


Example:

vnmc(policy-mgr)# scope org

Places you in organization mode.

Step 3 

scope policy


Example:

vnmc(policy-mgr) /org # scope policy

Places you in policy mode.

Step 4 

scope log


Example

vnmc(policy-mgr) /org/policy # scope log EaLogPA11

Places you in log mode.

Step 5 

set size


Example

vnmc(policy-mgr) /org/policy/log # set size 104857599

Sets the size.

The range of valid values is 1048576 to 104857600.

Step 6 

commit-buffer


Example

vnmc(policy-mgr) /org/policy/log* # commit-buffer

Commits (saves) the configuration.

EXAMPLES

This example shows how to set the size:

vnmc# connect policy-mgr
Cisco Virtual Network Management Center
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2010, 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

vnmc(policy-mgr)# scope org
vnmc(policy-mgr) /org # scope policy
vnmc(policy-mgr) /org/policy # scope log EaLogPA11
vnmc(policy-mgr) /org/policy/log # set size 104857599
vnmc(policy-mgr) /org/policy/log* # commit-buffer
vnmc(policy-mgr) /org/policy/log #