H3C LS-3100-52P-OVS-H3 Operation Manual - page 810
1-8
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter route policy node view
route-policy route-policy-name
{ permit | deny } node
node-number
Required
Not created by default.
Set the AS-PATH attribute for
BGP routing information
apply as-path
as-number&<1-10>[ replace ]
Optional
Not set by default.
Delete the community attribute
of BGP routing information using
the community list
apply comm-list
comm-list-number delete
Optional
Not configured by default.
Set the community attribute for
BGP routing information
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 routing information apply cost [ + | - ] value
Optional
Not set by default.
Set a cost type for routing
information
apply cost-type [ external |
internal | type-1 | type-2 ]
Optional
Not set by default.
Set the extended community
attribute for BGP routing
apply extcommunity { rt
{ as-number:nn |
ip-address:nn } }&<1-16>
[ additive ]
Optional
Not set by default.
for IPv4 routes
apply ip-address next-hop
ip-address
Optional
Not set by default.
The setting does not apply to
redistributed routing
information.
Set the next
hop
for IPv6 routes
apply ipv6 next-hop
ipv6-address
Optional
Not set by default.
The setting does not apply to
redistributed routing
information.
Inject routing information to a
specified ISIS level
apply isis { level-1 | level-1-2 |
level-2 }
Optional
Not configured by default.
Set the local preference for BGP
routing information
apply local-preference
preference
Optional
Not set by default.
Set the origin attribute for BGP
routing information
apply origin { igp | egp
as-number | incomplete }
Optional
Not set by default.
Set the preference for the
routing protocol
apply preference preference
Optional
Not set by default.