Cisco ASR 14000 Series Management Command Reference page 105

Router system
Hide thumbs Also See for ASR 14000 Series:
Table of Contents

Advertisement

Configuration Management Commands on Cisco IOS XR Software
clear comment
To discard a comment associated with a configuration, use the clear comment command in any
configuration mode.
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
Any configuration mode
Command History
Release
Release 3.7.1
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
The clear comment command clears any comments that were added for a specific configuration in the
configuration file. After you enter the clear comment command, enter the configuration for which you
want to delete the comment, on a separate line.
To enter configuration comments, enter ! followed by the comment. The comment you enter is associated
with the next configuration entered. For example:
RP/0/RP0/CPU0:router#!router1 is located in xxx
RP/0/RP0/CPU0:router# hostname router1
RP/0/RP0/CPU0:router# commit
The comment is displayed in the output for the show running-config command:
RP/0/RP0/CPU0:router# show running-config
...
!router1 is located in xxx
hostname router1
...
Task ID
This command requires the task ID for the feature or configuration submode impacted by the command.
Examples
The following example shows how to discard the comment associated with the configuration ipv4
address 1.1.1.1 255.0.0.0.
RP/0/RP0/CPU0:router(config-if)# clear comment
RP/0/RP0/CPU0:router(config-if)# ipv4 address 1.1.1.1 255.0.0.0
OL-17231-01
clear comment
Modification
This command was introduced on the Cisco ASR 14000 Series Router.
Cisco ASR 14000 Series Router System Management Command Reference
clear comment
SMR-103

Advertisement

Table of Contents
loading

Table of Contents