R3303-HP HSR6800 Routers MPLS Command Reference

260
Parameters
pw-class-name: Specifies the name of the PW class, a case-insensitive string of 1 to 19 characters.
Examples
# Create PW class pw100 and enter its view.
<Sysname> system-view
[Sysname] pw-class pw100
[Sysname-pw-pw100]
pwsignal
Use pwsignal to specify the PW signaling protocol for a VPLS instance, and enter VSI-protocol view.
Syntax
pwsignal { bgp | ldp | static }
Views
VSI view
Default command level
2: System level
Parameters
bgp: Specifies the VPLS instance to use BGP signaling (Kompella mode).
ldp: Specifies the VPLS instance to use LDP signaling (Martini mode).
static: Specifies the VPLS instance to establish PWs statically.
Usage guidelines
If you specify the PW signaling protocol as LDP, you will enter VSI-LDP view.
If you specify the PW signaling protocol as BGP, you will enter VSI-BGP view.
If you specify the PW signaling protocol as static, you will enter VSI-static view.
In the same VSI view, you can create both static and LDP VPLS connections.
Examples
# Specify the PW signaling protocol as LDP for the VPLS instance aaa and enter VSI-LDP view.
<Sysname> system-view
[Sysname] vsi aaa
[Sysname-vsi-aaa] pwsignal ldp
[Sysname-vsi-aaa-ldp]
pw-tunnel-policy
Use pw-tunnel-policy to specify the tunneling policy for the PW class.
Use undo pw-tunnel-policy to restore the default.
Syntax
pw-tunnel-policy policy-name
undo pw-tunnel-policy