Command Manual – MPLS
Quidway S8500 Series Routing Switches
Chapter 2 BGP/MPLS VPN Configuration Commands
Huawei Technologies Proprietary
2-27
You can avoid this by using the
peer
allow-as-loop
command, which makes PE router
allow the route updates from CE to contain its AS number. You can define
asn-imit
to
control the maximum times for which AS number is received by PE
.
Example
# Enable route loop.
[Quidway-bgp] ipv4-family vpnv4
[Quidway-bgp-af-vpn] peer 1.1.1.1 allow-as-loop 1
2.1.29 peer as-number
Syntax
peer
{
group-name
|
[
peer-address
group
group-name
] }
as-number
as-number
undo peer
{
group-name
|
[
peer-address group
group-name
] }
as-number
as-number
View
VPN-instance subaddress family view
Parameter
group-name
: Name of a peer group, consisting of 1 to 47 alphanumeric characters.
peer-address
: IP address of peer group.
as-number
: Opposite AS number of a peer (group).
Description
Use the
peer as-number
command to configure the opposite AS number of a specified
peer (group).
Use the
undo peer as-number
command to remove the opposite AS number of a
specified peer (group).
By default, the opposite end of a peer (group) has no AS number.
Example
# Set the opposite AS number of a specified peer (group) to 100.
[Quidway-bgp] ipv4-family vpn-instance test
[Quidway-bgp-af-vpn-instance] peer test as-number 100
2.1.30 peer as-path-acl export
Syntax
peer
group-name
as-path-acl
acl-number
export
undo peer
group-name
as-path-acl acl-number
export