Configuring an MPLS Interface

Configure the label-map parameters if the interface is used in a static LSP. To configure an MPLS interface on a router, enter the following commands:

config>router>mpls
    — interface
        — no shutdown
        — admin-group group-name [group-name...(up to 32 max)]
        — label-map
            — pop
            — swap
            — no shutdown
        — srlg-group group-name [group-name...(up to 5 max)]
        — te-metric value

The following displays an interface configuration example:

A:ALA-1>config>router>mpls# info
----------------------------------------------
...
            interface "to-104"
                admin-group "green"
                admin-group "red"
                admin-group "yellow"
                label-map 35
                    swap 36 nexthop 10.10.10.91
                    no shutdown
                exit
            exit
            no shutdown
...
----------------------------------------------
A:ALA-1>config>router>mpls#