- Configuring Global Fault Policies
- Configuring TFTP Core Export Policies
- Configuring Syslog Policies
- Configuring a Syslog Debug Policy
- Deleting a Syslog Debug Policy
- Configuring a Syslog Console Debug Policy
- Disabling a Syslog Console Debug Policy
- Configuring a Syslog Monitor Debug Policy
- Disabling a Syslog Monitor Debug Policy
- Configuring a Syslog Remote Destination Debug Policy
- Disabling a Syslog Remote Destination Debug Policy
- Configuring a Syslog Source Debug Policy
- Disabling a Syslog Source Debug Policy
- Configuring a Syslog LogFile Debug Policy
- Disabling a Syslog LogFile Debug Policy
Configuring Settings for Faults, Events, and Logs
This chapter includes the following sections:
Configuring Global Fault Policies
Configuring a Global Fault Debug Policy
Before configuring a global fault debug policy under a domain group, this policy must first be created. Policies under the Domain Groups root were already created by the system and ready to configure.
The following example shows how to scope into the domain group domaingroup01, create a global fault debug policy, enter the status settings, and commit the transaction:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group / UCSC(policy-mgr) /domain-group # create fault policy UCSC(policy-mgr) /domain-group/policy* # set ackaction delete-on-clear UCSC(policy-mgr) /domain-group/policy* # set clearaction delete UCSC(policy-mgr) /domain-group/policy* # set clearinterval 90 UCSC(policy-mgr) /domain-group/policy* # set flapinterval 180 UCSC(policy-mgr) /domain-group/policy* # set retentioninterval 365 UCSC(policy-mgr) /domain-group/policy* # set soakingseverity info UCSC(policy-mgr) /domain-group/policy* # set soakinterval warning UCSC(policy-mgr) /domain-group/policy* # commit-buffer UCSC(policy-mgr) /domain-group/policy #
Deleting a Global Fault Debug Policy
A global fault debug policy is deleted from a domain group under the domain group root. Global fault debug policies under the domain groups root cannot be deleted.
The following example shows how to scope into the Domain Group domaingroup01, delete the global fault debug policy, and commit the transaction:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group domaingroup01 UCSC(policy-mgr) /domain-group# delete fault policy UCSC(policy-mgr) /domain-group* # commit-buffer UCSC(policy-mgr) /domain-group #
Configuring TFTP Core Export Policies
Core File Exporter
Cisco UCS uses the Core File Exporter to export core files as soon as they occur to a specified location on the network through TFTP. This functionality allows you to export the tar file with the contents of the core file.
Configuring a TFTP Core Export Debug Policy
Before configuring a TFTP core export debug policy under a domain group, this policy must first be created. Policies under the Domain Groups root were already created by the system and ready to configure.
The following example shows how to scope into the domain group domaingroup01, create the TFTP Core Export Policy, configure the policy, and commit the transaction:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group domaingroup01 UCSC(policy-mgr) /domain-group # create tftp-core-export-config UCSC(policy-mgr) /domain-group/tftp-core-export-config* # enable core-export-target UCSC(policy-mgr) /domain-group/tftp-core-export-config* # set core-export-target path /target UCSC(policy-mgr) /domain-group/tftp-core-export-config* # set core-export-target port 65535 UCSC(policy-mgr) /domain-group/tftp-core-export-config* # set core-export-target server-description "TFTP core export server 2" UCSC(policy-mgr) /domain-group/tftp-core-export-config* # set core-export-target server-name TFTPcoreserver01 UCSC(policy-mgr) /domain-group/tftp-core-export-config* # commit-buffer UCSC(policy-mgr) /domain-group/tftp-core-export-config #
Deleting a TFTP Core Export Debug Policy
A TFTP core export debug policy is deleted from a domain group under the domain group root. TFTP core export debug policies under the domain groups root cannot be deleted.
Command or Action | Purpose | |
---|---|---|
Step 1 | UCSC# connect policy-mgr | Enters policy manager mode. |
Step 2 | UCSC(policy-mgr)# scope domain-group domain-group | Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group. |
Step 3 | UCSC(policy-mgr) /domain-group # delete tftp-core-export-config | Deletes the TFTP Core Export Debug policy. |
Step 4 | UCSC(policy-mgr) /domain-group/tftp-core-export-config* # commit-buffer | Commits the transaction to the system configuration. |
The following example shows how to scope into the domain group domaingroup01, delete the TFTP core export debug policy, and commit the transaction:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group domaingroup01 UCSC(policy-mgr) /domain-group # delete tftp-core-export-config UCSC(policy-mgr) /domain-group* # commit-buffer UCSC(policy-mgr) /domain-group #
Configuring Syslog Policies
Configuring a Syslog Debug Policy
Before configuring a syslog debug policy under a domain group, this policy must first be created.
Syslog Debug Policies under the Domain Group root were created by the system.
Command or Action | Purpose | |
---|---|---|
Step 1 | UCSC# connect policy-mgr | Enters policy manager mode. |
Step 2 | UCSC(policy-mgr)# scope domain-group domain-group | Enters a domain group under the Domain Group root. |
Step 3 | UCSC(policy-mgr) /domain-group # create syslog | Creates a Syslog Debug policy if it does not exist, then scopes into the policy. |
Step 4 | UCSC(policy-mgr) /domain-group/syslog* # commit-buffer | Commits the transaction to the system configuration. |
The following example shows how to scope into the domain group domaingroup01, create the Syslog Console Debug Policy, and commit the transaction:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group domaingroup01 UCSC(policy-mgr) /domain-group # create syslog UCSC(policy-mgr) /domain-group/syslog/remote-destination* # commit-buffer UCSC(policy-mgr) /domain-group/syslog/remote-destination #
The Syslog Debug Policy is now ready to be configured.
Deleting a Syslog Debug Policy
A syslog debug policy is deleted from a domain group under the domain group root. Syslog debug policies under the domain groups root cannot be deleted.
Command or Action | Purpose | |
---|---|---|
Step 1 | UCSC# connect policy-mgr | Enters policy manager mode. |
Step 2 | UCSC(policy-mgr)# scope domain-group domain-group | Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group. |
Step 3 | UCSC(policy-mgr) /domain-group # delete syslog | Deletes the Syslog Debug policy. |
Step 4 | UCSC(policy-mgr) /domain-group* # commit-buffer | Commits the transaction to the system configuration. |
The following example shows how to scope into the domain group domaingroup01, delete the Syslog Debug Policy, and commit the transaction:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group domaingroup01 UCSC(policy-mgr) /domain-group # delete syslog UCSC(policy-mgr) /domain-group* # commit-buffer UCSC(policy-mgr) /domain-group #
Configuring a Syslog Console Debug Policy
Before configuring a syslog console debug policy under a domain group, this policy must first be created. Policies under the Domain Groups root that were already created by the system are ready to configure.
Create a Syslog Debug Policy.
Command or Action | Purpose | |
---|---|---|
Step 1 | UCSC# connect policy-mgr | Enters policy manager mode. |
Step 2 | UCSC(policy-mgr)# scope domain-group domain-group | Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group. |
Step 3 | UCSC(policy-mgr) /domain-group # scope syslog | Creates or scopes a Syslog Debug policy's configuration mode. |
Step 4 | UCSC(policy-mgr) /domain-group/syslog* # create | scope console | Creates or scopes the Syslog Console Debug policy. |
Step 5 | UCSC(policy-mgr) /domain-group/syslog/console* # enable | Enables the Syslog Console Debug policy. |
Step 6 | UCSC(policy-mgr) /domain-group/syslog/console* # set level 1 | 2 | 0 | Sets the syslog console to one of the following conditions: Alerts (1), Critical (2), or Emergencies (0). |
Step 7 | UCSC(policy-mgr) /domain-group/syslog/console* # exit | Moves back a level for the next create or scope command. |
Step 8 | UCSC(policy-mgr) /domain-group/syslog/console* # commit-buffer | Commits the transaction to the system configuration. |
The following example shows how to scope into the domain group domaingroup01, scope the Syslog Debug policy, scope the Syslog Console Debug policy, configure the policy, and commit the transaction:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group domaingroup01 UCSC(policy-mgr) /domain-group # scope syslog UCSC(policy-mgr) /domain-group/syslog # scope console UCSC(policy-mgr) /domain-group/syslog/console # enable UCSC(policy-mgr) /domain-group/syslog/console* # set level 2 UCSC(policy-mgr) /domain-group/syslog/console* # commit-buffer UCSC(policy-mgr) /domain-group/syslog/console #
Disabling a Syslog Console Debug Policy
A syslog console debug policy is disabled from a domain group under the Domain Group root. Syslog console debug policies under the Domain Group root cannot be disabled.
Command or Action | Purpose | |
---|---|---|
Step 1 | UCSC# connect policy-mgr | Enters policy manager mode. |
Step 2 | UCSC(policy-mgr)# scope domain-group domain-group | Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group. |
Step 3 | UCSC(policy-mgr) /domain-group # scope syslog | Scopes an existing Syslog Console Debug policy's configuration mode. |
Step 4 | UCSC(policy-mgr) /domain-group/syslog* # scope console | Scopes the Syslog Console Debug policy. |
Step 5 | UCSC(policy-mgr) /domain-group/syslog/console* # disable | Disables the Syslog Console Debug policy. |
Step 6 | UCSC(policy-mgr) /domain-group/syslog/console* # commit-buffer | Commits the transaction to the system configuration. |
The following example shows how to scope into the domain group domaingroup01, scope into the Syslog Debug Policy, scope the Syslog Console Debug policy, disable the Syslog Console Debug Policy, and commit the transaction:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group domaingroup01 UCSC(policy-mgr) /domain-group # scope syslog UCSC(policy-mgr) /domain-group/syslog* # scope console UCSC(policy-mgr) /domain-group/syslog/console* # disable UCSC(policy-mgr) /domain-group/syslog/console* # commit-buffer UCSC(policy-mgr) /domain-group/syslog/console #
Configuring a Syslog Monitor Debug Policy
Before configuring a syslog monitor debug policy under a domain group, this policy must first be created. Policies under the Domain Groups root that were already created by the system are ready to configure.
Create a Syslog Debug Policy.
Command or Action | Purpose | |
---|---|---|
Step 1 | UCSC# connect policy-mgr | Enters policy manager mode. |
Step 2 | UCSC(policy-mgr)# scope domain-group domain-group | Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group. |
Step 3 | UCSC(policy-mgr) /domain-group # scope syslog | Creates or scopes a Syslog Debug policy's configuration mode. |
Step 4 | UCSC(policy-mgr) /domain-group/syslog* # create | scope monitor | Creates or scopes the Syslog Monitor Debug policy. |
Step 5 | UCSC(policy-mgr) /domain-group/syslog/monitor* # enable | Enables the syslog monitor. |
Step 6 | UCSC(policy-mgr) /domain-group/syslog/monitor* # set level 1 | 2 | 3 | 4 | 5 | 6 | 7 | Sets the syslog monitor to one of the following conditions: Alerts (1), Cisco UCS domains Critical (2), Cisco UCS domains Major Error (3), Cisco UCS domains Minor Warnings (4), Cisco UCS domains Warning (5), Information (6), Debugging (7). |
Step 7 | UCSC(policy-mgr) /domain-group/syslog/monitor* # commit-buffer | Commits the transaction to the system configuration. |
The following example shows how to scope into the domain group domaingroup01, scope the Syslog Debug Policy, scope the Syslog Monitor Debug Policy, configure the Syslog Monitor Debug policy, and commit the transaction:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group domaingroup01 UCSC(policy-mgr) /domain-group # scope syslog UCSC(policy-mgr) /domain-group/syslog* # scope monitor UCSC(policy-mgr) /domain-group/syslog/monitor # enable UCSC(policy-mgr) /domain-group/syslog/monitor* # set level 3 UCSC(policy-mgr) /domain-group/syslog/monitor* # commit-buffer UCSC(policy-mgr) /domain-group/syslog/monitor #
Disabling a Syslog Monitor Debug Policy
A syslog monitor debug policy is disabled from a domain group under the Domain Group root. Syslog monitor debug policies under the Domain Group root cannot be disabled.
Command or Action | Purpose | |
---|---|---|
Step 1 | UCSC# connect policy-mgr | Enters policy manager mode. |
Step 2 | UCSC(policy-mgr)# scope domain-group domain-group | Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group. |
Step 3 | UCSC(policy-mgr) /domain-group # scope syslog | Scopes an existing Syslog Debug policy's configuration mode. |
Step 4 | UCSC(policy-mgr) /domain-group/syslog* # scope monitor | Scopes the syslog Monitor Debug policy. |
Step 5 | UCSC(policy-mgr) /domain-group/syslog/monitor* # disable | Disables the syslog monitor. |
Step 6 | UCSC(policy-mgr) /domain-group/syslog/monitor* # commit-buffer | Commits the transaction to the system configuration. |
The following example shows how to scope into the domain group domaingroup01, scope the Syslog Debug Policy, scope the Syslog Monitor Debug policy, disable the policy, and commit the transaction:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group domaingroup01 UCSC(policy-mgr) /domain-group # scope syslog UCSC(policy-mgr) /domain-group/syslog* # scope monitor UCSC(policy-mgr) /domain-group/syslog/monitor* # disable UCSC(policy-mgr) /domain-group/syslog/monitor* # commit-buffer UCSC(policy-mgr) /domain-group/syslog/monitor #
Configuring a Syslog Remote Destination Debug Policy
Before configuring a syslog remote destination debug policy under a domain group, this policy must first be created. Policies under the Domain Groups root that were already created by the system are ready to configure.
Create a Syslog Debug Policy.
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 | UCSC# connect policy-mgr | Enters policy manager mode. |
||
Step 2 | UCSC(policy-mgr)# scope domain-group domain-group | Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group. |
||
Step 3 | UCSC(policy-mgr) /domain-group # scope syslog | Creates or scopes a Syslog Debug policy's configuration mode. |
||
Step 4 | UCSC(policy-mgr) /domain-group/syslog* # create | scope remote-destination | server-1 | server-2 | server-3 | Creates or scopes the Syslog Remote Destination Debug policy to server-1, server-2, or server-3. |
||
Step 5 | UCSC(policy-mgr) /domain-group/syslog/remote-destination* # enable | Enables the syslog remote destination. |
||
Step 6 | UCSC(policy-mgr) /domain-group/syslog/remote-destination* # set facility auth hostname or level | authpriv hostname or level | cron hostname or level | daemon hostname or level | ftp hostname or level | kernel hostname or level | local[0-7] hostname or level | lpr hostname or level | mail hostname or level | news hostname or level | syslog hostname or level | user hostname or level | uucp hostname or level | Sets the syslog remote destination facility to the following hostname or level configuration:
|
||
Step 7 | UCSC(policy-mgr) /domain-group/syslog/remote-destination* # commit-buffer | Commits the transaction to the system configuration. |
The following example shows how to scope into the domain group domaingroup01, scope the Syslog Debug Policy, scope the Syslog Remote Destination Debug policy, configure the Syslog Remote Destination Debug policy, and commit the transaction:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group domaingroup01 UCSC(policy-mgr) /domain-group # scope syslog UCSC(policy-mgr) /domain-group/syslog* # scope remote-destination server-3 UCSC(policy-mgr) /domain-group/syslog/remote-destination* # enable UCSC(policy-mgr) /domain-group/syslog/remote-destination* # set facility auth 4 UCSC(policy-mgr) /domain-group/syslog/remote-destination* # set facility auth authhost02 UCSC(policy-mgr) /domain-group/syslog/remote-destination* # set facility authpriv 3 UCSC(policy-mgr) /domain-group/syslog/remote-destination* # set facility auth authprivhost02 *** Continue configuring all facility settings as required *** UCSC(policy-mgr) /domain-group/syslog/remote-destination* # commit-buffer UCSC(policy-mgr) /domain-group/syslog/remote-destination #
Disabling a Syslog Remote Destination Debug Policy
A syslog remote destination debug policy is disabled in a domain group under the domain group root. Syslog remote destination debug policies under the domain groups root cannot be disabled.
Command or Action | Purpose | |
---|---|---|
Step 1 | UCSC# connect policy-mgr | Enters policy manager mode. |
Step 2 | UCSC(policy-mgr)# scope domain-group domain-group | Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group. |
Step 3 | UCSC(policy-mgr) /domain-group # scope syslog | Scopes an existing Syslog Debug policy's configuration mode. |
Step 4 | UCSC(policy-mgr) /domain-group/syslog* # scope remote-destination | server-1 | server-2 | server-3 | Creates or scopes the Syslog Remote Destination Debug policy to server-1, server-2, or server-3. |
Step 5 | UCSC(policy-mgr) /domain-group/syslog/remote-destination* # disable | Disables the syslog remote destination. |
The following example shows how to scope into the domain group domaingroup01, scope the Syslog Debug Policy, scope the Syslog Remote Destination Debug policy, disable the Syslog Remote Destination Debug policy, and commit the transaction:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group domaingroup01 UCSC(policy-mgr) /domain-group # create syslog UCSC(policy-mgr) /domain-group/syslog* # scope remote-destination server-3 UCSC(policy-mgr) /domain-group/syslog/remote-destination* # disable UCSC(policy-mgr) /domain-group/syslog/remote-destination* # commit-buffer UCSC(policy-mgr) /domain-group/syslog/remote-destination #
Configuring a Syslog Source Debug Policy
Before configuring a syslog source debug policy under a domain group, this policy must first be created. Policies under the Domain Groups root that were already created by the system are ready to configure.
Create a Syslog Debug Policy.
Command or Action | Purpose | |
---|---|---|
Step 1 | UCSC# connect policy-mgr | Enters policy manager mode. |
Step 2 | UCSC(policy-mgr)# scope domain-group domain-group | Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group. |
Step 3 | UCSC(policy-mgr) /domain-group # scope syslog | Creates or scopes a Syslog Debug policy's configuration mode. |
Step 4 | UCSC(policy-mgr) /domain-group/syslog* # create | scope source | Creates or scopes the Syslog Source Debug policy. |
Step 5 | UCSC(policy-mgr) /domain-group/syslog/source* # enable | Enables the syslog source. |
Step 6 | UCSC(policy-mgr) /domain-group/syslog/remote-destination* # commit-buffer | Commits the transaction to the system configuration. |
The following example shows how to scope into the domain group domaingroup01, scope the Syslog Console Debug Policy, scope the Syslog Source Debug policy, configure the Syslog Source Debug policy, and commit the transaction:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group domaingroup01 UCSC(policy-mgr) /domain-group # scope syslog UCSC(policy-mgr) /domain-group/syslog* # scope source UCSC(policy-mgr) /domain-group/syslog/source* # enable UCSC(policy-mgr) /domain-group/syslog/source* # commit-buffer UCSC(policy-mgr) /domain-group/syslog/source #
Disabling a Syslog Source Debug Policy
A syslog source debug policy is deleted from a domain group under the domain group root. Syslog source debug policies under the domain groups root cannot be deleted.
Command or Action | Purpose | |
---|---|---|
Step 1 | UCSC# connect policy-mgr | Enters policy manager mode. |
Step 2 | UCSC(policy-mgr)# scope domain-group domain-group | Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group. |
Step 3 | UCSC(policy-mgr) /domain-group/syslog* # scope source | Scopes the Syslog Source Debug policy. |
Step 4 | UCSC(policy-mgr) /domain-group/syslog/source* # disable | Disables the Syslog Source Debug policy. |
Step 5 | UCSC(policy-mgr) /domain-group/syslog/source* # commit-buffer | Commits the transaction to the system configuration. |
The following example shows how to scope into the domain group domaingroup01, create the Syslog Console Debug Policy, scope the Syslog Source Debug policy, disable it, and commit the transaction:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group domaingroup01 UCSC(policy-mgr) /domain-group # create syslog UCSC(policy-mgr) /domain-group/syslog* # scope source UCSC(policy-mgr) /domain-group/syslog/source* # disable UCSC(policy-mgr) /domain-group/syslog/source* # commit-buffer UCSC(policy-mgr) /domain-group/syslog/source #
Configuring a Syslog LogFile Debug Policy
Before configuring a syslog logfile debug policy under a domain group, this policy must first be created. Policies under the Domain Groups root that were already created by the system are ready to configure.
Create a Syslog Debug Policy.
Command or Action | Purpose | |
---|---|---|
Step 1 | UCSC# connect policy-mgr | Enters policy manager mode. |
Step 2 | UCSC(policy-mgr)# scope domain-group domain-group | Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group. |
Step 3 | UCSC(policy-mgr) /domain-group # scope syslog | Creates or scopes a Syslog Debug policy's configuration mode. |
Step 4 | UCSC(policy-mgr) /domain-group/syslog* # create | scope file | Creates or scopes the Syslog Logfile Debug policy. |
Step 5 | UCSC(policy-mgr) /domain-group/syslog/file* # enable | Enables the syslog logfile. |
Step 6 | UCSC(policy-mgr) /domain-group/syslog/file* # set level 1 | 2 | 3 | 4 | 5 | 6 | 7 | Sets the syslog file to one of the following conditions: Alerts (1), Cisco UCS domains Critical (2), Cisco UCS domains Major Error (3), Cisco UCS domains Minor Warnings (4), Cisco UCS domains Warning (5), Information (6), Debugging (7). |
Step 7 | UCSC(policy-mgr) /domain-group/syslog/file* # set name syslog-file-name | Sets the syslog file name. |
Step 8 | UCSC(policy-mgr) /domain-group/syslog/file* # set size syslog-file-size | Sets the syslog file size (4096-4194304 bytes). |
Step 9 | UCSC(policy-mgr) /domain-group/syslog/file* # commit-buffer | Commits the transaction to the system configuration. |
The following example shows how to scope into the domain group domaingroup01, create the Syslog Debug Policy, scope the Syslog LogFile Debug policy, configure the Syslog Logfile Debug policy, and commit the transaction:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group domaingroup01 UCSC(policy-mgr) /domain-group # create syslog UCSC(policy-mgr) /domain-group/syslog* # create file UCSC(policy-mgr) /domain-group/syslog/file* # enable UCSC(policy-mgr) /domain-group/syslog/file* # set level 4 UCSC(policy-mgr) /domain-group/syslog/file* # set name syslogfilename01 UCSC(policy-mgr) /domain-group/syslog/file* # set size 4194304 UCSC(policy-mgr) /domain-group/syslog/file* # commit-buffer UCSC(policy-mgr) /domain-group/syslog/file #
Disabling a Syslog LogFile Debug Policy
A syslog logfile debug policy is disabled from a domain group under the domain group root. Syslog logfile debug policies under the domain groups root cannot be disabled.
Command or Action | Purpose | |
---|---|---|
Step 1 | UCSC# connect policy-mgr | Enters policy manager mode. |
Step 2 | UCSC(policy-mgr)# scope domain-group domain-group | Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group. |
Step 3 | UCSC(policy-mgr) /domain-group # scope syslog | Creates or scopes a Syslog Debug policy's configuration mode. |
Step 4 | UCSC(policy-mgr) /domain-group/syslog* # scope file | Scopes the Syslog Logfile Debug policy. |
Step 5 | UCSC(policy-mgr) /domain-group/syslog/file* # disable | Disables or enables the syslog logfile. |
Step 6 | UCSC(policy-mgr) /domain-group/syslog/file* # commit-buffer | Commits the transaction to the system configuration. |
The following example shows how to scope into the domain group domaingroup01, scope the Syslog Debug Policy, scope the Syslog LogFile Debug policy, disable the policy, and commit the transaction:
UCSC # connect policy-mgr UCSC(policy-mgr)# scope domain-group domaingroup01 UCSC(policy-mgr) /domain-group # scope syslog UCSC(policy-mgr) /domain-group/syslog* # scope file UCSC(policy-mgr) /domain-group/syslog/file* # disable UCSC(policy-mgr) /domain-group/syslog/file* # commit-buffer UCSC(policy-mgr) /domain-group/syslog/file #