Ip Community-List - HP 6125XLG Command Reference Manual

Blade switch layer 3 - ip routing
Table of Contents

Advertisement

Parameters
as-path-number: Specifies a number for the AS path list, 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: Specifies an AS path regular expression, a string of 1 to 63 characters.
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. *100$, matches the AS_PATH
attribute that starts with AS 200 and ends with AS 100. For the meanings of special characters used in
regular expressions, see Fundamentals Configuration Guide.
Examples
# Create 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 ip as-path

ip community-list

Use ip community-list to configure a community list entry.
Use undo ip community-list to remove a community list or entry.
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 list is configured.
Views
System view
Predefined user roles
network-admin
434

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents