Cisco ASR 9000 Series Configuration Manual page 572

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

Advertisement

Modifying a Routing Policy Using a Text Editor
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
Command or Action
Step 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 ]
Example:
RP/0/RSP0/CPU0:router# edit
route-policy sample1
Step 2
show rpl route-policy [ name [ detail ] |
states | brief ]
Example:
RP/0/RSP0/CPU0:router# show rpl
route-policy sample2
Step 3
show rpl prefix-set [ name | states | brief
]
Example:
RP/0/RSP0/CPU0:router# show rpl
prefix-set prefixset1
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
544
Purpose
Identifies the route policy, prefix set, AS path set, community set, or extended
community set name to be modified.
• 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.
• 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.
• Use the detail keyword to display all policies and sets that a policy
uses.
• 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.
• To display the contents of a named AS path set, community set, or
extended community set, replace the prefix-set keyword with
as-path-set , community-set , or extcommunity-set , respectively.
Implementing Routing Policy
OL-30423-03

Advertisement

Table of Contents
loading

Table of Contents