peer allow-as-loop
Function
The peer allow-as-loop command sets the number of local AS number repetitions.
The undo peer allow-as-loop command restores the default setting.
By default, the local AS number cannot be repeated.
Format
peer { group-name | ipv4-address | ipv6-address } allow-as-loop [ number ]
undo peer { group-name | ipv4-address | ipv6-address } allow-as-loop
Parameters
Parameter | Description | Value |
---|---|---|
group-name | Specifies the name of a peer group. | The name is a string of 1 to 47 characters without any space. It is case-sensitive. |
ipv4-address | Specifies the IPv4 address of a peer. | It is in dotted decimal notation. |
ipv6-address | Specifies the IPv6 address of a peer. | The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
number | Specifies the number of local AS number repetitions. | The value is an integer ranging from 1 to 10. The default value is 1. |
ipv4-address is valid only in the BGP view, BPG-IPv4 unicast address family view, BGP-IPv4 multicast address family view.
ipv6-address is valid only in the BGP-IPv6 unicast address family view.
Views
BGP view, BGP-IPv4 unicast address family view, BGP-IPv4 multicast address family view, BGP-IPv6 unicast address family view
Usage Guidelines
Prerequisites
Peer relationships have been established using the peer as-number command.
Precautions
If the peer allow-as-loop command is run for a peer or peer group multiple times, the latest configuration overrides the previous one.