beautypg.com

Configuring a tunnel interface, Configuring ds-te, Required.) – H3C Technologies H3C S6800 Series Switches User Manual

Page 77

background image

64

Configuring a tunnel interface

To configure an MPLS TE tunnel, you must create an MPLS TE tunnel interface and enter tunnel interface
view. All MPLS TE tunnel attributes are configured in tunnel interface view. For more information about

tunnel interfaces, see Layer 3—IP Services Configuration Guide.
Perform this task on the ingress node of the MPLS TE tunnel.
To configure a tunnel interface:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create an MPLS TE tunnel
interface and enter tunnel

interface view.

interface tunnel tunnel-number
mode mpls-te

By default, no tunnel interface is
created.

3.

Configure an IP address for
the tunnel interface.

ip address ip-address { mask-length
| mask }

By default, a tunnel interface does
not have an IP address.

4.

Specify the tunnel destination
address.

destination ip-address

By default, no tunnel destination
address is specified.

Configuring DS-TE

DS-TE is configurable on any node that an MPLS TE tunnel traverses.
To configure DS-TE:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter MPLS TE view.

mpls te

N/A

3.

(Optional.) Configure the DS-TE
mode as IETF.

ds-te mode ietf

By default, the DS-TE mode is
prestandard.

4.

(Optional.) Configure the BC
model of IETF DS-TE as MAM.

ds-te bc-model mam

By default, the BC model of IETF
DS-TE is RDM.

5.

Configure a TE class.

ds-te te-class te-class-index
class-type class-type-number

priority pri-number

The default TE classes for IETF mode
are shown in

Table 1

.

In prestandard mode, you cannot
configure TE classes.

Table 1 Default TE classes in IETF mode

TE Class

CT

Priority

0 0 7

1 1 7

2 2 7

3 3 7