Use the commands in this section to create and manage command profiles.
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Create the profile:
hostname (config) # cmc profile <profileName>(Optional) Add a comment about the profile:
hostname (config) # cmc profile <profileName> comment "<comment>"where
commentmust be enclosed in double quotation marks.Verify your change:
hostname (config) # show cmc profilesSave your changes:
hostname (config) # write memory
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Rename the profile:
hostname (config) # cmc profile <profileName> rename <newProfileName>Verify your change:
hostname (config) # show cmc profiles <newProfileName>Save your change:
hostname (config) # write memory
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Remove the comment:
hostname (config) # no cmc profile <profileName> commentVerify your change:
hostname (config) # show cmc profiles <profileName>Save your change:
hostname (config) # write memory
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Delete the profile:
hostname (config) # no cmc profile <profileName>Verify that the profile was deleted:
hostname (config) # show cmc profilesSave your change:
hostname (config) # write memory
Example
This example creates an "acctmgt" profile with a comment and deletes the "PswdPolicy" profile.
hostname (config) # cmc profile acctmgt hostname (config) # cmc profile acctmgt comment "Adds operator user account." hostname (config) # no cmc profile PswdPolicy hostname (config) # show cmc profiles Profile acctmgt Comment: Adds operator user account. Commands: No commands. ...