309
•
peer keep-all-routes
refresh bgp ipv6 unicast
Use
refresh bgp ipv6 unicast
to manually soft-reset BGP sessions for the IPv6 unicast address family.
Syntax
refresh bgp
{
ipv6-address
|
all
|
external
|
group
group-name
|
internal
} {
export
|
import
}
ipv6
[
unicast
] [
vpn-instance
vpn-instance-name
]
Views
User view
Predefined user roles
network-admin
Parameters
ipv6-address
: Soft-resets the BGP session to the specified peer. The
ipv6-address
argument refers to the
IPv6 address of a peer.
all
: Soft-resets all BGP sessions.
external
: Soft-resets all EBGP sessions.
group
group-name
: Soft-resets the BGP sessions to the peers of the specified peer group. The
group-name
argument refers to the name of a peer group, a case-sensitive string of 1 to 47 characters.
internal
: Soft-resets all IBGP sessions.
export
: Performs outbound soft-reset (filters routes advertised to the specified peer or peer group by using
the new configuration).
import
: Performs inbound soft-reset (filters routes received from the specified peer or peer group by using
the new configuration).
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 performs manual soft-reset on BGP sessions for the
public network IPv6 unicast address family.
Usage guidelines
After the route selection policy is modified, execute this command with the
export
keyword to enable the
local router to filter routing information based on the new policy and send the matching routes to the BGP
peer. If you execute this command with the
import
keyword, you enable the local router to advertise a
route-refresh message to the peer and the peer resends its routing information to the router. After
receiving the routing information, the router filters the routing information by using the new policy.
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 ipv6 unicast import
command does
not take effect.
The command with the
unicast
keyword has the same effect as that without the
unicast
keyword.
Examples
# Manually soft-reset all BGP sessions for the IPv6 unicast address family.
<Sysname> refresh bgp all ipv6