[Contents] [Prev] [Next] [Index] [Report an Error]

Example: Configuring the Ingress Router

Configure the ingress router for a static LSP that consists of three routers (see Figure 20).

Figure 20: Static MPLS Configuration

Image h1451.gif

For packets addressed to 10.0.0.0, assign label 1000123 and transmit them to the next-hop router at 11.1.1.1:

[edit]
interfaces {
so-0/0/0 {
unit 0 {
family mpls;
}
}
}
protocols {
mpls {
static-path inet {
10.0.0.0 {
next-hop 11.1.1.1;
push 1000123;
}
}
interface so-0/0/0;
}
}

To determine whether the static ingress route is installed, use the following command:

user@host> show route table inet.0 protocol static

The following is a sample of the output. The push 1000123 keyword identifies the route.

10.0.0.0/8       *[Static/5] 00:01:48
> to 11.1.1.1 via so-0/0/0, push 1000123

[Contents] [Prev] [Next] [Index] [Report an Error]