H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 5 BGP Configuration Commands
5-32
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] peer 1.1.1.1 allow-as-loop 2
5.1.33 peer as-number
Syntax
peer group-name as-number as-number
undo peer group-name as-number
View
BGP view
Parameters
group-name: Name of a peer group, containing 1 to 47 alphanumeric characters.
as-number: AS number of the peer or peer group, in the range of 1 to 65535.
Description
Use the peer as-number command to configure the AS number of a peer group.
Use the undo peer as-number command to delete the AS number of a peer group.
By default, no AS number is configured for a peer group.
Examples
# Set the AS number for the peer named test to 100.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] peer test as-number 100
5.1.34 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
Parameters
group-name: Name of the peer group, containing 1 to 47 alphanumeric characters.