Switch 7700 Command reference Guide, v2.0

Table Of Contents
210 CHAPTER 5: USING ROUTING PROTOCOL COMMANDS
By default, BGP does not import routes of other protocols.
Example
Import routes of RIP.
[SW7700-bgp]import-route rip
ip as-path acl Syntax
ip as-path acl acl_number { permit | deny } as_regular_expression
undo ip as-path acl acl_number
View
System view
Parameter
acl_number: Number of AS path list ranging from 1 to 199.
as_regular_expression: AS regular expression.
Description
Use the ip as-path acl command to configure an AS path regular express.
Use the undo ip as-path acl command to disable the defined regular
expression.
The configured AS path list can be used in BGP policy.
Related commands: peer as-path-acl, display bgp routing-table
as-path-acl
.
Example
Configure an AS path list.
[SW7700]ip as-path acl 10 permit 200,300
ip community-list Syntax
ip community-list stand_comm_list_number { permit | deny } { aa:nn |
internet | no-export-subconfed | no-advertise | no-export }
ip community-list ext_comm_list_number { permit | deny }
as_regular_expression
undo ip community-list { stand_comm_list_number |
ext_comm_list_number }
View
System view
Parameter
stand_comm_list_number: Number of the standard community list ranging from
1 to 99.