reset bgp l2vpn-ad

Function

The reset bgp l2vpn-ad command resets specified BGP connections.

Format

reset bgp l2vpn-ad all

reset bgp l2vpn-ad { external | internal | as-number | ipv4-address | group group-name }

Parameters

Parameter Description Value
l2vpn-ad

Resets BGP connections associated with L2VPN-AD.

-

external

Resets all EBGP connections.

-

internal

Resets all IBGP connections.

-

as-number

Resets BGP connections with peers in ASs expressed in dotted notation.

The value is in the format of x.y, where x and y are integers that range from 1 to 65535 and from 0 to 65535, respectively.

ipv4-address

Resets the BGP connection with a specified peer.

It is in dotted decimal notation.

group group-name

Resets the BGP connection with a specified peer group.

The name is a string of 1 to 47 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

all

Resets all BGP connections.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp execute

Usage Guidelines

Usage Scenario

The reset bgp command is used to make new BGP configurations take effect.

If a BGP routing policy is configured on the device that does not support Route-Refresh, the reset bgp command can be used to make the new routing policy to take effect.

Configuration Impact

This command resets all TCP connections established between BGP peers and therefore results in the re-establishment of the BGP peer relationships. Exercise caution when running this command.

Example

# Reset all BGP L2VPN-AD connections in GR mode.
<HUAWEI> reset bgp l2vpn-ad all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >