3com 8807 参照ガイド
670
C
HAPTER
38: MBGP M
ULTICAST
E
XTENSION
C
ONFIGURATION
C
OMMANDS
peer filter-policy export
Syntax
peer group-name filter-policy acl-number export
undo peer group-name filter-policy acl-number export
View
IPv4 multicast sub-address family view
Parameter
group-name: Name of the peer group.
acl-number: Number of IP ACL ranging from 2000 to 3999. That is, you can use
basic ACLs or advanced ACLs.
basic ACLs or advanced ACLs.
export: Applies the filter policy to the advertised routes. This keyword is only valid
for the peer groups.
for the peer groups.
Description
Use the peer filter-policy export command to configure the peer group to apply
the ACL-based filter policy to the advertised routes.
the ACL-based filter policy to the advertised routes.
Use the undo peer filter-policy export command to cancel the existing
configuration.
configuration.
By default, no ACL-based filter policy is configured.
The peer filter-policy export command can only be configured on peer groups.
Related command: peer filter-policy import, acl .
Example
# Configure the peer group test to use ACL 2000 to filter the advertised routes.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] bgp 100
[3Com-bgp] ipv4-family multicast
[3Com-bgp-af-mul] 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
IPv4 multicast sub-address family view
Parameter
group-name: Name of the peer group.
peer-address: IP address of the peer.