Command Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches Chapter 4 BGP Configuration Commands
Huawei Technologies Proprietary
4-31
Example
# Specify to configure the repeating times of local AS to 2.
[Quidway-bgp] peer 1.1.1.1 allow-as-loop 2
4.1.34 peer as-number
Syntax
peer { group-name | peer-address } as-number as-number
undo peer { group-name | peer-address } as-number as-number
View
BGP view
Parameter
group-name: Name of peer group.
peer-address: IP address of the peer.
as-number: The AS number of the peer/peer group, the range is 1 to 65535.
Description
Using peer as-number command, you can configure the AS number of peer
group/peer. Using undo peer as-number command, you can delete the AS number of
peer group/peer.
By default, no peer group, peer and AS number are configured.
Example
# Specify the peer AS number for the peer test as 100.
[Quidway-bgp] peer test as-number 100
4.1.35 peer as-path-acl
Syntax
peer { group-name | peer-address } as-path-acl acl-number { import | export }
undo peer { group-name | peer-address } as-path-acl acl-number { import | export }
View
BGP view
Parameter
group-name: Specify name of the peer group.
peer-address: Specify IP address of the peer.