Peer As-Path-Acl (Bgp-Vpnv4 Subaddress Family View) - 3Com S7906E Command Reference Manual

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

Advertisement

number: Maximum number that the local AS number can appear repeatedly in the AS-PATH attribute. It
ranges from 1 to 10 and defaults to 1.
Description
Use the peer allow-as-loop command to allow the local AS number to appear in the AS-PATH attribute
of a received route and to set the allowed maximum number of repetitions.
Use the undo peer allow-as-loop command to remove the configuration.
Examples
# In BGP-VPNv4 subaddress family view, allow the local AS number to appear repeatedly in the
AS-PATH attribute of a route received from peer 1.1.1.1 for up to twice.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer 1.1.1.1 allow-as-loop 2
# In BGP-L2VPN address family view, allow the local AS number to appear repeatedly in the AS-PATH
attribute of a route received from peer 1.1.1.1 for up to twice.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] l2vpn-family
[Sysname-bgp-af-l2vpn] peer 1.1.1.1 allow-as-loop 2

peer as-path-acl (BGP-VPNv4 subaddress family view)

Syntax
peer { group-name | ip-address } as-path-acl as-path-acl-number { import | export }
undo peer { group-name | ip-address } as-path-acl as-path-acl-number { import | export }
View
BGP-VPNv4 subaddress family view
Default Level
2: System level
Parameters
group-name: Name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address: IP address of the peer.
as-path-acl-number: AS_PATH filtering list number, in the range 1 to 256.
import: Filters the received routes.
export: Filters the routes to be advertised.
Description
Use the peer as-path-acl command to specify to filter routes received from or to be advertised to a
specified peer or peer group based on an AS_PATH list.
Use the undo peer as-path-acl command to remove the configuration.
1-36

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?

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents