3com 8807 参考指南
BGP Configuration Commands
529
peer filter-policy export
Syntax
peer group-name filter-policy acl-number export
undo peer group-name filter-policy acl-number export
View
BGP view
Parameter
group-name: Specifies the name of the peer group.
acl-number: Specifies an IP acl number, ranging from 2000 to 3999.
export: Egress filter policy. It is only applicable to peer groups.
Description
Use the peer filter-policy export command to configure the filter-policy list of
routes advertised by a peer group.
routes advertised by a peer group.
Use the undo peer filter-policy export command to cancel the existing
configuration.
configuration.
By default, a peer/peer group has no access control list (acl).
The peer filter-policy export command can only be configured on peer groups.
Related command: peer filter-policy export, ip as-path-acl, peer as-path-acl.
Example
# Configure to use acl 2000 to filter the routes advertised by the peer group test.
[3Com-bgp] peer test filter-policy 2000 export
peer filter-policy import
Syntax
peer { group-name | peer-address } filter-policy acl-number import
undo peer { group-name | peer-address } filter-policy acl-number import
View
BGP view
Parameter
group-name: Specifies the name of the peer group.
peer-address: Specifies the IP address of the peer.
acl-number: Specifies an IP acl number, ranging from 2000 to 3999. That is, you
can use basic ACLs or advanced ACLs.
can use basic ACLs or advanced ACLs.
import: Ingress filter policy. It is only applicable to peer groups.