H3C S6550X-HI Series Command Reference Manual page 2057

Table of Contents

Advertisement

Examples
# Configure node 10 in permit mode for routing policy policy1 to set the cost type for routes that
have a tag of 8 to OSPF Type-1 external route.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10] if-match tag 8
[Sysname-route-policy-policy1-10] apply cost-type type-1
apply dscp
Use
apply dscp
Use
undo apply dscp
Syntax
apply dscp dscp-value
undo apply dscp
Default
No DSCP value is set for BGP routes.
Views
Routing policy node view
Predefined user roles
network-admin
Parameters
dscp-value
Examples
# Configure node 10 in permit mode for routing policy policy1 to set the DSCP value to 7 for BGP
routes whose extended community attribute matches extended community list 100.
<Sysname> system-view
[Sysname] ip extcommunity-list 100 permit rt 100:100
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10] if-match extcommunity 100
[Sysname-route-policy-policy1-10] apply dscp 7
apply extcommunity
Use
apply extcommunity
Use
undo apply extcommunity
routes.
Syntax
apply
extcommunity
route-target }&<1-32> } [ additive ]
undo
apply
route-target }&<1-32> ]
to set a DSCP value for BGP routes.
to restore the default.
: Specifies a DSCP value for BGP routes, in the range of 0 to 63.
to set the extended community attribute for BGP routes.
{
extcommunity
to remove the specified extended community attribute for BGP
bandwidth
link-bandwidth-value
[ bandwidth link-bandwidth-value
5
|
{
rt
| { rt

Advertisement

Table of Contents
loading

Table of Contents