Cisco Systems A9KMOD80TR Command, commit comment line, Optional Assigns a comment to a commit

Models: A9KMOD80TR A9K24X10GETR ASR 9000

1 142
Download 142 pages 58.88 Kb
Page 65
Image 65
Command

Chapter 3 Configuring General Router Features

Managing Configuration Sessions

F I N A L D R A F T — C i s c o C o n f i d e n t i a l

Table 3-5

Commit Command Options (continued)

 

 

 

 

 

Command

 

Description

 

 

 

 

commit comment line

(Optional) Assigns a comment to a commit.

 

 

 

 

This text comment appears in the commit entry displayed with the

 

 

 

 

show configuration commit list [detail] command.

 

 

 

 

The line argument is the text for the optional comment or label.

 

 

 

 

The comment option must appear at the end of the command line. If

 

 

 

 

multiple options are entered, all text after the comment option is

 

 

 

 

treated as a comment.

 

 

 

 

commit confirmed

(Optional) Commits the configuration in global configuration mode on a

 

seconds

 

trial basis for a minimum of 30 seconds and a maximum of 300 seconds

 

 

 

(5 minutes).

 

 

 

 

During the trial configuration, enter commit to confirm the

 

 

 

 

configuration. If you do not type the commit command, the router

 

 

 

 

reverts to the previous configuration when the trial time period

 

 

 

 

expires.

 

 

 

 

The confirmed option is not available in administration

 

 

 

 

configuration mode.

 

 

 

 

commit label line

(Optional) Assigns a meaningful label. This label appears in the output

 

 

 

for the show configuration commit list [detail] command instead of the

 

 

 

numeric label.

 

 

 

 

The line argument is the text for the optional comment or label.

 

 

 

 

 

commit force

 

(Optional) Merges the target configuration with the running

 

 

 

configuration and allows a configuration commit in low-memory

 

 

 

conditions.

 

 

 

A low-memory warning occurs when a user attempts to commit a target

 

 

 

configuration that exceeds the default capacity of the router.

 

 

 

The recommended resolution to such a warning is to remove

 

 

 

configurations using the no commands.

 

 

 

 

 

 

 

 

 

 

Caution The force option can cause the router to experience severe

 

 

 

 

 

 

problems if low-memory conditions occur. The force option

 

 

 

 

 

 

should be used only to remove configurations.

 

 

 

 

 

 

 

 

commit replace

(Optional) Replaces the contents of the running configuration with the

 

 

 

target configuration.

 

 

 

 

 

 

 

 

Examples

The following examples illustrate how to commit a configuration:

Committing a Configuration from Global Configuration Mode: Example, page 3-30

Committing a Configuration from Administration Configuration Mode: Example, page 3-30

 

 

Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide

 

 

 

 

 

 

OL-17502-01

 

 

3-29

 

 

 

 

 

Page 65
Image 65
Cisco Systems A9KMOD80TR Command, commit comment line, Optional Assigns a comment to a commit, treated as a comment, 3-29