EasyManuals Logo

Cisco CRS Configuration Guide

Cisco CRS
430 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #124 background imageLoading...
Page #124 background image
SUMMARY STEPS
1.
configure
2.
mpls static
3.
address-family ipv4 unicast
4.
local-label label-value allocate per-prefix IPv4_prefix_entry
5.
forward path path_id nexthop nexthop_address out-label outgoing_label
6.
Use the commit or end command.
DETAILED STEPS
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 2
mpls static
Example:
RP/0/RP0/CPU0:router(config)# mpls static
Enters MPLS-static configuration mode.
Step 3
address-family ipv4 unicast
Example:
RP/0/RP0/CPU0:router(config-mpls-static)# address-family ipv4 unicast
Applies the static configuration to an IPv4 address family in the default VRF.
Step 4
local-label label-value allocate per-prefix IPv4_prefix_entry
Example:
RP/0/RP0/CPU0:router(config-mpls-static-af)# local-label 30500 allocate per-prefix 100.1.1.0/24
The MPLS protocol requests label 30500 to be statically bound as a local label for the prefix 100.1.1.0/24.
Step 5
forward path path_id nexthop nexthop_address out-label outgoing_label
Example:
RP/0/RP0/CPU0:router(config-mpls-static-af-lbl)# forward path 1 nexthop 10.2.2.2 out-label 30501
For packets that are received with the label, 30500, the MPLS protocol swaps labels and applies the label, 30501. After
applying the new label, it forwards the packets to the next hop, 10.2.2.2.
Example:
RP/0/RP0/CPU0:router(config-mpls-static-af-lbl)# forward path 1 nexthop gigabitEthernet 0/0/0/4
out-label pop
For packets that are received with the label, 30500, the MPLS protocol removes the existing label. After removing the
label, it forwards the packets to the next hop through the egress interface, GigabitEthernet 0/0/0/4.
Step 6
Use the commit or end command.
Cisco IOS XR MPLS Configuration Guide for the Cisco CRS Router, Release 5.1.x
106
Implementing MPLS Static Labeling
Allocate Static MPLS Label to an IP Prefix and Configure a LSP

Table of Contents

Other manuals for Cisco CRS

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco CRS and is the answer not in the manual?

Cisco CRS Specifications

General IconGeneral
Operating SystemCisco IOS XR
Product TypeCore Router
Form FactorModular Chassis
DimensionsVaries by chassis type
WeightVaries by chassis type
ArchitectureDistributed
Switch FabricMulti-stage
Interface SupportEthernet, SONET/SDH, OTN
Interfaces/PortsVaries by line card
Port DensityVaries by line card
Routing ProtocolBGP, IS-IS, OSPF, MPLS
ManagementCLI, SNMP
Power SupplyRedundant, hot-swappable
CoolingRedundant, Hot-swappable Fan Trays
Supported ProtocolsIPv4, IPv6, MPLS
Management InterfacesEthernet, console
Security FeaturesACLs

Related product manuals