391
group
group-name
: Resets the BGP sessions to the peers in the peer group specified by its name, a
case-sensitive string of 1 to 47 characters.
internal
: Resets all IBGP sessions.
ipv4
: Resets BGP sessions for IPv4 address family.
ipv6
: Resets BGP sessions for IPv6 address family.
unicast
: Resets BGP sessions for unicast address family.
vpnv4
: Resets BGP sessions for VPNv4 address family.
vpnv6
: Resets BGP sessions for VPNv6 address family.
l2vpn
: Resets BGP sessions for L2VPN address family.
vpn-instance
vpn-instance-name
: Specifies an MPLS L3VPN instance by its name, a case-sensitive string
of 1 to 31 characters. If no VPN instance is specified, this command resets BGP sessions for the specified
address family on the public network.
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.
The
unicast
keyword is used if none of the
unicast
,
mdt
, and
multicast
keywords are specified.
Examples
# Reset all BGP sessions for the IPv4 unicast address family.
<Sysname> reset bgp all ipv4
# Reset all BGP sessions for the IPv6 unicast address family.
<Sysname> reset bgp all ipv6
# Reset all BGP sessions for the IPv4 multicast address family.
<Sysname> reset bgp all ipv4 multicast
# Reset all BGP sessions for the IPv6 multicast address family.
<Sysname> reset bgp all ipv6 multicast
reset bgp all
Use
reset bgp all
to reset all BGP sessions for all address families.
Syntax
reset bgp
all
Views
User view
Predefined user roles
network-admin
Usage guidelines
To apply a new route selection policy, use this command to reset BGP sessions. BGP re-establishes the
BGP sessions, advertises routes, and applies the new policy to routes. This operation breaks down BGP
sessions for a short while.