Configuring a bidirectional MPLS TE tunnel
Before you create a bidirectional MPLS TE tunnel, perform the following tasks:
Disable the PHP feature on both ends of the tunnel.
To set up a bidirectional MPLS TE tunnel in co-routed mode, you must specify the signaling protocol as RSVP-TE.
To create a bidirectional MPLS TE tunnel, create an MPLS TE tunnel interface on both ends of the tunnel and enable the bidirectional tunnel feature on the tunnel interfaces:
For a co-routed bidirectional tunnel, configure one end of the tunnel as the active end and the other end as the passive end, and specify the reverse CRLSP at the passive end.
For an associated bidirectional tunnel, specify a reverse CRLSP at both ends of the tunnel.
To configure the active end of a co-routed bidirectional MPLS TE tunnel:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter MPLS TE tunnel interface view. | interface tunnel tunnel-number [ mode mpls-te ] | N/A |
3. Configure a co-routed bidirectional MPLS TE tunnel and specify the local end as the active end of the tunnel. | mpls te bidirectional co-routed active | By default, bidirectional tunnel is disabled on the tunnel interface, and tunnels established on the tunnel interface are unidirectional MPLS TE tunnels. |
To configure the passive end of a co-routed bidirectional MPLS TE tunnel:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter MPLS TE tunnel interface view. | interface tunnel tunnel-number [ mode mpls-te ] | N/A |
3. Configure a co-routed bidirectional MPLS TE tunnel and specify the local end as the passive end of the tunnel. | mpls te bidirectional co-routed passive reverse-lsp lsr-id ingress-lsr-id tunnel-id tunnel-id | By default, bidirectional tunnel is disabled on the tunnel interface, and tunnels established on the tunnel interface are unidirectional MPLS TE tunnels. |
To configure an associated bidirectional MPLS TE tunnel:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter MPLS TE tunnel interface view. | interface tunnel tunnel-number [ mode mpls-te ] | N/A |
3. Configure an associated bidirectional MPLS TE tunnel. | mpls te bidirectional associated reverse-lsp { lsp-name lsp-name | lsr-id ingress-lsr-id tunnel-id tunnel-id } } | By default, bidirectional tunnel is disabled on the tunnel interface, and tunnels established on the tunnel interface are unidirectional MPLS TE tunnels. |