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. | - |
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.