EasyManuals Logo

Cisco NCS 6000 Series User Manual

Cisco NCS 6000 Series
498 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #466 background imageLoading...
Page #466 background image
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 XR EXEC
mode:
edit
route-policy
name
emacs
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
keystrokes. When you quit the editor, the buffer is committed. If there are no parse errors, the configuration
is committed:
RP/0/RP0/CPU0:router# edit route-policy policy_A
----------------------------------------
== MicroEMACS 3.8b () == rpl_edit.139281 ==
if destination in (2001::/8) then
drop
endif
end-policy
!
== MicroEMACS 3.8b () == rpl_edit.139281 ==
Parsing.
83 bytes parsed in 1 sec (82)bytes/sec
Committing.
1 items committed in 1 sec (0)items/sec
Updating.
Updated Commit database in 1 sec
If there are parse errors, you are asked whether editing should continue:
RP/0/RP0/CPU0:router#edit route-policy policy_B
== MicroEMACS 3.8b () == rpl_edit.141738
route-policy policy_B
set metric-type type_1
if destination in (2001::/8) then
drop
endif
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
444
Implementing Routing Policy
Editing Routing Policy Configuration Elements Using the Emacs Editor

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco NCS 6000 Series and is the answer not in the manual?

Cisco NCS 6000 Series Specifications

General IconGeneral
BrandCisco
ModelNCS 6000 Series
CategoryNetwork Router
LanguageEnglish

Related product manuals