Peer Ip-Prefix - HP FlexNetwork 3600 v2 Series Command Reference Manual

Hide thumbs Also See for FlexNetwork 3600 v2 Series:
Table of Contents

Advertisement

Examples
# In BGP view, disable session establishment with peer 10.10.10.10.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 10.10.10.10 ignore
# In BGP-VPN instance view, disable session establishment with peer 10.10.10.10. (The VPN has
been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer 10.10.10.10 ignore

peer ip-prefix

Syntax
peer { group-name | ip-address } ip-prefix ip-prefix-name { export | import }
undo peer { group-name | ip-address } ip-prefix { export | import }
View
BGP view, BGP-VPN instance view
Default level
2: System level
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
ip-prefix-name: IP prefix list name, a string of 1 to 19 characters.
export: Applies the filter to routes advertised to the specified peer/peer group.
import: Applies the filter to routes received from the specified peer/peer group.
Description
Use peer ip-prefix to reference an IP prefix list to filter routes received from or advertised to a peer
or peer group.
Use undo peer ip-prefix to remove the configuration.
By default, no IP prefix list based filtering is configured.
Examples
# In BGP view, use the IP prefix list list 1 to filter routes advertised to the peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test ip-prefix list1 export
# In BGP-VPN view, use the IP prefix list list 1 to filter routes advertised to the peer group test. (The
VPN has been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer test ip-prefix list1 export
244

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents