R211x-HP Flexfabric 11900 MPLS Command Reference
299
• display l2vpn vsi
tunnel-policy
Use tunnel-policy to reference a tunnel policy.
Use undo tunnel-policy to cancel referencing the tunnel policy.
Syntax
tunnel-policy tunnel-policy-name
undo tunnel-policy
Default
No tunnel policy is referenced.
Views
Auto-discovery VSI view
Predefined user roles
network-admin
mdc-admin
Parameters
tunnel-policy-name: Specifies a tunnel policy by its name, a case-sensitive string of 1 to 19 characters.
Usage guidelines
The PWs on the auto-discovery VSI use the referenced tunnel policy to select public tunnels.
If no tunnel policy is referenced or the referenced tunnel policy does not exist, the PWs use the default
policy that selects only one public tunnel in this order: LSP tunnel, CRLSP tunnel.
Examples
# Reference the tunnel policy policy1 for the auto-discovery VSI aaa.
<Sysname> system-view
[Sysname] tunnel-policy policy1
[Sysname-tunnel-policy-policy1] quit
[Sysname] vsi aaa
[Sysname-vsi-aaa] auto-discovery bgp
[Sysname-vsi-aaa-auto] tunnel-policy policy1
Related commands
tunnel-policy
vpls-id
Use vpls-id to configure the VPLS ID of a VSI.
Use undo vpls-id to remove the VPLS ID of a VSI.
Syntax
vpls-id vpls-id
undo vpls-id










