
191
View
Tunnel interface view
Default level
2: System level
Parameters
acl
acl-number
: Configures the MPLS TE tunnel to forward only VPN traffic that matches the specified ACL.
The ACL number is ranging from 3000 to 3999.
vpn-instance
vpn-instance-name
: Configures the MPLS TE tunnel to forward only traffic of the specified
VPN. The
vpn-instance-name
parameter specifies an MPLS L3VPN by its instance name, which is a case-
sensitive string of 1 to 31 characters.
Examples
# 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 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
Description
Use the
mpls-te
command to enable the MPLS TE capability in the current OSPF area.
Use the
undo mpls-te
command to disable the MPLS TE capability in the current 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.
Related commands:
opaque-capability
.
Syntax
mpls-te enable
undo mpls-te
View
OSPF area view
Default level
2: System level