MPLS TE probe commands -- display system internal mpls te pce path-computation

Use display system internal mpls te pce path-computation to display PCE path calculation information.

Syntax

display system internal mpls te pce path-computation [ source ip-address destination ip-address ]

Views

Probe view

Predefined user roles

network-admin

mdc-admin

Parameters

source ip-address: Specifies the source IP address of a path calculation request.

destination ip-address: Specifies the destination IP address of a path calculation request.

MPLS TE probe commands -- mpls te path-calculation

Use mpls te path-calculation to perform CSPF calculation based on the constraints and return the result.

Syntax

mpls te path-calculation { destination ip-address | tunnel-interface tunnel number [ destination ip-address ] } [ bandwidth [ ct0 | ct1 | ct2 | ct3 ] bandwidth-value ] [ priority setup-priority [ hold-priority ] ] [ affinity attribute-value [ mask mask-value ] ]

Views

Probe view

Predefined user roles

network-admin

mdc-admin

Parameters

destination ip-address: Specifies the destination address for the CSPF calculation.

tunnel-interface tunnel number: Specifies the tunnel interface from which to obtain the constraints for the CSPF calculation. The number argument specifies the number of the tunnel interface. The value range varies by device model.

bandwidth [ ct0 | ct1 | ct2 | ct3 ] bandwidth-value: Specifies the bandwidth constraints for the CSPF calculation. If you do not specify a CT, the tunnel is available for CT 0.

· ct0: Specifies CT 0 for the tunnel.

· ct1: Specifies CT 1 for the tunnel.

· ct2: Specifies CT 2 for the tunnel.

· ct3: Specifies CT 3 for the tunnel.

· bandwidth-value: Specifies the bandwidth required for the MPLS TE tunnel in kbps. The value range is 1 to 4294967295.

priority setup-priority [ hold-priority ]: Specifies the setup priority and holding priority for the CSPF calculation, both in the range of 0 to 7. A smaller number represents a higher priority. If you do not specify the hold-priority argument, the holding priority is the same as the setup priority.

affinity attribute-value [ mask mask-value ]: Specifies the affinity value and the mask.

· attribute-value: Specifies the affinity value, a hexadecimal number in the range of 0 to ffffffff. An affinity is a 32-bit binary number. Each bit of the affinity represents an attribute, which takes a value of 0 or 1.

· mask-value: Specifies the mask of the affinity bits, a hexadecimal number in the range of 0 to ffffffff. A mask is a 32-bit binary number. Each bit of the mask determines whether to check the corresponding bit of the link attribute.

?span style='font:7.0pt "Times New Roman"'> If the mask bit is 1, the corresponding link attribute bit must be checked with the affinity bit and the link can be used by the tunnel only when the link attribute bit meets certain requirements.

?span style='font:7.0pt "Times New Roman"'> If the mask bit is 0, the corresponding link attribute bit is not checked. The link can be used by the tunnel.

Usage guidelines

Use this command to specify constraints for CSPF calculation, including the bandwidth constraints, the setup priority and holding priority, and the affinity attribute.

You can use one of the following methods to specify constraints:

· Use the tunnel number option to specify a tunnel interface to obtain the constraints configured on the tunnel interface.

· Use the destination, bandwidth, priority, and affinity options to manually specify the constraints.

Manually specified constraints take preference over constraints obtained from a tunnel interface.