390
This command requires that both the local router and the peer support route refresh.
If the
peer keep-all-routes
command is configured, the
refresh bgp ipv4 unicast import
command does
not take effect.
The command with the
unicast
keyword has the same effect as that without the
unicast
keyword.
Examples
# Soft-reset all inbound BGP sessions for the IPv4 unicast address family.
<Sysname> refresh bgp all import ipv4
# Soft-reset all inbound BGP sessions for the IPv6 unicast address family.
<Sysname> refresh bgp all import ipv6
# Soft-reset all outbound BGP sessions for the IPv4 multicast address family.
<Sysname> refresh bgp all export ipv4 multicast
# Soft-reset all outbound BGP sessions for the IPv6 multicast address family.
<Sysname> refresh bgp all export ipv6 multicast
Related commands
•
peer capability-advertise route-refresh
•
peer keep-all-routes
reset bgp
Use
reset bgp
to reset BGP sessions for the specified address family.
Syntax
reset bgp
{
as-number
|
ip-address
|
all
|
external
|
group
group-name
|
internal
}
ipv4
[
unicast
]
[
vpn-instance
vpn-instance-name
]
reset bgp
{
as-number
|
ipv6-address
|
all
|
external
|
group
group-name
|
internal
}
ipv6
[
unicast
]
[
vpn-instance
vpn-instance-name
]
reset bgp
ip-address
ipv6
[
unicast
]
reset bgp
{
as-number
|
ip-address
|
all
|
external
|
group
group-name
|
internal
}
vpnv4
[
vpn-instance
vpn-instance-name
]
reset bgp
{
as-number
|
ip-address
|
all
|
external
|
group
group-name
|
internal
}
vpnv6
reset bgp
{
as-number
|
ip-address
|
all
|
external
|
group
group-name
|
internal
}
l2vpn
Views
User view
Predefined user roles
network-admin
Parameters
as-number
: Resets BGP sessions to peers in the AS specified by its number in the range of 1 to
4294967295.
ip-address
: Resets the BGP session to the specified peer.
all
: Resets all BGP sessions.
external
: Resets all EBGP sessions.