reset bgp vpn-instance ipv4-family

Function

The reset bgp vpn-instance ipv4-family command resets specified BGP connections.

Format

reset bgp [ instance instance-name ] vpn-instance vpn-instance-name ipv4-family { all | as-number | ipv4-address | external | internal | group group-name }

reset bgp instance instance-name all

Parameters

Parameter Description Value
instance instance-name

Specifies a BGP multi-instance.

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

vpn-instance vpn-instance-name

Resets the connection of a specified VPN instance enabled with an IPv4 address family.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.

ipv4-family

IPv4 address family.

-

all

Resets all BGP 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.

external

Resets all EBGP connections.

-

internal

Resets all IBGP connections.

-

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.

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 connections about the routes of BGP multi-instance named vpn1.
<HUAWEI> reset bgp instance vpn1 all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >