HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference

344
Related commands
apply extcommunity
if-match extcommunity
ip extcommunity-list
peer allow-as-loop
Use peer allow-as-loop to allow a local AS number to exist in the AS_PATH attribute of routes from a peer
or peer group, and to configure the number of times the local AS number can appear.
Use undo peer allow-as-loop to restore the default.
Syntax
In BGP IPv4 unicast address family view/BGP-VPN IPv4 unicast address family view/BGP VPNv4
address family view/BGP L2VPN address family view:
peer { group-name | ip-address } allow-as-loop [ number ]
undo peer { group-name | ip-address } allow-as-loop
In BGP IPv6 unicast address family view:
peer { group-name | ip-address | ipv6-address } allow-as-loop [ number ]
undo peer { group-name | ip-address | ipv6-address } allow-as-loop
In BGP VPN IPv6 unicast address family view:
peer { group-name | ipv6-address } allow-as-loop [ number ]
undo peer { group-name | ipv6-address } allow-as-loop
Default
The local AS number is not allowed to exist in the AS_PATH attribute of routes from a peer or peer group.
Views
BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP-VPNv4 address
family view, BGP IPv6 unicast address family view, BGP-VPN IPv6 unicast address family view, BGP
L2VPN address family view
Predefined user roles
network-admin
Parameters
group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer
group must have been created.
ip-address: Specifies a peer by its IP address. The peer must have been created.
ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created.
number: Specifies the number of times for which the local AS number can appear, in the range of 1 to
10. The default number is 1. If the number of times for which the local AS number appears in a route is
more than the specified number, BGP considers that a routing loop occurs and discards the route.