For packets labeled 1000456 arriving on interface so-0/0/0, remove the label and transmit the packets to the next-hop router at 13.3.3.3:
- [edit]
- interfaces {
-
- so-0/0/0 {
-
- unit 0 {
- family mpls;
- }
- }
- }
- protocols {
-
- mpls {
-
- interface so-0/0/0 {
-
- label-map 1000456 {
- next-hop 13.3.3.3;
- pop;
- }
- }
- }
- }
To determine whether the static egress route is installed, use the following command:
- user@host> show route table mpls.0 protocol
static
The following is a sample of the output. The pop keyword identifies the egress route.
1000456 *[Static/5] 00:01:48 > to 13.3.3.3 via so-0/0/0, pop