12-17
undo ip as-path
as-path-number
View
System view
Default Level
2: System level
Parameters
as-path-number
: AS-PATH list number, in the range of 1 to 256.
deny
: Specifies the match mode for the AS-PATH list as deny.
permit
: Specifies the match mode for the AS-PATH list as permit.
regular-expression
: AS-PATH regular expression, a string of 1 to 50 characters.
BGP routing updates contain the AS path attribute field that identifies the autonomous systems
through which the routing information has passed. An AS-PATH regular expression, for example,
^200. *100$, matches the AS path attribute that starts with AS200 and ends with AS100. For the
meanings of special characters used in regular expressions, see
CLI Configuration
in the
Basic
Configuration Guide
.
Description
Use the
ip as-path
command to create an AS-PATH list.
Use the
undo ip as-path
command to remove an AS-PATH list.
No AS-PATH list is created by default.
Examples
# Configure AS-PATH list 1 to permit routing information whose AS_PATH attribute starts with
10.
<Sysname> system-view
[Sysname] ip as-path 1 permit ^10
ip community-list
Syntax
ip community-list
basic-comm-list-num
{
deny
|
permit
} [
community-number-list
] [
internet
|
no-advertise
|
no-export
|
no-export-subconfed
] *
undo ip community-list basic-comm-list-num
[
deny
|
permit
] [
community-number-list
]
[
internet
|
no-advertise
|
no-export
|
no-export-subconfed
] *
ip community-list
adv-comm-list-num
{
deny
|
permit
}
regular-expression
undo ip community-list adv-comm-list-num
[
deny
|
permit
] [
regular-expression
]
View
System view
Default Level
2: System level
Parameters
basic-comm-list-num
: Basic community list number, in the range 1 to 99.