
25
[Sysname-bgp] peer 1.1.1.1 group test
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer test enable
[Sysname-bgp-af-vpnv4] peer 1.1.1.1 group test
[Sysname-bgp-af-vpnv4] quit
refresh bgp vpn-instance
Description
Use the
refresh bgp vpn-instance
command to perform a soft reset of BGP connections in a VPN instance.
Syntax
refresh bgp vpn-instance
vpn-instance-name
{
ip-address
|
all
|
external
|
group
group-name
} {
export
|
import
}
View
User view
Default level
1: Monitor level
Parameters
vpn-instance-name
: Specifies the name of the VPN instance, which is a case-sensitive string of 1 to 31
characters.
ip-address
: Specifies the IP address of a peer.
all
: Performs a soft reset of all BGP VPN instance connections.
external
: Performs a soft reset of EBGP sessions.
group
group-name
: Performs a soft reset of the connections with the specified BGP peer group. The
group-
name
parameter is a string of 1 to 47 characters.
export
: Performs a soft reset in the outbound direction.
import
: Performs a soft reset in the inbound direction.
Examples
# Perform a soft reset of all BGP connections in VPN instance vpn1 in the inbound direction to make new
configurations take effect.
<Sysname> refresh bgp vpn-instance vpn1 all import
reset bgp vpn-instance
Description
Use the
reset bgp vpn-instance
command to reset the BGP connections of a specific VPN instance.
Syntax
reset bgp vpn-instance
vpn-instance-name
{
as-number
|
ip-address
|
all
|
external
|
group
group-name
}
View
User view