Peer Filter-Policy Export; Peer Filter-Policy Import - H3C S9500 Series Command Manual

Routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Command Manual – MPLS L3VPN
H3C S9500 Series Routing Switches

1.1.39 peer filter-policy export

Syntax
peer group-name filter-policy acl-number export
undo peer group-name filter-policy acl-number export
View
VPNv4 sub-address family view, VPN-instance sub-address family view
Parameters
group-name: Name of a neighbor peer group, consisting of 1 to 47 alphanumeric
characters.
acl-number: IP ACL number ranging from 2000 to 3999. That is, you can use basic ACL
or advanced ACL.
export: Uses the filtering policy for the advertised route and this policy is only effective
for peer groups.
Description
Use the peer filter-policy export command to apply the ACL-based filtering policy to
the advertised route for the peer group.
Use the undo peer filter-policy export command to cancel the configuration.
By default, there is no ACL-based filtering policy.
You can only use the peer filter-policy export command to configure peer group.
Related commands: ip as-path-acl, peer filter-policy export.
Examples
# Configure the test peer group to filter the advertised route with ACL 3000.
[H3C-bgp] ipv4-family vpnv4
[H3C-bgp-af-vpn] peer test filter-policy 3000 export

1.1.40 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
VPNv4 sub-address family view, VPN-instance sub-address family view
Chapter 1 MPLS L3VPN Configuration Commands
1-34

Advertisement

Table of Contents
loading

Table of Contents