R3303-HP 6600/HSR6600 Routers MPLS Command Reference Guide
222
pw-tunnel-policy
Use pw-tunnel-policy to specify the tunneling policy for a PW class.
Use undo pw-tunnel-policy to restore the default.
Syntax
pw-tunnel-policy policy-name
undo pw-tunnel-policy
Default
Only one tunnel is selected (no load balancing) in this order: LSP tunnel, GRE tunnel, CR-LSP tunnel.
Views
PW class view
Default command level
2: System level
Parameters
policy-name: Specifies the name of a tunneling policy, a case-insensitive string of 1 to 19 characters.
Usage guidelines
If you specify a nonexistent tunneling policy by using the pw-tunnel-policy command, the default
tunneling policy will be used, which selects only one tunnel (no load balancing) in this order: LSP tunnel,
GRE tunnel, CR-LSP tunnel. For information about how to configure a tunneling policy, see MPLS
Configuration Guide.
Examples
# Specify tunneling policy tp100 for PW class pw100.
<Sysname> system-view
[Sysname] pw-class pw100
[Sysname-pw-pw100] pw-tunnel-policy tp100
reset bgp l2vpn
Use reset bgp l2vpn to reset L2VPN BGP sessions.
Syntax
reset bgp l2vpn { as-number | ip-address | all | external | internal }
Views
User view
Default command level
2: System level
Parameters
as-number: Resets L2VPN BGP sessions with the peers in the specified AS. The AS number must be in the
range of 1 to 4294967295.
ip-address: Resets the L2VPN BGP session to the peer with the specified IP address.










