Operation Manual – IPv6 Routing
H3C S3610&S5510 Series Ethernet Switches
Chapter 6 Routing Policy Configuration
6-8
6.3.4 Defining apply Clauses for the Routing Policy
Follow these steps to define apply clauses for a route-policy:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Create a routing policy
and enter its view
route-policy
route-policy-name
{
permit
|
deny
}
node
node-number
Required
Not created by default
Set AS_Path attribute for
IPv6 BGP routes
apply as-path
as-number
&<1-10>
[
replace
]
Optional
Not set by default
Specify a community list
according to which to
delete community
attributes of IPv6 BGP
routing information
apply comm-list
comm-list-number
delete
Optional
Not configured by default
Set community attribute
for IPv6 BGP routes
apply community
{
none
|
additive
|
{
community-number
&<1-
16> |
aa:nn
&<1-16>
|
internet
|
no-export-subconfed
|
no-export |
no-advertise
}
*
[
additive
] }
Optional
Not set by default
Set a cost for routes
apply cost
[
+
|
-
]
value
Optional
Not set by default
Set a cost type for routes
apply cost-type
{
external
|
internal
|
type-1
|
type
-
2
}
Optional
Not set by default
Set the extended
community attribute for
IPv6 BGP routes
apply extcommunity
{
rt
{
as-number:nn
|
ip-address:nn
} }&<1-16>
[
additive
]
Optional
Not set by default
Set a next hop for IPv6
routes
apply ipv6 next-hop
ipv6-address
Optional
Not set by default
Redistribute routes to a
specified ISIS level
apply isis
{
level-1
|
level-1-2
|
level-2
}
Optional
Not configured by default
Set a local preference for
IPv6 BGP routes
apply local-preference
preference
Optional
Not set by default
Set an origin attribute for
IPv6 BGP routes
apply origin
{
igp
|
egp
as-number
|
incomplete
}
Optional
Not set by default