Command Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches Chapter 4 BGP Configuration Commands
Huawei Technologies Proprietary
4-37
Example
# Add a peer to the peer group TEST.
[Quidway-bgp] group TEST
[Quidway-bgp] peer 10.1.1.1 group TEST
4.1.43 peer ip-prefix
Syntax
peer { group-name | peer-address } ip-prefix prefixname { import | export }
undo peer { group-name | peer-address } ip-prefix prefixname { import | export }
View
BGP view
Parameter
group-name: Name of peer group.
peer-address: IP address of the peer.
prefixname: Name of the specified ip-prefix.
import: Apply the filtering policy on the route received by the specified peer/peer
group.
export: Apply the filtering policy on the route transmitted to the specified peer/peer
group.
Description
Using peer ip-prefix command, you can configure the route filtering policy of the
peer/peer group based on the ip-prefix. Using undo peer ip-prefix command, you can
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.
For the related commands, see ip ip-prefix.
Example
# Configure the route filtering policy of the peer group based on the ip-prefix 1.
[Quidway-bgp] peer group1 ip-prefix list1 export
4.1.44 peer next-hop-local
Syntax
peer { group-name | peer-address } next-hop-local
undo peer { group-name | peer-address } next-hop-local