3com 8807 参考指南

下载
页码 1099
524
C
HAPTER
 27: BGP C
ONFIGURATION
 C
OMMANDS
Example
# Specify to configure the repeating times of local AS to 2.
[3Com-bgp] peer 1.1.1.1 allow-as-loop 2 
peer as-number
Syntax
peer group-name as-number as-number
undo peer group-name as-number
View
BGP view
Parameter
group-name: Name of peer group.
as-number: Peer AS number of the peer group, the range is 1 to 65535.
Description
Use the peer as-number command to configure the peer AS number of the 
specified peer group.
Use the undo peer as-number command to delete the peer AS number of the 
specified peer group.
By default, no peer AS number of the specified peer group is configured.
Example
# Specify the peer AS number for the peer group test as 100.
[3Com-bgp] peer test as-number 100 
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
View
BGP view
Parameter
group-name: Specifies name of the peer group.
acl-number: Number of an AS path list, in the range of 1 to 199.
export: Applies the AS path list to advertised routes.
Description
Use the peer as-path-acl export command to configure filtering Policy of BGP 
advertised routes based on AS path list.
Use the undo peer as-path-acl command to cancel the existing configuration.