Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 5 BGP Configuration Commands
3Com Corporation
5-44
[3Com -bgp] peer 10.15.0.15 as-number 100
[3Com -bgp] ipv4-family vpnv4 unicast
[3Com -bgp-af-vpn] peer 10.15.0.15 enable
# Configure a peer and activate it in IPv4 multicast address family view.
[3Com ] bgp 200
[3Com -bgp] peer 20.10.0.1 as-number 200
[3Com -bgp] ipv4-family multicast
[3Com -bgp-af-mul] peer 20.10.0.1 enable
5.1.47 peer filter-policy
Syntax
peer { group-name | peer-address } filter-policy acl-number import
undo peer { group-name | peer-address } filter-policy acl-number import
peer group-name filter-policy acl-number export
undo peer group-name filter-policy acl-number export
View
BGP view, IPv4 multicast sub-address family view
Parameter
group-name: Specifies the name of the peer group.
peer-address: Specifies the IP address of the peer.
list-number: Specifies the IP ACL number.
import: Applies the filter-policy to received routes.
export: Applies the filter-policy to advertised routes.
Description
Use the peer filter-policy import command to configure BGP to filter routes received
from the peer (group) based on the ACL.
Use the undo peer filter-policy import command to cancel filtering of the received
routes based on the ACL.
Use the peer filter-policy export command to configure BGP to filter routes advertised
to the peer (group) based on the ACL.
Use the undo peer filter-policy export command to cancel filtering of the advertised
routes based on the ACL.
By default, no filtering is applied to routes advertised or received.
Related command: ip as-path acl and peer as-path-acl.










