Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 5 BGP Configuration Commands
3Com Corporation
5-46
In different address family views, a peer can be added to different peer groups and a
peer group can have different members.
Example
# Add the peer with IP address being 10.1.1.1 to the peer group TEST.
[3Com -bgp] group TEST
[3Com -bgp] peer 10.1.1.1 group TEST
5.1.49 peer ip-prefix
Syntax
peer { group-name | peer-address } ip-prefix prefixname import
undo peer { group-name | peer-address } ip-prefix prefixname import
peer group-name ip-prefix prefixname export
undo peer group-name ip-prefix prefixname export
View
BGP view, VPNv4 view, VPN instance view
Parameter
group-name: Specifies the name of the peer group.
peer-address: Specifies the IP address of the peer.
prefixname: Specifies the name of the ip-prefix.
import: Applies the filtering policy to routes received by the specified peer/peer group.
export: Applies the filtering policy to routes advertised to the specified peer/peer group.
Description
Use the peer ip-prefix import command to configure BGP to filter routes received from
the peer/peer group based on the ip-prefix list.
Use the undo peer ip-prefix import command to cancel filtering of the received routes
based on the ip-prefix list.
Use the peer ip-prefix export command to configure BGP to filter routes advertised to
the peer/peer group based on the ip-prefix list.
Use the undo peer ip-prefix export command to cancel filtering of the advertised
routes based on the ip-prefix list.
By default, no filtering is applied to routes advertised or received.
Related command: ip ip-prefix.