Transport protocol

This section provides transport protocol configuration examples. All sample configurations in this section are specific to the PE1 router.

LDP

In this example, LDP is enabled for use as a transport tunnel for services.

See "Label Distribution Protocol" in the 7450 ESS, 7750 SR, 7950 XRS, and VSR MPLS Guide for detailed information about LDP configuration.

See LDP for relevant information about LDP show commands.

/configure router "Base" ldp interface-parameters interface "To-P1" ipv4 admin-state enable
/configure router "Base" ldp interface-parameters interface "To-P2" ipv4 admin-state enable

RSVP-TE

In this example, RSVP-TE is enabled for use as a transport tunnel for services.

See "MPLS and RSVP" in the 7450 ESS, 7750 SR, 7950 XRS, and VSR MPLS Guide for detailed information about RSVP configuration.

See RSVP-TE for information about relevant MPLS and RSVP show commands.

Configure RSVP-TE:

/configure router "Base" rsvp admin-state enable
/configure router "Base" rsvp interface "To-P1" { }
/configure router "Base" rsvp interface "To-P2" { }
/configure router "Base" rsvp interface "system" { }

Configure MPLS:

/configure router "Base" mpls admin-state enable
/configure router "Base" mpls interface "To-P1" { }
/configure router "Base" mpls interface "To-P2" { }
/configure router "Base" mpls interface "system" { }

Configure MPLS LSP:

/configure router "Base" mpls path "loose" admin-state enable
/configure router "Base" mpls path "loose" hop 1 ip-address 10.10.10.10
/configure router "Base" mpls path "loose" hop 1 type strict
/configure router "Base" mpls lsp "lsp-to-R3" admin-state enable
/configure router "Base" mpls lsp "lsp-to-R3" type p2p-rsvp
/configure router "Base" mpls lsp "lsp-to-R3" to 10.10.10.3
/configure router "Base" mpls lsp "lsp-to-R3" path-computation-method local-cspf
/configure router "Base" mpls lsp "lsp-to-R3" { primary "loose" }

Segment routing

In this example, SR-MPLS is configured over IS-IS (SR-ISIS). SR OS also supports SR-OSPF.

See "Segment routing with MPLS data plane" in the 7750 SR and 7950 XRS Segment Routing and PCE User Guide for detailed information about SR-MPLS configuration.

See Segment routing relevant information about the SR-MPLS show commands.

Configure the MPLS label range for segment routing:

/configure router "Base" mpls-labels sr-labels start 21000
/configure router "Base" mpls-labels sr-labels end 22000

Configure segment routing for IS-IS:

/configure router "Base" isis 0 advertise-router-capability as
/configure router "Base" isis 0 traffic-engineering true
/configure router "Base" isis 0 segment-routing admin-state enable
/configure router "Base" isis 0 segment-routing prefix-sid-range global
/configure router "Base" isis 0 interface "system" ipv4-node-sid index 1

SR-TE

SR-TE can be used to build LSPs similar to RSVP-TE.

See "SR-TE MPLS support" in the 7750 SR and 7950 XRS Segment Routing and PCE User Guide for detailed information about SR-TE configuration.

See SR-TE for relevant SR-TE show commands.

This example configures a SR-TE LSP using loose hops, which allows IGP path selection.

/configure router "Base" mpls path "loose" admin-state enable
/configure router "Base" mpls lsp "lsp-sr-te-R3" admin-state enable
/configure router "Base" mpls lsp "lsp-sr-te-R3" type p2p-sr-te
/configure router "Base" mpls lsp "lsp-sr-te-R3" to 10.10.10.3
/configure router "Base" mpls lsp "lsp-sr-te-R3" path-computation-method local-cspf
/configure router "Base" mpls lsp "lsp-sr-te-R3" primary "loose" { }