To configure an SSD rule, use ssd rule in SSD Configuration mode. A device grants read permission of sensitive data to users based on the SSD rules. A user that
is granted Both or Plaintext read permission is also granted permission to enter SSD Configuration mode.
To delete user-defined rules and restore default rules, use no ssd rule.
Syntax
[encrypted] SSD rule {all | level-15 | default-user | user user-name}
{secure | insecure | secure-xml-snmp | insecure-xml-snmp}
permission {encrypted-only | plaintext-only | both | exclude}
default-read {encrypted | plaintext | exclude}
no ssd rule [ {all | level-15 | default-user | user user-name}
{secure | insecure | secure-xml-snmp | insecure-xml-snmp}]
Command Mode
SSD Configuration mode.
Default Rules
The device has the following factory default rules:
Table 1. Default SSD Rules
Rule Key
|
Rule Action
|
User
|
Channel
|
Read Permission
|
Default Read Mode
|
level-15
|
secure-xml-snmp
|
Plaintext Only
|
Plaintext
|
level-15
|
secure
|
Both
|
Encrypted
|
level-15
|
insecure
|
Both
|
Encrypted
|
all
|
insecure-xml-snmp
|
Exclude
|
Exclude
|
all
|
secure
|
Encrypted Only
|
Encrypted
|
all
|
insecure
|
Encrypted Only
|
Encrypted
|
User Guidelines
Use no ssd rule to delete a user-defined rule or to restore the default of a modified default rule.
Use no ssd rule (without parameters) to remove all SSD rules and restore the default SSD rules. A confirmation message will be displayed
asking permission to do this. To delete specific rules (applicable for the user defined), provide parameters specifying the
user and security of the channel.
encrypted SSD rule is used to copy an SSD rule from one device to another in a secure manner.
You can modify but cannot delete the default SSD rules. The following is the order in which SSD rules are applied:
-
The SSD rules for specified users.
-
The SSD rule for the default-user (cisco).
-
The SSD rules for level-15 users.
-
The remaining SSD rules for all.
The user can enter the commands in any order.The ordering is done implicitly by the device.
Examples
Example 1 - The following example modifies a rule.
switchxxxxxx(config-ssd)# ssd rule level-15 secure permission encrypted-only default-read encrypted
Example 2 - The following example adds a rule.
switchxxxxxx(config-ssd)# ssd rule user james secure permission both default-read encrypted
Example 3 - The following example adds a rule as encrypted format.
switchxxxxxx(config-ssd)# encrypted ssd rule iurwe874jho32iu9ufjo32i83232fdefsd
Example 4 - The following example deletes a default rule.
switchxxxxxx(config-ssd)# no ssd rule all secure
Example 5 - The following example deletes a user-defined rule.
switchxxxxxx(config-ssd)# no ssd rule user james secure
Example 6 - The following example deletes all rules.
switchxxxxxx(config-ssd)# no ssd rule
This operation will delete all user-defined rules and retrieve the default rules instead.
Are you sure (Y/N): N