224
Default level
2: System level
Parameters
bgp: Specifies to use BGP signaling (Kompella mode).
ldp: Specifies to use LDP signaling (the Martini mode).
Examples
# Specify that VPLS instance aaa uses the connection mode of Martini and enter VSI LDP view.
<Sysname> system-view
[Sysname] vsi aaa
[Sysname-vsi-aaa] pwsignal ldp
[Sysname-vsi-aaa-ldp]
pw-tunnel-policy
Description
Use the pw-tunnel-policy command to specify the tunneling policy for the PW class template.
Use the undo pw-tunnel-policy command to restore the default.
By default, the tunneling policy specified by the tnl-policy command in VSI view is used.
If you specify a non-existent tunneling policy in the pw-tunnel-policy command, the tunneling policy
specified by the tnl-policy command in VSI view is used.
For how to configure a tunneling policy, see the chapter “MPLS L3VPN configuration.”
Related commands: tnl-policy, tunnel policy.
Syntax
pw-tunnel-policy policy-name
undo pw-tunnel-policy
View
PW class template view
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