EasyManuals Logo

HP 6125G User Manual

HP 6125G
410 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 #345 background imageLoading...
Page #345 background image
334
Routing policy configuration commands
The common routing policy configuration commands are applicable to both IPv4 and IPv6.
Common routing policy configuration commands
apply as-path
Syntax
apply as-path as-number&<1-10> [ replace ]
undo apply as-path
View
Routing policy view
Default level
2: System level
Parameters
as-number&<1-10>: AS number, in the range of 1 to 4294967295. &<1-10>: Indicates you can enter up
to 10 AS numbers.
replace: Replaces the original AS numbers.
Description
Use apply as-path to apply the specified AS numbers to BGP routes.
Use undo apply as-path to remove the clause configuration.
No AS_PATH attribute is set by default.
With the replace keyword included, the apply as-path command replaces the original AS_PATH attribute
with the specified AS numbers. Without the replace keyword, this command adds the specified AS
numbers before the original AS_PATH attribute.
Examples
# Configure node 10 in permit mode of routing policy policy1: add AS number 200 before the original
AS_PATH attribute of BGP routing information matching AS path list 1.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply as-path 200
apply comm-list delete
Syntax
apply comm-list { comm-list-number | comm-list-name } delete
undo apply comm-list

Table of Contents

Other manuals for HP 6125G

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 6125G and is the answer not in the manual?

HP 6125G Specifications

General IconGeneral
BrandHP
Model6125G
CategorySwitch
LanguageEnglish

Related product manuals