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


Minimum MPLS Configuration

To enable MPLS on the router, you must include at least the following statements. All other MPLS configuration statements are optional. Note that this configuration does nothing more than enable MPLS on the router and on the specified interface.

[edit]
interfaces {
    interface-name {                                                                # Required to enable MPLS on the interface 
         logical-unit-number {
            family mpls;
        }
    }
}
protocols {
    mpls { 
        interface (interface-name | all);                                                            # Required to enable MPLS on the interface
    }
    rsvp {                                                                # Required for RSVP signaled MPLS only
        interface interface-name ;
    }
}

For every interface you enable, two special routes are installed automatically in the MPLS forwarding table. One route has a label value of 0, and the second has a label value of 1. (For information about these labels, see Special Labels.)


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