R3303-HP HSR6800 Routers MPLS Command Reference
373
Syntax
peer ip-address filter-policy acl6-number { export | import }
undo peer ip-address filter-policy [ acl6-number ] { export | import }
Default
No filtering policy is applied to a peer or peer group.
Views
BGP-VPNv6 subaddress family view
Default command level
2: System level
Parameters
group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address: Specifies the IP address of the peer.
acl-number: Specifies an IP ACL number in the range of 2000 to 3999.
acl6-number: Specifies an IPv6 ACL number in the range of 2000 to 3999.
export: Filters the routes to be advertised to the specified peer or peer group.
import: Filters the routes received from the specified peer or peer group.
Examples
# In BGP-VPNv6 subaddress family view, apply a filtering policy to filter the routes received from peer
1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpnv6
[Sysname-bgp-af-vpnv6] peer 1.1.1.1 filter-policy 2003 import
Related commands
peer as-path-acl
peer ipv6-prefix (BGP-VPNv6 subaddress family view)
Use peer ipv6-prefix to apply an IPv6 prefix list to filter routes for a peer.
Use undo peer ipv6-prefix to remove the configuration.
Syntax
peer ip-address ipv6-prefix prefix-name { export | import }
undo peer ip-address ipv6-prefix { export | import }
Default
No IPv6 prefix list is applied to filter routes for a peer.
Views
BGP-VPNv6 subaddress family view










