R2511-HP MSR Router Series MPLS Command Reference(V5)
318
vpn-instance vpn-instance-name: Configures the MPLS TE tunnel to forward only traffic of the specified
VPN. The vpn-instance-name argument specifies an MPLS L3VPN by its instance name, a case-sensitive
string of 1 to 31 characters.
Usage guidelines
The device selects a TE tunnel for forwarding VPN traffic in this order: the TE tunnel specified with an ACL,
the TE tunnel specified with a VPN instance, the TE tunnel with no restriction on traffic to be forwarded.
The device does not perform load sharing over different types of TE tunnels.
Examples
# Configure tunnel 0 to forward only traffic of the VPN vpn1.
<Sysname> system-view
[Sysname] interface tunnel 0
[Sysname-Tunnel0] mpls te vpn-binding vpn-instance vpn1
# Configure tunnel 0 to forward only the VPN traffic that matches ACL 3001.
<Sysname> system-view
[Sysname] acl number 3001
[Sysname-acl-adv-3001] rule 0 permit ip vpn-instance vpn1
[Sysname-acl-adv-3001] quit
[Sysname] interface tunnel 0
[Sysname-Tunnel0] mpls te vpn-binding acl 3001
[Sysname-Tunnel0] mpls te commit
mpls-te
Use mpls-te to enable the MPLS TE capability in the current OSPF area.
Use undo mpls-te to disable the MPLS TE capability in the current OSPF area.
Syntax
mpls-te enable
undo mpls-te
Default
The MPLS TE capability is disabled in OSPF areas.
Views
OSPF area view
Default command level
2: System level
Parameters
enable: Enables the MPLS TE capability in the OSPF area.
Usage guidelines
For an OSPF area to support the MPLS TE capability, its OSPF process must be available with the opaque
LSA capability.
Examples
# Enable the MPLS TE capability in OSPF area 1.
<Sysname> system-view










