R3303-HP HSR6800 Routers MPLS Command Reference

265
[Sysname] vsi vpn1 static
[Sysname-vsi-vpn1] pwsignal static
[Sysname-vsi-vpn1-static] peer 1.1.1.9 backup-peer 2.2.2.9 backup-pw-id 300
[Sysname-vsi-vpn1-static-1.1.1.9] static label local 100 remote 200
[Sysname-vsi-vpn1-static-1.1.1.9] static backup-label local 200 remote 300
static label (L2VPN peer view)
Use static label to configure VC labels for a primary VC.
Use undo static label to delete the VC labels configured for the primary VC.
Syntax
static label local local-vc remote remote-vc
undo static label
Default
No VC labels are configured for a primary VC.
Views
L2VPN peer view
Default command level
2: System level
Parameters
local local-vc: Specifies the local VC label in the range of 16 to 1023.
remote remote-vc: Specifies the remote VC label in the range of 16 to 1023.
Usage guidelines
When you configure a static VPLS connection, you must manually specify VC labels for the VC. Make
sure that VC labels specified on the local device match those on the remote device.
Examples
# Configure the local VC label as 100 and remote VC label as 200 for the primary VC of the static VPLS
instance vpn1.
<Sysname> system-view
[Sysname] vsi vpn1 static
[Sysname-vsi-vpn1] pwsignal static
[Sysname-vsi-vpn1-static] peer 1.1.1.9 backup-peer 2.2.2.9 backup-pw-id 300
[Sysname-vsi-vpn1-static-1.1.1.9] static label local 100 remote 200
tnl-policy
Use tnl-policy to specify a tunneling policy for a VPLS instance.
Use undo tnl-policy to remove the configuration.
Syntax
tnl-policy tunnel-policy-name
undo tnl-policy