reset bgp all

Use reset bgp all to reset all BGP sessions for all address families.

Syntax

reset bgp [ instance instance-name ] all

Views

User view

Predefined user roles

network-admin

Parameters

instance instance-name: Specifies a BGP instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify this option, the command resets all BGP sessions for all address families of the default BGP instance.

Usage guidelines

A reset operation enables the router to apply a new route selection policy by re-establishing BGP sessions. This operation breaks down BGP sessions for a short while.

Examples

# Reset all BGP sessions.

<Sysname> reset bgp all