
265
Default level
2: System level
Parameters
policy-name
: Specifies the name of the tunneling policy, which is a case-insensitive string of 1 to 19
characters.
Examples
# Specify tunneling policy
tp100
for PW class template
pw100
.
<Sysname> system-view
[Sysname] pw-class pw100
[Sysname-pw-pw100] pw-tunnel-policy tp100
reset bgp l2vpn
Description
Use the
reset bgp l2vpn
command to reset L2VPN BGP connections.
Syntax
reset bgp l2vpn
{
as-number
|
ip-address
|
all
|
external
|
internal
}
View
User view
Default level
1: Monitor level
Parameters
as-number
: Resets L2VPN BGP connections with the peers in the AS with this number. The AS number
must be ranging from 1 to 4,294,967,295.
ip-address
: Resets the L2VPN BGP connection to the peer with this IP address.
all
: Resets all L2VPN BGP connections.
external
: Resets L2VPN EBGP sessions.
internal
: Resets L2VPN IBGP sessions.
Examples
# Reset all L2VPN BGP connections.
<Sysname> reset bgp l2vpn all
route-distinguisher (MPLS L2VPN view)
Description
Use the
route-distinguisher
command to configure an RD for the VPN.
Different VPNs on a PE must have different RDs. A VPN can have the same or different RDs on different
PEs.
You cannot change an RD directly. You can only delete the VPN and then re-create the VPN using the
new RD.