264
pw-class
Description
Use the pw-class command to create a PW class template and enter PW class template view.
Use the undo pw-class command to delete an existing PW class template.
By default, no PW class template is created.
Syntax
pw-class class-name
undo pw-class class-name
View
System view
Default level
2: System level
Parameters
class-name: Specifies the name of the PW class template, which is a case-insensitive string of 1 to 19
characters.
Examples
# Create PW class template pw100 and enter its view.
<Sysname> system-view
[Sysname] pw-class pw100
[Sysname-pw-pw100]
pw-tunnel-policy
Description
Use the pw-tunnel-policy command to specify the tunneling policy for a PW class template.
Use the undo pw-tunnel-policy command to restore the default.
By default, only one tunnel is selected (no load balancing) in this order: LSP tunnel, CR-LSP tunnel.
If you specify a nonexistent tunneling policy by using the pw-tunnel-policy command, the default
tunneling policy is used. The default tunneling policy selects only one tunnel (no load balancing) in this
order: LSP tunnel, CR-LSP tunnel.
For how to configure a tunneling policy, see the chapter “MPLS L3VPN configuration.”
Related commands: tunnel-policy.
Syntax
pw-tunnel-policy policy-name
undo pw-tunnel-policy
View
PW class template view