365
Step Command
Remarks
5.
Match BGP routing information whose
AS_PATH attribute is specified in the AS
path lists.
if-match as-path
AS-PATH-number
&<1-16>
Optional.
Not configured by
default.
6.
Match BGP routing information whose
COMMUNITY attribute is specified in the
community lists.
if-match community
{
{
basic-community-list-number
|
comm-list-name
} [
whole-match
] |
adv-community-list-number
}&<1-16>
Optional.
Not configured by
default.
7.
Match routes having the specified cost.
if-match cost
value
Optional.
Not configured by
default.
8.
Match BGP routing information whose
extended community attribute is specified
in the extended community lists.
if-match extcommunity
ext-comm-list-number
&<1-16>
Optional.
Not configured by
default.
9.
Match routing information having
specified outbound interfaces.
if-match interface
{
interface-type
interface-number
}&<1-16>
Optional.
Not configured by
default.
10.
Match routing information having the
specified route type.
if-match route-type
{
external
-
type1
|
external-type1or2
|
external-type2
|
internal
|
is-is-level-1
|
is-is-level-2
|
nssa-external-type1
|
nssa-external-type1or2
|
nssa-external-type2
} *
Optional.
Not configured by
default.
11.
Match RIP, OSPF, and IS-IS routing
information having the specified tag
value.
if-match tag
value
Optional.
Not configured by
default.
Defining apply clauses
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter routing policy view.
route-policy
route-policy-name
{
deny
|
permit
}
node
node-number
Not created by default.
3.
Set the AS_PATH attribute for
BGP routing information.
apply as-path
as-number
&<1-10>
[
replace
]
Optional.
Not set by default.
4.
Delete the COMMUNITY
attribute of BGP routing
information using the
community list.
apply comm-list
{
comm-list-number
|
comm-list-name
}
delete
Optional.
Not configured by default.
5.
Set the COMMUNITY attribute
for BGP routing information.
apply community
{
none
|
additive
| {
community-number
&<1-16> |
aa:nn
&<1-16>
|
internet
|
no-advertise
|
no-export |
no-export-subconfed
}
*
[
additive
] }
Optional.
Not set by default.