Editing Routing Policy Configuration Elements; Editing Routing Policy Configuration Elements Using The Nano Editor; Editing Routing Policy Configuration Elements Using The Emacs Editor - Cisco ASR 9000 Series Routing Configuration Manual

Aggregation services router
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

Nonattached Policy Modification

Editing Routing Policy Configuration Elements

RPL is based on statements rather than on lines. That is, within the begin-end pair that brackets policy statements
from the CLI, a new line is merely a separator, the same as a space character.
The CLI provides the means to enter and delete route policy statements. RPL provides a means to edit the
contents of the policy between the begin-end brackets, using a text editor. The following text editors are
available on Cisco IOS XR software for editing RPL policies:
• Nano (default)
• Emacs
• Vim

Editing Routing Policy Configuration Elements Using the Nano Editor

To edit the contents of a routing policy using the Nano editor, use the following CLI command in EXEC
mode:
A copy of the route policy is copied to a temporary file and the editor is launched. After editing, enter Ctrl-X
to save the file and exit the editor. The available editor commands are displayed on screen.
Detailed information on using the Nano editor is available at this URL: http://www.nano-editor.org/.
Not all Nano editor features are supported on Cisco IOS XR software.

Editing Routing Policy Configuration Elements Using the Emacs Editor

To edit the contents of a routing policy using the Emacs editor, use the following CLI command in EXEC
mode:
A copy of the route policy is copied to a temporary file and the editor is launched. After editing, save the
editor buffer by using the Ctrl-X and Ctrl-S keystrokes. To save and exit the editor, use the Ctrl-X and Ctrl-C
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x
608
edit route-policy
name
nano
edit
route-policy
name
emacs
Implementing Routing Policy

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents