Peer Filter-Policy (Bgp-Vpnv6 Subaddress Family View); Peer Ipv6-Prefix (Bgp-Vpnv6 Subaddress Family View) - HP 5800 series Command Reference Manual

Commands and command syntax options
Hide thumbs Also See for 5800 series:
Table of Contents

Advertisement

peer filter-policy (BGP-VPNv6 subaddress family view)

Description
Use the peer filter-policy command to apply a filtering policy to a peer or peer group.
Use the undo peer filter-policy command to remove the configuration.
By default, no filtering policy is applied to a peer or peer group.
Related commands: peer as-path-acl.
Syntax
In BGP-VPNv4 subaddress family view:
peer { group-name | ip-address } filter-policy acl-number { export | import }
undo peer { group-name | ip-address } filter-policy [ acl-number ] { export | import }
In BGP-VPNv6 subaddress family view:
peer ip-address filter-policy acl6-number { export | import }
undo peer ip-address filter-policy [ acl6-number ] { export | import }
View
BGP-VPNv6 subaddress family view
Default level
2: System level
Parameters
group-name: Specifies the name of the peer group, which is a case-sensitive string of 1 to 47 characters.
ip-address: Specifies the IP address of the peer.
acl-number: Specifies the IP ACL number, ranging from 2000 to 3999.
acl6-number: Specifies the IPv6 ACL number, ranging from 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

peer ipv6-prefix (BGP-VPNv6 subaddress family view)

Description
Use the peer ipv6-prefix command to apply an IPv6 prefix list to filter routes for a peer.
Use the undo peer ipv6-prefix command to remove the configuration.
By default, no IPv6 prefix list is applied to filter routes for a peer.
366

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents