Switch 7700 Command reference Guide, v2.0

Table Of Contents
BGP Configuration Commands 213
number: Specify the repeating times of local AS, ranging from 1 to 10.
Description
Use the peer allow-as-loop command to configure the repeating time of
local AS.
Use the undo peer allow-as-loop command to remove the repeating time of
local AS.
Related commands: display current-configuration, display bgp
routing-table peer
, display bgp routing-table group
Example
Specify to configure the repeating times of local AS to 2.
[SW7700-bgp]peer 1.1.1.1 allow-as-loop 2
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 10.
Description
Use the peer as-number command to configure the AS number of peer
group/peer.
Use the undo peer as-number command to 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.
[SW7700-bgp]peer test as-number 100
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 }