Cisco Virtual Network Management Center CLI Configuration Guide, Release 1.0.1
Setting Attributes for Syslog Policies

Table Of Contents

Setting Attributes for Syslog Policies

Assigning a Description to a Syslog Policy

Sending Syslog Alerts

Working With the Console Attribute

Creating the Console Attribute

Enabling the Console Attribute

Disabling the Console Attribute

Setting the Console Attribute

Working With the File Attribute

Creating the File

Enabling the File

Disabling the File

Setting the File

Working With the Monitor Attribute

Creating the Monitor

Enabling the Monitor

Disabling the Monitor

Setting the Monitor

Working With the Remote Destination Attribute

Creating Remote Destinations

Enabling Remote Destinations

Disabling Remote Destinations

Setting Remote Destinations


Setting Attributes for Syslog Policies


This chapter provides information about assigning a description to a syslog policy and syslog policy attributes.

A syslog policy is a collection of attributes. There are four syslog policy attributes:

console—You can create, enable, disable, set the console attribute.

file—You can create, enable, disable, set the file attribute.

monitor—You can create, enable, disable, set the monitor attribute.

remote destination—You can create, enable, disable, set the remote attribute.

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

This chapter includes the following sections:

Assigning a Description to a Syslog Policy

Sending Syslog Alerts

Working With the Console Attribute

Working With the File Attribute

Working With the Monitor Attribute

Working With the Remote Destination Attribute

Assigning a Description to a Syslog Policy

You can assign a policy description to a syslog 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 syslog <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 syslog


Example

vnmc(policy-mgr) /org/policy # scope syslog EaSysPA12

Places you in syslog mode.

Step 5 

set descr


Example

vnmc(policy-mgr) /org/policy/syslog # set descr syslogPolicy12

Sets the policy description.

The maximum number of characters you can us e in a syslog policy description is 512.

Step 6 

commit-buffer


Example

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

Commits (saves) the configuration.

EXAMPLES

This example shows how to assign the description syslogPolicy12 the syslog policy EaSysPA12:

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 syslog EaSysPA12
vnmc(policy-mgr) /org/policy/syslog # set descr syslogPolicy12
vnmc(policy-mgr) /org/policy/syslog* # commit-buffer
vnmc(policy-mgr) /org/policy/syslog # 

Sending Syslog Alerts

You can send syslog messages.

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 syslog <policy-name>

5. send-syslog {alerts | critical | debugging | emergencies | errors | information | notifcations | warnings} {syslog-message}

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 syslog


Example

vnmc(policy-mgr) /org/policy # scope syslog EaSysPA12

Places you in syslog mode.

Step 5 

send-syslog


Example

vnmc(policy-mgr) /org/policy/syslog # send syslog critical

Sends the syslog message.

Step 6 

commit-buffer


Example

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

Commits (saves) the configuration.

EXAMPLES

This example shows how to send syslog messages:

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 syslog EaSysPA12
vnmc(policy-mgr) /org/policy/syslog # send-syslog critical
vnmc(policy-mgr) /org/policy/syslog* # commit-buffer
vnmc(policy-mgr) /org/policy/syslog # 

Working With the Console Attribute

You create the console attribute. Once created, you can enable or disable it. You can also set the console attribute. When you set it, you are assigning the attribute a severity level.

This section includes the following topics:

Creating the Console Attribute

Enabling the Console Attribute

Disabling the Console Attribute

Setting the Console Attribute

Creating the Console Attribute

You can create the console attribute.

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 syslog <policy-name>

5. create console

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 syslog


Example

vnmc(policy-mgr) /org/policy # scope syslog EaSysPA12

Places you in syslog mode.

Step 5 

create console


Example

vnmc(policy-mgr) /org/policy/syslog # create console

Creates the console.

Step 6 

commit-buffer


Example

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

Commits (saves) the configuration.

EXAMPLES

This example shows how to create the console:

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 syslog EaSysPA12
vnmc(policy-mgr) /org/policy/syslog # create console
vnmc(policy-mgr) /org/policy/syslog* # commit-buffer
vnmc(policy-mgr) /org/policy/syslog # 

