Command Manual – IPv6 Routing
H3C S7500E Series Ethernet Switches
Chapter 5 IPv6 BGP Configuration Commands
5-30
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 repeating times of the local AS number.
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 repeating times of the local AS number allowed 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
5.1.34 peer as-number
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
Parameters
ipv6-group-name
: Name of a peer group, a string of 1 to 47 characters.
ipv6-address
: IPv6 address of a peer.
as-number
: AS number of the peer/peer group, in the range 1 to 65535.
Description
Use the
peer as-number
command to specify an AS number for a peer/peer group.
Use the
undo peer as-number
command to delete the AS number of a peer group.
Use the
undo peer
command to delete a peer.
By default, no AS number is configured for a peer/peer group.
Examples
# Specify the AS number of the peer group test as 200.