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 #478 background imageLoading...
Page #478 background image
SUMMARY STEPS
1. edit { route-policy | prefix-set | as-path-set | community-set | extcommunity-set { rt | soo } |
policy-global | rd-set } name [ nano | emacs | vim | inline { add | prepend | remove }
set-element ]
2. show rpl route-policy [ name [ detail ] | states | brief ]
3. show rpl prefix-set [ name | states | brief ]
DETAILED STEPS
PurposeCommand or Action
Identifies the route policy, prefix set, AS path set,
community set, or extended community set name to be
modified.
edit { route-policy | prefix-set | as-path-set |
community-set | extcommunity-set { rt | soo } |
policy-global | rd-set } name [ nano | emacs | vim |
inline { add | prepend | remove } set-element ]
Step 1
• A copy of the route policy, prefix set, AS path set,
community set, or extended community set is copied
to a temporary file and the editor is launched.
Example:
RP/0/RP0/CPU0:router# edit route-policy sample1
• After editing with Nano, save the editor buffer and
exit the editor by using the Ctrl-X keystroke.
• After editing with Emacs, 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.
• After editing with Vim, to write to a current file and
exit, use the :wq or :x or ZZ keystrokes. To quit and
confirm, use the :q keystrokes. To quit and discard
changes, use the :q! keystrokes.
(Optional) Displays the configuration of a specific named
route policy.
show rpl route-policy [ name [ detail ] | states | brief
]
Step 2
Example:
• Use the detail keyword to display all policies and
sets that a policy uses.
RP/0/RP0/CPU0:router# show rpl route-policy sample2
• Use the states keyword to display all unused, inactive,
and active states.
• Use the brief keyword to list the names of all
extended community sets without their configurations.
(Optional) Displays the contents of a named prefix set.
show rpl prefix-set [ name | states | brief ]
Step 3
Example:
• To display the contents of a named AS path set,
community set, or extended community set, replace
RP/0/RP0/CPU0:router# show rpl prefix-set
prefixset1
the prefix-set keyword with as-path-set ,
community-set , or extcommunity-set , respectively.
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
456
Implementing Routing Policy
Modifying a Routing Policy Using a Text 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