
334
association between a VPN instance and its reserved VLAN, you need to delete the VPN instance,
recreate it, and then specify another reserved VLAN for it.
Syntax
reserve-vlan
vlan-id
View
VPN instance view
Default level
2: System level
Parameters
vlan-id
: Specifies the ID of the VLAN to be specified as the reserved VLAN of the VPN instance, ranging
from 1 to 4094.
Examples
# Specify VLAN 100 as the reserved VLAN of VPN instance
vpn1
.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] reserve-vlan 100
reset bgp vpn-instance
Description
Use the
reset bgp vpn-instance
command to reset the BGP connections of a VPN instance.
Syntax
reset bgp vpn-instance
vpn-instance-name
{
as-number
|
ip-address
|
all
|
external
|
group
group-name
}
View
User view
Default level
1: Monitor level
Parameters
vpn-instance-name
: Resets BGP connections with the peers in a VPN instance. VPN instance name is a
case-sensitive string of 1 to 31 characters.
as-number
: Resets BGP connections with the peers in an AS identified by this number. This parameter is
ranging from 1 to 4,294,967,295.
ip-address
: Resets the connection with a BGP peer identified by this IP address.
all
: Resets all BGP connections.
external
: Resets EBGP sessions.
group
group-name
: Resets the connections with a BGP peer group identified by this name. The
group-
name
parameter is a string of 1 to 47 characters.
Examples
# Reset all BGP connections of VPN instance vpn1.
<Sysname> reset bgp vpn-instance vpn1 all