Peer Allow-As-Loop - HP 5800 series Command Reference Manual

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

Advertisement

peer allow-as-loop

Description
Use the peer allow-as-loop command to allow the local AS number to appear in the AS-PATH attribute of
a received route and to set the allowed maximum number of repetitions.
Use the undo peer allow-as-loop command to remove the configuration.
Syntax
peer { group-name | ip-address } allow-as-loop [ number ]
undo peer { group-name | ip-address } allow-as-loop
View
BGP-VPNv4 subaddress family view, BGP-L2VPN address family view, VPLS address 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.
number: Specifies the maximum number that the local AS number can appear repeatedly in the AS-PATH
attribute. It ranges from 1 to 10 and defaults to 1.
Examples
# In BGP-VPNv4 subaddress family view, allow the local AS number to appear repeatedly in the AS-PATH
attribute of a route received from peer 1.1.1.1 for up to twice.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer 1.1.1.1 allow-as-loop 2
# In BGP-L2VPN address family view, allow the local AS number to appear repeatedly in the AS-PATH
attribute of a route received from peer 1.1.1.1 for up to twice.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] l2vpn-family
[Sysname-bgp-af-l2vpn] peer 1.1.1.1 allow-as-loop 2
# In VPLS address family view, allow the local AS number to appear repeatedly in the AS-PATH attribute
of a route received from peer 1.1.1.1 for up to twice.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] vpls-family
[Sysname-bgp-af-vpls] peer 1.1.1.1 allow-as-loop 2
313

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents