hit counter script

Configuring Mpls Static Labels For Ipv6 Prefixes - Cisco NCS 5500 Series Configuration Manual

Mpls ios xr release 6.2.x
Hide thumbs Also See for NCS 5500 Series:
Table of Contents

Advertisement

Configuring MPLS Static Labels for IPv6 Prefixes

Rectification
Label discrepancy is cleared by allocating a new label to those IP prefixes that are allocated dynamic label.
The static label configuration takes precedence while clearing discrepancy. Traffic can be affected while
clearing discrepancy.
Router# clear mpls static local-label discrepancy all
Verify that the discrepancy is cleared.
Router# show mpls static local-label all
Wed Nov 25 21:45:50.368 UTC
Label
------- --------------- ------------ ---------------- --------------- --------
24000
24035
Associated Commands
• show mpls static local-label discrepancy
• clear mpls static local-label discrepancy all
Configuring MPLS Static Labels for IPv6 Prefixes
MPLS static LSPs are created by assigning static labels to incoming IPv4/IPv6 prefixes and then specifying
the next hop address for the packets with statically assigned labels. Packets are forwarded in the LSP based
on this information. Effective with Cisco IOS-XR 6.2.2, you can assign static labels to IPv6 prefixes and set
the next hop address in the static LSP as an IPv6 address. To configure static labels for IPv6 prefixes, you
first need to configure named static LSPs and perform the remaining steps under LSP configuration mode.
Configuration Example
This example shows how to assign a static label to an IPv6 prefix and also configures an IPv6 address as the
next hop.
RP/0/0/CPU0:Router# configure terminal
RP/0/0/CPU0:Router(config)# mpls static
RP/0/0/CPU0:Router(config-mpls-static)# lsp ipv6-1
RP/0/0/CPU0:Router(config-mpls-static-lsp)# in-label 25000 allocate per-prefix 2001:DB8:0:1::
/64
RP/0/0/CPU0:Router(config-mpls-static-lsp)# forward
RP/0/0/CPU0:Router(config-mpls-static-lsp-fwd)# path 1 nexthop TenGigabitEthernet0/0/0/0
2001:DB8:0:5::64
Verification
The following examples show how to verify MPLS static labels for IPv6 prefixes.
RP/0/0/CPU0:Router# show mpls forwarding
Wed March 29 12:42:41.290 IST
Local
Label
------ ----------- ------------------
25000
RP/0/0/CPU0:Router# show mpls static lsp ipv6-1 detail
Wed March 29 12:45:55.574 IST
MPLS Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x
22
VRF
Type
default
X-Connect
default
X-Connect
out-label pop
Outgoing
Prefix
Label
or ID
Pop
2001:DB8:0:1:: /64
Prefix
RW Configured
N/A
Yes
N/A
Yes
Outgoing
Next Hop
Interface
------------
---------------
TenGigE0/0/0/0
2001:DB8:0:5::64
Implementing MPLS Static Labeling
Status
Created
Created
Bytes
Switched
------------
0

Advertisement

Table of Contents
loading

Table of Contents