3Com S7902E Command Reference Manual - page 1270
1-34
peer allow-as-loop (MBGP family view)
Syntax
peer
{
group-name
|
ip-address
}
allow-as-loop
[
number
]
undo peer
{
group-name |
ip-address
}
allow-as-loop
View
IPv4 MBGP address family view
Default Level
2: System level
Parameters
group-name
: Name of an IPv4 MBGP peer group, a string of 1 to 47 characters.
ip-address
: IP address of an IPv4 MBGP peer.
number
: Specifies the number of times 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 allow the local AS number to exist in the AS_PATH attribute of
routes from a peer/peer group, and to configure the number of times the local AS number can appear.
Use the
undo peer allow-as-loop
command to remove the configuration.
By default, the local AS number is not allowed.
Related commands: display bgp multicast routing-table peer.
Examples
# In IPv4 MBGP address family view, configure the number of times the local AS number can appear in
routes from the peer 1.1.1.1 as 2.
[Sysname]bgp 100
[Sysname-bgp] peer 1.1.1.1 as-number 200
[Sysname-bgp]ipv4-family multicast
[Sysname-bgp-af-mul] peer 1.1.1.1 enable
[Sysname-bgp-af-mul] peer 1.1.1.1 allow-as-loop 2
peer as-path-acl (MBGP family view)
Syntax
peer
{
group-name | ip-address
}
as-path-acl
as-path-acl-number
{
export
|
import
}
undo peer
{
group-name | ip-address
}
as-path-acl
as-path-acl-number
{
export
|
import
}
View
IPv4 MBGP address family view