3com 8807 Reference Guide

Page of 1099
562
C
HAPTER
 28: IP R
OUTING
 P
OLICY
 C
ONFIGURATION
 C
OMMANDS
no-export: Does not advertise routes beyond the AS or the confederation, but 
can advertise routes to other sub-ASs within the confederation.
comm-regular-expression: Community attribute in regular expression format.
Description
Use the ip community-list command to configure a BGP community list.
Use the undo ip community-list command to cancel the configured BGP 
community list.
The configured community list can be used in BGP policy.
Related command: apply communitydisplay bgp routing-table 
community-list
.
Example
# Define a community attribute list, not allowing to advertise routes with the 
community attribute beyond the local AS.
[SW8800] ip community-list 6 permit no-export-subconfed 
ip ip-prefix
Syntax
ip ip-prefix ip-prefix-name [ index index-number ] { permit | deny } network len 
greater-equal greater-equal | less-equal less-equal ]
undo ip ip-prefix ip-prefix-name [ index index-number | permit | deny ]
View
System view
Parameter
ip-prefix-name: The specified address prefix list name. It identifies one address 
prefix list uniquely.
index-number: Identifies an item in the prefix address list. The item with a smaller 
index-number will be tested first.
permit: Specifies the match mode of the defined address prefix list items as 
permit mode. In this case, if the IP address of the route to be filtered matches an 
entry in the address prefix list, the route passes the filtering and no further check is 
performed. If not, it is check against the next entry.
deny: Specifies the match mode of the defined address prefix list items as deny 
mode. In this case, if the IP address of the route to be filtered matches an entry in 
the address prefix list, the route is denied without further check. If otherwise, the 
IP address is checked against the next address prefix entry.
network: The IP address prefix range (IP address). If it is 0.0.0.0 0, all the IP 
addresses are matched.
len: The IP address prefix range (mask length). If it is 0.0.0.0 0, all the IP addresses 
are matched.