314
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
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 by its name, a case-sensitive string of 1 to 31
characters. If no VPN is specified, this command resets the BGP sessions for IPv4 unicast address family
for the public network.
Usage guidelines
To apply a newly configured route selection policy, you must 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
reset bgp ipv6 unicast
Use
reset bgp ipv6 unicast
to reset BGP sessions for the IPv6 unicast address family.
Syntax
reset bgp
{
as-number
|
ipv6-address
|
all
|
external
|
group
group-name
|
internal
}
ipv6
[
unicast
]
[
vpn-instance
vpn-instance-name
]
Views
User view
Predefined user roles
network-admin
Parameters
as-number
: Resets BGP sessions to peers in the AS.
ipv6-address
: Specifies the IPv6 address of a peer with which to reset the session.