Peer As-Path-Acl (Bgp/Bgp-Vpn Instance View) - 3Com S7906E Command Reference Manual

6300 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

Default Level
2: System level
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 a peer/peer group with an AS number.
Use the undo peer as-number command to delete a peer group.
Use the undo peer command to delete a peer.
By default, no peer or peer group is specified.
You can specify the AS number of a peer in either of the following two ways:
Use the peer ip-address as-number as-number command. After that, the system creates the
specified peer by default.
Specify the AS number of the peer when adding it to the specified peer group by using the peer
ip-address group group-name as-number as-number command; or use the peer as-number
command to specify the AS number of a peer group, and then a newly added peer will belong to the
AS.
The AS number of a peer/peer group cannot be modified directly. To do so, you have to delete the
peer/peer group and configure it again.
Examples
# In BGP view, specify peer group test in AS 100.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test as-number 100
# In BGP-VPN instance view, specify peer group test2 in AS 200 (the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer test2 as-number 200

peer as-path-acl (BGP/BGP-VPN instance view)

Syntax
peer { group-name | ip-address } as-path-acl as-path-acl-number { export | import }
undo peer { group-name | ip-address } as-path-acl as-path-acl-number { export | import }
View
BGP view/BGP-VPN instance view
1-42

Advertisement

Chapters

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S7906E and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents