H3C S6550X-HI Series Command Reference Manual page 2074

Table of Contents

Advertisement

Views
Routing policy node view
Predefined user roles
network-admin
Parameters
cost-value
Examples
# Configure node 10 in permit mode for routing policy policy1 to permit routes with a cost of 8.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10] if-match cost 8
if-match extcommunity
Use
if-match extcommunity
matches a specified extended community list.
Use
undo if-match extcommunity
criterion.
Syntax
if-match
ext-comm-list-name }&<1-32>
undo
ext-comm-list-name ]&<1-32>
Default
No extended community list match criterion is configured.
Views
Routing policy node view
Predefined user roles
network-admin
Parameters
ext-comm-list-number&<1-32>
range of 1 to 65535.
lists.
ext-comm-list-name
of 1 to 63 characters. The name cannot contain only digits.
a maximum of 32 extended community lists.
Examples
# Configure node 10 in permit mode for routing policy policy1 to match BGP routes whose extended
community attribute matches extended community lists 100 and 150.
<Sysname> system-view
[Sysname] ip extcommunity-list 100 permit rt 100:100
[Sysname] ip extcommunity-list 150 permit rt 150:150
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10] if-match extcommunity 100 150
: Specifies a cost in the range of 0 to 4294967295.
extcommunity
if-match
extcommunity
indicates that you can specify a maximum of 32 extended community
&<1-32>
: Specifies an extended community list by its name, a case-sensitive string
to match BGP routes whose extended community attribute
to remove the specified extended community list match
{
[
: Specifies an extended community list by its number in the
22
ext-comm-list-number
ext-comm-list-number
indicates that you can specify
&<1-32>
|
|

Advertisement

Table of Contents
loading

Table of Contents