When configuring an MPLS path for LSPs, the IP address of each hop that the LSP should traverse on its way to the egress router must be specified. The intermediate hops must be configured as either strict or loose, meaning that the LSP must take either a direct path from the previous hop router to this router (strict) or can traverse other routers (loose).
Use the following CLI syntax to configure a path:
config>router>mpls
path path-name
hop hop-index ip-address {strict|loose}
no shutdown
The following example displays a path configuration output.
A:ALU-1>config>router>mpls# info
------------------------------------------
interface "system"
exit
path "to-NYC"
hop 1 10.10.10.103 strict
hop 2 10.10.0.210 strict
hop 3 10.10.0.215 loose
exit
path "secondary-path"
hop 1 10.10.0.121 strict
hop 2 10.10.0.145 strict
hop 3 10.10.0.1 strict
no shutdown
exit
------------------------------------------
A:ALU-1>config>router>mpls#