This section provides information to configure MPLS and provides configuration examples of common configuration tasks. To enable MPLS on the 7210 SAS, you must configure at least one MPLS interface. The other MPLS configuration parameters are optional. The following is an example of an MPLS configuration.
The admin-group is configured in the config>router>if-attribute context and associated with the MPLS interface in the config>router>mpls>interface context.
ALA-1>config>router>if-attr# info
----------------------------------------------
admin-group "green" value 15
admin-group "yellow" value 20
admin-group "red" value 25
----------------------------------------------
A:ALA-1>config>router>mpls# info
#--------------------------------------------------
echo "IP Configuration"
#--------------------------------------------------
if-attribute
admin-group "green" 15
admin-group "yellow" 20
admin-group "red" 25
interface "system"
exit
interface "StaticLabelPop"
admin-group "green"
label-map 50
pop
no shutdown
exit
exit
interface "StaticLabelPop"
label-map 35
swap 36 nexthop 10.10.10.91
no shutdown
exit
exit
path "secondary-path"
no shutdown
exit
path "to-NYC"
hop 1 10.10.10.104 strict
no shutdown
exit
lsp "lsp-to-eastcoast"
to 10.10.10.104
from 10.10.10.103
fast-reroute one-to-one
exit
primary "to-NYC"
exit
secondary "secondary-path"
exit
no shutdown
exit
static-lsp "StaticLabelPush"
to 10.10.11.105
push 60 nexthop 10.10.11.105
no shutdown
exit
no shutdown
----------------------------------------------
A:ALA-1>config>router>mpls#