Enabling the Console Attribute

You can enable the console attribute.

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 syslog <policy-name>

5. enable console

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 syslog


Example

vnmc(policy-mgr) /org/policy # scope syslog EaSysPA12

Places you in syslog mode.

Step 5 

enable console


Example

vnmc(policy-mgr) /org/policy/syslog # enable console

Enables the console.

Step 6 

commit-buffer


Example

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

Commits (saves) the configuration.

EXAMPLES

This example shows how to enable the console:

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 syslog EaSysPA12
vnmc(policy-mgr) /org/policy/syslog # enable console
vnmc(policy-mgr) /org/policy/syslog* # commit-buffer
vnmc(policy-mgr) /org/policy/syslog # 

Disabling the Console Attribute

You can disable the console attribute.

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 syslog <policy-name>

5. disable console

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 syslog


Example

vnmc(policy-mgr) /org/policy # scope syslog EaSysPA12

Places you in syslog mode.

Step 5 

disable console


Example

vnmc(policy-mgr) /org/policy/syslog # disable console

Disables the console.

Step 6 

commit-buffer


Example

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

Commits (saves) the configuration.

EXAMPLES

This example shows how to disable the console attribute:

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 syslog EaSysPA12
vnmc(policy-mgr) /org/policy/syslog # disable console
vnmc(policy-mgr) /org/policy/syslog* # commit-buffer
vnmc(policy-mgr) /org/policy/syslog # 

Setting the Console Attribute

You can assign a severity level to a console attribute.

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 syslog <policy-name>

5. set console level {alerts | critical | emergencies}

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 syslog


Example

vnmc(policy-mgr) /org/policy # scope syslog EaSysPA12

Places you in syslog mode.

Step 5 

set console level


Example

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

Sets the level.

Step 6 

commit-buffer


Example

vnmc(policy-mgr) /org/policy/syslog* # 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 syslog EaSysPA12
vnmc(policy-mgr) /org/policy/syslog # set console level critical
vnmc(policy-mgr) /org/policy/syslog* # commit-buffer
vnmc(policy-mgr) /org/policy/syslog # 

Working With the File Attribute

You create the file attribute. Once created, you can enable or disable it. You can also set the file attribute. When you set it, you are assigning the attribute a severity level, a name, and a file size.

This section includes the following topics:

Creating the File

Enabling the File

Disabling the File

Setting the File

Creating the File

You can create the file.

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 syslog <policy-name>

5. create file

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 syslog


Example

vnmc(policy-mgr) /org/policy # scope syslog EaSysPA12

Places you in syslog mode.

Step 5 

create file


Example

vnmc(policy-mgr) /org/policy/syslog # create file

Creates the file.

Step 6 

commit-buffer


Example

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

Commits (saves) the configuration.

EXAMPLES

This example shows how to create the file:

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 syslog EaSysPA12
vnmc(policy-mgr) /org/policy/syslog # create file
vnmc(policy-mgr) /org/policy/syslog* # commit-buffer
vnmc(policy-mgr) /org/policy/syslog # 

Enabling the File

You can enable the file.

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 syslog <policy-name>

5. enable file

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 syslog


Example

vnmc(policy-mgr) /org/policy # scope syslog EaSysPA12

Places you in syslog mode.

Step 5 

enable file


Example

vnmc(policy-mgr) /org/policy/syslog # enable file

Enables the file.

Step 6 

commit-buffer


Example

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

Commits (saves) the configuration.

EXAMPLES

This example shows how to enable the file:

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 syslog EaSysPA12
vnmc(policy-mgr) /org/policy/syslog # enable file
vnmc(policy-mgr) /org/policy/syslog* # commit-buffer
vnmc(policy-mgr) /org/policy/syslog # 

Disabling the File

You can disable the file.

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 syslog <policy-name>

5. disable file

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 syslog


Example

vnmc(policy-mgr) /org/policy # scope syslog EaSysPA12

Places you in syslog mode.

Step 5 

disable file


Example

vnmc(policy-mgr) /org/policy/syslog # disable file

Disables the file.

Step 6 

commit-buffer


