display ospf mpls te tunnel

Use display ospf mpls te tunnel to display MPLS TE tunnel interface information for OSPF.

Syntax

display ospf [ process-id ] [ area area-id ] mpls te tunnel

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

process-id: Specifies an OSPF process ID in the range of 1 to 65535. If you do not specify this argument, the command displays information about all OSPF processes.

area area-id: Specifies an area by its ID, an IP address or a decimal integer. The integer is in the range of 0 to 4294967295. If you specify an integer, the system will translate the integer into the IP address format. If you do not specify this option, the command displays information about all areas.

Examples

# Display MPLS TE tunnel interface information for all OSPF processes in all areas.

<Sysname> display ospf mpls te tunnel

          OSPF Process 1 with Router ID 2.2.2.2
                   Traffic Engineering Tunnel

                          Area: 0.0.0.1
Interface: Tunnel1 (12.1.1.2)
    State: Inactive
    Neighbor ID: 0.0.0.0         Cost: 0
    Destination: 125.1.1.1
    Auto Route: IGP Shortcut
    Metric: Relative  10

Table 42: Command output

Field

Description

Interface

Name and IP address of a tunnel interface.

State

Tunnel interface states:

  • Inactive—The tunnel interface is not used to forward packets, because the tunnel route is not the optimal route.

  • Active—The tunnel interface is used to forward packets, because the tunnel route is the optimal route.

Neighbor ID

Router ID for the tunnel destination.

Cost

Route cost of the tunnel interface.

Destination

LSR ID for the tunnel destination.

Auto Route

Automatic route advertisement method: IGP Shortcut or IGP Advertise.

Metric

Absolute or relative metric of the MPLS TE tunnel.