Ip As-Path; Ip Community-List - HP FlexNetwork 3600 v2 Series Command Reference Manual

Hide thumbs Also See for FlexNetwork 3600 v2 Series:
Table of Contents

Advertisement

[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match tag 8

ip as-path

Syntax
ip as-path as-path-number { deny | permit } regular-expression
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 AS 200 and ends with AS 100. For the
meanings of special characters used in regular expressions, see Fundamentals Configuration
Guide.
Description
Use ip as-path to create an AS path list.
Use undo ip as-path to remove an AS path list.
No AS path list is created by default.
Examples
# Create AS path list 1, permitting 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 | basic comm-list-name } { deny | permit }
[ community-number-list ] [ internet | no-advertise | no-export | no-export-subconfed ] *
undo ip community-list { basic-comm-list-num | basic comm-list-name } [ deny | permit ]
[ community-number-list ] [ internet | no-advertise | no-export | no-export-subconfed ] *
ip community-list { adv-comm-list-num | advanced comm-list-name } { deny | permit }
regular-expression
undo ip community-list { adv-comm-list-num | advanced comm-list-name } [ deny | permit ]
[ regular-expression ]
View
System view
425

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents