367
•
If you configure the
apply community
clause for multiple nodes that are combined by the
continue
clause, the
apply comm-list delete
clause configured on the current node cannot delete the
COMMUNITY attributes of preceding nodes.
To define a
continue
clause:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a routing policy and
enter routing policy view.
route-policy
route-policy-name
{
deny
|
permit
}
node
node-number
Not created by default.
3.
Specify the next routing policy
node to be matched.
continue
[
node-number
]
Optional.
Not configured by default.
The node number specified must
be larger than the current node
number.
Displaying and maintaining the routing policy
Task Command
Remarks
Display BGP AS path list
information.
display ip as-path
[
as-path-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any
view
Display BGP community list
information.
display ip community-list
[
basic-community-list-number
|
adv-community-list-number
|
comm-list-name
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any
view
Display BGP extended community
list information.
display ip extcommunity-list
[
ext-comm-list-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any
view
Display IPv4 prefix list statistics.
display ip ip-prefix
[
ip-prefix-name
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any
view
Display IPv6 prefix list statistics.
display ip ipv6-prefix
[
ipv6-prefix-name
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any
view
Display routing policy information.
display route-policy
[
route-policy-name
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any
view
Clear IPv4 prefix list statistics.
reset ip ip-prefix
[
ip-prefix-name
]
Available in user
view
Clear IPv6 prefix list statistics.
reset ip ipv6-prefix
[
ipv6-prefix-name
]
Available in user
view