Peer Allow-As-Loop (Ipv6 Address Family View); Peer As-Number (Ipv6 Address Family View) - H3C S5820X Series Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for S5820X Series:
Table of Contents

Advertisement

peer allow-as-loop (IPv6 address family view)

Syntax
peer { group-name | ipv4-address | ipv6-address } allow-as-loop [ number ]
undo peer { group-name | ipv4-address | ipv6-address } allow-as-loop
View
IPv6 address family view
Default level
2: System level
Parameters
group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters.
ipv4-address: IPv4 address of a peer.
ipv6-address: IPv6 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 1 to 10. The default number is 1.
Description
Use the peer allow-as-loop command to configure IPv6 BGP to allow the local AS number to exist in the
AS_PATH attribute of routes from a peer/peer group, and to configure the times for which it can appear.
Use the undo peer allow-as-loop command to disable the function.
The local AS number is not allowed to exist in the AS PATH attribute of routes by default.
Examples
# Configure the number of times for which the local AS number can appear in the AS PATH of routes from
peer 1::1 as 2.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1::1 allow-as-loop 2

peer as-number (IPv6 address family view)

Syntax
peer { ipv6-group-name | ipv6-address } as-number as-number
undo peer ipv6-group-name as-number
undo peer ipv6-address
View
IPv6 address family view
Default level
2: System level
Parameters
ipv6-group-name: Name of a peer group, a string of 1 to 47 characters.
390

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5800 series

Table of Contents