Example
mpls-te enable
Syntax
View
Parameter
Description
Related command:
Example
next hop
Syntax
View
# Configure tunnel 0 to forward only traffic of VPN 1.
<Sysname> system-view
[Sysname] interface tunnel 0
[Sysname-Tunnel0] mpls te vpn-binding vpn-instance vpn1
# Configure tunnel 0 to forward only 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 enable
undo mpls-te
OSPF area view
enable: Enables the MPLS TE capability in the OSPF area.
Use the
mpls-te enable
OSPF area.
Use the
undo mpls-te
OSPF area.
By default, the MPLS TE capability is disabled in OSPF areas.
For an OSPF area to support the MPLS TE capability, its OSPF process must be
available with the opaque LSA capability.
opaque-capability.
# Enable the MPLS TE capability in OSPF area 1.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 1
[Sysname-ospf-100-area-0.0.0.1] mpls-te enable
next hop ip-address [ include [ loose | strict ] | exclude ]
Explicit path view
command to enable the MPLS TE capability in current
command to disable the MPLS TE capability in current
1637