H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 5 BGP Configuration Commands
5-41
Examples
# Configure the route filtering policy of the peer group based on the ip-prefix 1.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] peer group1 ip-prefix list1 export
5.1.45 peer ip-prefix import
Syntax
peer { group-name | ip-address } ip-prefix ip-prefix-name import
undo peer { group-name | ip-address } ip-prefix ip-prefix-name import
View
BGP view
Parameters
group-name: Name of peer group, containing 1 to 47 characters.
ip-address: IP address of the peer, in dotted decimal notation.
ip-prefix-name: Name of the specified ip-prefix, containing 1 to 19 characters.
Description
Use the peer ip-prefix import command to configure the route filtering policy of routes
received by the peer/peer group based on the ip-prefix.
Use the undo peer ip-prefix import command to cancel the route filtering policy of the
peer/peer group based on the ip-prefix.
By default, the route filtering policy of the peer/peer group is not specified.
The priority of the ingress routing policy configured for the peer is higher than that for
the peer group.
Related commands: peer ip-prefix export
Examples
# Configure the route filtering policy of the peer group based on the ip-prefix 1.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] peer group1 ip-prefix list1 import