Peer Allow-As-Loop; Peer As-Path-Acl (Bgp-Vpnv4 Subaddress Family View) - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

1698
C
98: MPLS L3VPN C
HAPTER

peer allow-as-loop

Syntax
View
Parameter
Description
Example

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

Syntax
C
ONFIGURATION
OMMANDS
<Sysname> system-view
[Sysname] bgp 100
[Sysname] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer 3.3.3.3 advertise-community
peer { group-name | ip-address } allow-as-loop [ number ]
undo peer { group-name | ip-address } allow-as-loop
BGP-VPNv4 subaddress family view/BGP-L2VPN address family view
group-name: Name of the peer group, a string of 1 to 47 characters.
ip-address: IP address of the peer.
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.
Use the
peer allow-as-loop
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
# 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] 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 { group-name | ip-address } as-path-acl aspath-filter-number { import | export }
undo peer { group-name | ip-address } as-path-acl aspath-filter-number { import |
export }
command to allow the local AS number to appear
command to remove the configuration.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents