Peer Allow-As-Loop (Bgp/Bgp-Vpn Instance 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

Examples

peer allow-as-loop (BGP/BGP-VPN instance view)

Syntax
View
Parameters
Description
Related commands:
Examples
Use the
undo peer advertise-ext-community
advertisement.
By default, no extended community attribute is advertised to a peer/peer group.
For related information, refer to "ip extcommunity-list" on page 1205, "if-match
extcommunity" on page 1199 and "apply extcommunity" on page 1190.
# In BGP view, advertise the extended community attribute to the peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test advertise-ext-community
# In BGP-VPN view, advertise the extended community attribute to the peer group
test (the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer test advertise-community
peer { group-name | ip-address } allow-as-loop [ number ]
undo peer { group-name | ip-address } allow-as-loop
BGP view/BGP-VPN instance view
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
number: Specifies the repeating times of the local AS number, in the range 1 to
10. The default number is 1.
Use the
peer allow-as-loop
the AS_PATH attribute of routes from a peer/peer group, and to configure the
repeating times of the local AS number.
Use the
undo peer allow-as-loop
By default, the local AS number is allowed.
display bgp routing-table peer.
# 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
command to disable the
command to allow the local AS number to exist in
command to remove the configuration.
985

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