H3C S6550X-HI Series Command Reference Manual page 2081

Table of Contents

Advertisement

regular-expression
Usage guidelines
BGP routing updates contain an AS_PATH attribute field that identifies the ASs through which the
routes have passed. An AS path regular expression, for example, ^200.
AS_PATH attribute that starts with AS 200 and ends with AS 100. For more information about
regular expressions, see Layer 3—IP Routing Configuration Guide.
Examples
# Configure AS path list 1 to permit routes whose AS_PATH attribute starts with 10.
<Sysname> system-view
[Sysname] ip as-path 1 permit ^10
Related commands
apply as-path
display ip as-path
if-match as-path
ip community-list
Use
ip community-list
Use
undo ip community-list
Syntax
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 ] *
undo 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 ] *
ip community-list { adv-comm-list-num | advanced adv-comm-list-name }
{ deny | permit } regular-expression
undo ip community-list { adv-comm-list-num | advanced adv-comm-list-name }
[ deny | permit ] [ regular-expression ]
Default
No community lists exist.
Views
System view
Predefined user roles
network-admin
Parameters
basic-comm-list-num
basic basic-comm-list-name
of 1 to 63 characters that cannot contain only numbers.
advanced adv-comm-list-name
case-sensitive string of 1 to 63 characters that cannot contain only numbers.
adv-comm-list-num
: Specifies an AS path regular expression, a string of 1 to 256 characters.
to configure a community list.
to remove a community list.
: Specifies a basic community list number in the range of 1 to 99.
: Specifies a basic community list name, a case-sensitive string
: Specifies an advanced community list name, a
: Specifies an advanced community list number in the range of 100 to 199.
29
100$, matches the
*

Advertisement

Table of Contents
loading

Table of Contents