reset bgp ipv4 unicast
Use reset bgp ipv4 unicast to reset BGP sessions for the IPv4 unicast address family.
Syntax
reset bgp { as-number | ip-address | all | external | group group-name | internal } ipv4 [ unicast ] [ vpn-instance vpn-instance-name ]
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
as-number: Resets BGP sessions to peers in the AS.
ip-address: Specifies the IP address of a peer with which to reset the session.
all: Resets all BGP sessions of IPv4 unicast address family.
external: Resets all the EBGP sessions of IPv4 unicast address family.
group group-name: Resets sessions with peers in the specified BGP peer group.
internal: Resets all the IBGP sessions of IPv4 unicast 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 the BGP sessions for IPv4 unicast address family for the public network.
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.
The command with the unicast keyword has the same effect as that without the unicast keyword.
Examples
# Reset all BGP sessions for IPv4 unicast address family of the public network.
<Sysname> reset bgp all ipv4