< Home

reset bgp l2vpn

Function

The reset bgp l2vpn command resets the TCP connection of the BGP L2VPN.

Format

reset bgp l2vpn { as-number | peer-ip-address | all | internal | external }

Parameters

Parameter Description Value
as-number Indicates the number of the AS to which an L2VPN peer belongs. -
peer-ip-address Indicates the IP address of an L2VPN peer. -
all Resets all the L2VPN BGP connections. -
internal Resets the L2VPN BGP connection in the same AS. -
external Resets the L2VPN BGP connection across ASs. -

Views

User view

Default Level

2: Configuration level

Usage Guidelines

After the parameters configured in the BGP-L2VPN address family view are modified, you can run the reset bgp l2vpn command to reset the TCP connection of the BGP L2VPN. After that, BGP re-negotiates parameters, re-sends label information, and re-establishes the session.

If the BGP L2VPN application and other applications share the same TCP connection, the reset bgp l2vpn command resets BGP neighbor relationship of all applications on this TCP connection.

Example

# Reset all the L2VPN BGP connections.

<HUAWEI> reset bgp l2vpn all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >