Peer Allow-As-Loop (Bgp/Bgp-Vpn Instance View) - HP FlexNetwork 3600 v2 Series Command Reference Manual

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

Advertisement

Use undo peer advertise-ext-community to disable the extended community attribute
advertisement to a peer/peer group.
By default, no extended community attribute is advertised to a peer/peer group.
Related commands: ip extcommunity-list, if-match extcommunity, and apply extcommunity.
Examples
# In BGP view, advertise the extended community attribute to the peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test advertise-ext-community
# In BGP-VPN view, advertise the extended community attribute 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 advertise-ext-community

peer allow-as-loop (BGP/BGP-VPN instance view)

Syntax
peer { group-name | ip-address } allow-as-loop [ number ]
undo peer { group-name | ip-address } allow-as-loop
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.
number: Specifies the number of times for which the local AS number can appear in routes from the
peer/peer group, in the range of 1 to 10. The default number is 1.
Description
Use peer allow-as-loop to allow the local AS number to exist in the AS_PATH attribute of routes
from a peer/peer group, and to configure the number of times the local AS number can appear.
Use undo peer allow-as-loop to remove the configuration.
By default, the local AS number is not allowed in routes from a peer/peer group.
Related commands: display bgp routing-table peer.
Examples
# In BGP view, configure the number of times the local AS number can appear in AS_PATH attribute
of routes from peer 1.1.1.1 as 2.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 1.1.1.1 allow-as-loop 2
# In BGP-VPN instance view, configure the number of times for which the local AS number can
appear in AS_PATH attribute of routes from peer 1.1.1.1 as 2. (The VPN has been created.)
229

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents