437
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure a community
list.
•
Configure a basic community list:
ip community-list
{
basic-comm-list-num
|
basic
basic-comm-list-name
} {
deny
|
permit
}
[
community-number
&<1-32> |
aa:nn
&<1-32>
]
[
internet
|
no-advertise
|
no-export
|
no-export-subconfed
] *
•
Configure an advanced community list:
ip community-list
{
adv-comm-list-num
|
advanced
adv-comm-list-name
} {
deny
|
permit
}
regular-expression
Use either method.
By default, no
community list is
configured.
Configuring an extended community list
You can configure multiple items for an extended community list that is identified by a number. The
relationship between the items is logical OR. A route that matches one item matches the extended
community list.
To configure an extended community list:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure an extended
community list.
ip extcommunity-list
ext-comm-list-number
{
deny
|
permit
} {
rt
route-target
|
soo
site-of-origin
}&<1-32>
By default, no extended
community list is
configured.
Configuring a MAC list
If all the items are set to
deny
mode, no MAC address entries can pass the MAC list. To permit unmatched
MAC address entries, you must configure the
permit
0-0-0 0 item following multiple
deny
items.
To configure a MAC list:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure a MAC
list.
mac-list
mac-list-name
[
index
index-number
] {
deny
|
permit
}
mac-address
[
mask-length
]
By default, no MAC list is
configured.
Configuring a routing policy
Configuration prerequisites
Configure filters and routing protocols, and determine the routing policy name, node numbers, match
criteria, and the attributes to be modified.