Example

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

Commits (saves) the configuration.

EXAMPLES

This example shows how to disable the file:

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 syslog EaSysPA12
vnmc(policy-mgr) /org/policy/syslog # disable file
vnmc(policy-mgr) /org/policy/syslog* # commit-buffer
vnmc(policy-mgr) /org/policy/syslog # 

Setting the File

You can assign a severity level, a name, and a file size to the file attribute.

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 syslog <policy-name>

5. set file {level {alerts | critical | debugging | emergencies | errors | information | notifications | warnings} | name {file-name} [level {level {alerts | critical | debugging | emergencies | errors | information | notifications | warnings} | size <file-size>] | size <file-size> [level {level {alerts | critical | debugging | emergencies | errors | information | notifications | warnings} | size <file-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 syslog


Example

vnmc(policy-mgr) /org/policy # scope syslog EaSysPA12

Places you in syslog mode.

Step 5 

set file level


Example

vnmc(policy-mgr) /org/policy/syslog # set file level alerts

Sets the file.

Step 6 

commit-buffer


Example

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

Commits (saves) the configuration.

EXAMPLES

This example shows how to set the file attribute severity level to alerts:

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 syslog EaSysPA12
vnmc(policy-mgr) /org/policy/syslog # set file level alerts
vnmc(policy-mgr) /org/policy/syslog* # commit-buffer
vnmc(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.

This section includes the following topics:

Creating the Monitor

Enabling the Monitor

Disabling the Monitor

Setting the Monitor

Creating the Monitor

You can create the monitor.

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 syslog <policy-name>

5. create monitor

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 syslog


Example

vnmc(policy-mgr) /org/policy # scope syslog EaSysPA12

Places you in syslog mode.

Step 5 

create monitor


Example

vnmc(policy-mgr) /org/policy/syslog # create monitor

Creates the monitor.

Step 6 

commit-buffer


Example

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

Commits (saves) the configuration.

EXAMPLES

This example shows how to create the monitor:

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 syslog EaSysPA12
vnmc(policy-mgr) /org/policy/syslog # create monitor
vnmc(policy-mgr) /org/policy/syslog* # commit-buffer
vnmc(policy-mgr) /org/policy/syslog # 

Enabling the Monitor

You can enable the monitor.

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 syslog <policy-name>

5. enable monitor

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 syslog


Example

vnmc(policy-mgr) /org/policy # scope syslog EaSysPA12

Places you in syslog mode.

Step 5 

enable monitor


Example

vnmc(policy-mgr) /org/policy/syslog # enable monitor

Enables the monitor.

Step 6 

commit-buffer


Example

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

Commits (saves) the configuration.

EXAMPLES

This example shows how to create the monitor:

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 syslog EaSysPA12
vnmc(policy-mgr) /org/policy/syslog # enable monitor
vnmc(policy-mgr) /org/policy/syslog* # commit-buffer
vnmc(policy-mgr) /org/policy/syslog # 

Disabling the Monitor

You can enable the monitor.

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 syslog <policy-name>

5. disable monitor

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 syslog


Example

vnmc(policy-mgr) /org/policy # scope syslog EaSysPA12

Places you in syslog mode.

Step 5 

disable monitor


Example

vnmc(policy-mgr) /org/policy/syslog # disable monitor

Disables the monitor.

Step 6 

commit-buffer


Example

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

Commits (saves) the configuration.

EXAMPLES

This example shows how to create the monitor:

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 syslog EaSysPA12
vnmc(policy-mgr) /org/policy/syslog # disable monitor
vnmc(policy-mgr) /org/policy/syslog* # commit-buffer
vnmc(policy-mgr) /org/policy/syslog # 

Setting the Monitor

You can set the monitor.

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 syslog <policy-name>

set monitor level {alerts | critical | debugging | emergencies | errors | information | notifications | warnings}

5. 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 syslog


Example

vnmc(policy-mgr) /org/policy # scope syslog EaSysPA12

Places you in syslog mode.

Step 5 

set monitor level


Example

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

Sets the monitor.

Step 6 

commit-buffer


Example

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

Commits (saves) the configuration.

EXAMPLES

This example shows how to set the monitor:

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 syslog EaSysPA12
vnmc(policy-mgr) /org/policy/syslog # set monitor level critical
vnmc(policy-mgr) /org/policy/syslog* # commit-buffer
vnmc(policy-mgr) /org/policy/syslog # 

Working With the Remote Destination Attribute

This section includes the following topics:

Creating Remote Destinations

Enabling Remote Destinations

Disabling Remote Destinations

Setting Remote Destinations

Creating Remote Destinations

You can create remote destinations.

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 syslog <policy-name>

5. create remote-destination {server-1 | server-2 | server-3} <server-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 syslog


Example

vnmc(policy-mgr) /org/policy # scope syslog EaSysPA12

Places you in syslog mode.

Step 5 

create remote-destination


Example

vnmc(policy-mgr) /org/policy/syslog # create remote-destination server-1 test

Creates a remote destination.

Step 6 

commit-buffer


Example

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

Commits (saves) the configuration.

EXAMPLES

This example shows how to create a remote destination:

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 syslog EaSysPA12
vnmc(policy-mgr) /org/policy/syslog # create remote-destination server-1 test
vnmc(policy-mgr) /org/policy/syslog* # commit-buffer
vnmc(policy-mgr) /org/policy/syslog # 

Enabling Remote Destinations

You can enable remote destinations.

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 syslog <policy-name>

5. enable remote-destination {server-1 | server-2 | server-3}

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 syslog


Example

vnmc(policy-mgr) /org/policy # scope syslog EaSysPA12

Places you in syslog mode.

Step 5 

enable


Example

vnmc(policy-mgr) /org/policy/syslog # enable remote-destination server-1

Enables a remote destination.

Step 6 

commit-buffer


Example

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

Commits (saves) the configuration.

EXAMPLES

This example shows how to create a remote destination:

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 syslog EaSysPA12
vnmc(policy-mgr) /org/policy/syslog # enable remote-destination server-1
vnmc(policy-mgr) /org/policy/syslog* # commit-buffer
vnmc(policy-mgr) /org/policy/syslog # 

Disabling Remote Destinations

You can disable remote destinations.

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 syslog <policy-name>

5. disable remote-destination {server-1 | server-2 | server-3}

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 syslog


Example

vnmc(policy-mgr) /org/policy # scope syslog EaSysPA12

Places you in syslog mode.

Step 5 

disable


Example

vnmc(policy-mgr) /org/policy/syslog # disable remote-destination server-1

Enables a remote destination.

Step 6 

commit-buffer


Example

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

Commits (saves) the configuration.

EXAMPLES

This example shows how to create a remote destination:

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 syslog EaSysPA12
vnmc(policy-mgr) /org/policy/syslog # enable remote-destination server-1
vnmc(policy-mgr) /org/policy/syslog* # commit-buffer
vnmc(policy-mgr) /org/policy/syslog # 

Setting Remote Destinations

You can set remote destinations.

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 syslog <policy-name>

5. set remote-destination {server-1 | server-2 | server-3} {facility {auth | authpriv | cron | daemon | ftp | kernel | local0 | local1 | local2 | local 3 | local4 | local5 | local6 | local7 | lpr | mail | news | syslog | user | uucp} [hostname | level]} | hostname <host-name> [facility | level] | level {alerts | critical | debugging | emergencies | errors | information | notifications | warnings} [facility | hostname]}

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 syslog


Example

vnmc(policy-mgr) /org/policy # scope syslog EaSysPA12

Places you in syslog mode.

Step 5 

set remote-destination


Example

vnmc(policy-mgr) /org/policy/syslog # set remote-destination server-2 level critical

Sets a remote destination.

Step 6 

commit-buffer


Example

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

Commits (saves) the configuration.

EXAMPLES

This example shows how to set a remote destination:

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 syslog EaSysPA12
vnmc(policy-mgr) /org/policy/syslog # set remote-destination server-2 level critical
vnmc(policy-mgr) /org/policy/syslog* # commit-buffer
vnmc(policy-mgr) /org/policy/syslog #