H3C S7500E Series Command Manual page 467

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Examples
# In BGP view, configure the repeating times of the local AS number as 2 for routes
from peer 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 1.1.1.1 allow-as-loop 2
5.1.42 peer as-number
Syntax
peer { group-name | ip-address } as-number as-number
undo peer group-name as-number
undo peer ip-address
View
BGP view
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
as-number: AS number of the peer or peer group, in the range 1 to 65535.
Description
Use the peer as-number command to specify the AS number for a peer/peer group.
Use the undo peer as-number command to delete the AS number of a peer group.
Use the undo peer command to delete a peer.
By default, no AS number is configured for a peer/peer group.
Examples
# In BGP view, specify the AS number of the peer group test as 100.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test as-number 100
5.1.43 peer as-path-acl
Syntax
peer { group-name | ip-address } as-path-acl as-path-acl-number { export | import }
Chapter 5 BGP Configuration Commands
5-38

Advertisement

Table of Contents
loading

Table of Contents