H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 6 IP Routing Policy Configuration Commands
6-17
no-export: Specifies not to send routes out of the specified sub AS or a federation but
to send to the other sub ASs in the federation.
comm-regular-expression: Community attribute in regular expression form.
Description
Use the ip community-list command to set a BGP community list.
Use the undo ip community-list command to remove the configuration.
The defined community list can be used in BGP policy.
Related commands: apply community, display bgp routing-table community-list.
Examples
# Define a community list, and specify not to send the routes with the community
attributes out of the local autonomous system.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ip community-list 6 permit no-export-subconfed
6.1.21 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
Parameters
ip-prefix-name: Name of the ip-prefix list, a string of 1 to 19 characters. It identifies an
ip-prefix list uniquely.
index-number: Identifier of an item in the ip-prefix list. The item with a smaller
index-number will be tested first.
permit: Specifies the match mode of the defined ip-prefix list items as permit mode. If
the permit mode is specified and the IP address to be filtered is in the ip-prefix range
specified by the item, the item is filtered through and the next item is not tested. If the IP
address to be filtered is not in the ip-prefix range specified by the item, the next item is
tested
deny: Specifies the match mode of the defined ip-prefix list items as deny mode. If the
deny mode is specified and the IP address to be filtered is in the ip-prefix range