H3C S7500E Series Command Manual page 496

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Chapter 6 Routing Policy Configuration
Note:
The term "router" in this document refers to a generic router or a Layer 3 switch
running routing protocols.
Routing policy common configuration commands are applicable to both IPv4 and
IPv6.
6.1 Routing Policy Common Configuration Commands
6.1.1 apply as-path
Syntax
apply as-path as-number&<1-10> [ replace ]
undo apply as-path
View
Routing policy view
Parameters
as-number: Autonomous system number, in the range of 1 to 65535.
&<1-10>: Indicates you can enter as-number up to 10 times.
replace: Replaces the original AS number.
Description
Use the apply as-path command to apply the specified AS numbers to BGP routes.
Use the undo apply as-path command to remove the clause configuration.
No AS_PATH attribute is set by default.
With the replace keyword, using the apply as-path command replaces the original
AS_PATH attribute with specified AS numbers. Without the replace keyword, using this
command adds the specified AS numbers before the original AS_PATH attribute.
Chapter 6 Routing Policy Configuration Commands
Commands
6-1

Advertisement

Table of Contents
loading

Table of Contents