Figure 140 shows a normal SPF tree sourced by PE-1 (Provider Edge-1).
The network topology used in this example is displayed in Figure 142. The setup consists of six 7750 service routers. There is a single AS and a single IGP area. The following configuration tasks should be completed first:
Note: In all figures, Lb stands for Loopback and
Sys stands for the system IP addresses.
*A:PE-2#configure router
#--------------------------------------------------
echo "IP Configuration"
#--------------------------------------------------
interface "int-PE-2-PE-1"
address 192.168.12.2/30
port 1/1/1:1
exit
interface "int-PE-2-PE-3"
address 192.168.23.1/30
port 1/1/2:1
exit
interface "int-PE-2-PE-4"
address 192.168.24.1/30
port 1/1/4:1
exit
interface "system"
address 192.0.2.2/32
exit
#--------------------------------------------------
echo "ISIS Configuration"
#--------------------------------------------------
isis
level-capability level-1/2 ## default
area-id 49.0001
traffic-engineering
interface "system"
passive
exit
interface "int-PE-2-PE-1"
interface-type point-to-point
exit
interface "int-PE-2-PE-3"
interface-type point-to-point
exit
interface "int-PE-2-PE-4"
interface-type point-to-point
exit
exit
*A:PE-2# show router route-table
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
192.0.2.1/32 Remote ISIS 16h07m38s 15
192.168.12.1 10
192.0.2.2/32 Local Local 16h15m08s 0
system 0
192.0.2.3/32 Remote ISIS 16h11m32s 15
192.168.23.2 10
192.0.2.4/32 Remote ISIS 16h03m59s 15
192.168.24.2 10
192.0.2.5/32 Remote ISIS 16h00m18s 15
192.168.23.2 20
192.0.2.6/32 Remote ISIS 16h03m59s 15
192.168.24.2 20
192.168.12.0/30 Local Local 16h14m56s 0
int-PE-2-PE-1 0
192.168.13.0/30 Remote ISIS 16h07m38s 15
192.168.12.1 20
192.168.23.0/30 Local Local 16h14m56s 0
int-PE-2-PE-3 0
192.168.24.0/30 Local Local 16h04m23s 0
int-PE-2-PE-4 0
192.168.35.0/30 Remote ISIS 16h00m18s 15
192.168.23.2 20
192.168.45.0/30 Remote ISIS 00h21m29s 15
192.168.24.2 20
192.168.46.0/30 Remote ISIS 16h03m59s 15
192.168.24.2 20
192.168.56.0/30 Remote ISIS 16h00m18s 15
192.168.23.2 30
-------------------------------------------------------------------------------
No. of Routes: 14
===============================================================================
A:PE-4>configure router ldp
interface-parameters
interface "int-PE-4-PE-2"
exit
interface "int-PE-4-PE-5"
exit
interface "int-PE-4-PE-6"
exit
exit
targeted-session
exit
*A:PE-4# show router ldp session
==============================================================================
LDP Sessions
==============================================================================
Peer LDP Id Adj Type State Msg Sent Msg Recv Up Time
------------------------------------------------------------------------------
192.0.2.2:0 Link Established 276 275 0d 00:12:23
192.0.2.5:0 Link Established 2629 2632 0d 02:01:20
192.0.2.6:0 Link Established 225 226 0d 00:10:06
------------------------------------------------------------------------------
No. of Sessions: 3
==============================================================================
*A:PE-4# show router tunnel-table
===============================================================================
Tunnel Table (Router: Base)
===============================================================================
Destination Owner Encap TunnelId Pref Nexthop Metric
-------------------------------------------------------------------------------
192.0.2.1/32 ldp MPLS - 9 192.168.24.1 20
192.0.2.2/32 ldp MPLS - 9 192.168.24.1 10
192.0.2.3/32 ldp MPLS - 9 192.168.24.1 20
192.0.2.5/32 ldp MPLS - 9 192.168.45.2 10
192.0.2.6/32 ldp MPLS - 9 192.168.46.2 10
===============================================================================
*A:PE-6#configure router
mpls
interface "system"
exit
interface "int-PE-6-PE-5"
exit
interface "int-PE-6-PE-4"
exit
exit
rsvp
interface "system"
exit
interface "int-PE-6-PE-5"
exit
interface "int-PE-6-PE-4"
exit
no shutdown
exit
The configuration of the other nodes is similar. The IP addresses can be derived from Figure 142. Because there are no RSVP LSPs configured yet, the tunnel-table has no RSVP LSPs and only contains LDP LSPs.
*A:PE-1>config router
#--------------------------------------------------
echo "IP Configuration"
#--------------------------------------------------
interface "int-PE-1-PE-2"
address 192.168.12.1/30
port 1/1/2:1
exit
interface "int-PE-1-PE-3"
address 192.168.13.1/30
port 1/1/1:1
exit
interface "loopback"
address 172.16.1.1/32
loopback
exit
interface "system"
address 192.0.2.1/32
exit
#--------------------------------------------------
echo "Static Route Configuration"
#--------------------------------------------------
static-route 172.16.6.1/32 indirect 192.0.2.6 ldp disallow-igp
*A:PE-1# show router fib 1
===============================================================================
FIB Display
===============================================================================
Prefix Protocol
NextHop
-------------------------------------------------------------------------------
172.16.1.1/32 LOCAL
172.16.1.1 (loopback)
172.16.6.1/32 STATIC
192.0.2.6 (Transport:LDP)
* Truncated info
*A:PE-1# ping 172.16.6.1 source 172.16.1.1
PING 172.16.6.1 56 data bytes
64 bytes from 172.16.6.1: icmp_seq=1 ttl=64 time=4.08ms.
64 bytes from 172.16.6.1: icmp_seq=2 ttl=64 time=3.80ms.
64 bytes from 172.16.6.1: icmp_seq=3 ttl=64 time=4.77ms.
64 bytes from 172.16.6.1: icmp_seq=4 ttl=64 time=3.85ms.
64 bytes from 172.16.6.1: icmp_seq=5 ttl=64 time=3.83ms.
---- 172.16.6.1 PING Statistics ----
5 packets transmitted, 5 packets received, 0.00% packet loss
round-trip min = 3.80ms, avg = 4.07ms, max = 4.77ms, stddev = 0.371ms
*A:PE-1# traceroute 172.16.6.1 source 172.16.1.1
traceroute to 172.16.6.1 from 172.16.1.1, 30 hops max, 40 byte packets
1 0.0.0.0 * * *
2 0.0.0.0 * * *
3 172.16.6.1 (172.16.6.1) 4.64 ms 9.87 ms 5.84 ms
However, a service provider might not want to show how many MPLS hops (nodes) there are in their network if a traceroute command is executed from outside their network. To prevent internal hops being shown, no
propagate commands are needed in the LDP configuration, as shown below. This is known as pipe mode.
*A:PE-1#config router ldp
no shortcut-local-ttl-propagate
no shortcut-transit-ttl-propagate
interface-parameters
interface "int-PE-1-PE-2"
exit
interface "int-PE-1-PE-3"
exit
exit
targeted-session
exit
*A:PE-1# traceroute 172.16.6.1 source 172.16.1.1
traceroute to 172.16.6.1 from 172.16.1.1, 30 hops max, 40 byte packets
1 172.16.6.1 (172.16.6.1) 5.08 ms 4.73 ms 4.77 ms
*A:PE-6>config router
#--------------------------------------------------
echo "IP Configuration"
#--------------------------------------------------
interface "int-PE-6-PE-4"
address 192.168.46.2/30
port 1/1/2:1
exit
interface "int-PE-6-PE-5"
address 192.168.56.2/30
port 1/1/4:1
exit
interface "loopback"
address 172.16.6.1/32
loopback
exit
interface "system"
address 192.0.2.6/32
exit
#--------------------------------------------------
echo "Static Route Configuration"
#--------------------------------------------------
static-route 172.16.1.1/32 indirect 192.0.2.1 rsvp-te disallow-igp
*A:PE-6>config router mpls
interface "system"
exit
interface "int-PE-6-PE-5"
exit
interface "int-PE-6-PE-4"
exit
path "p"
no shutdown
exit
lsp "LSP-PE-6-PE-1"
to 192.0.2.1
primary "p"
exit
no shutdown
exit
no shutdown
*A:PE-6>config>router# show router tunnel-table
===============================================================================
Tunnel Table (Router: Base)
===============================================================================
Destination Owner Encap TunnelId Pref Nexthop Metric
-------------------------------------------------------------------------------
192.0.2.1/32 rsvp MPLS 1 7 192.168.56.1 30
===============================================================================
*A:PE-6# show router route-table
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
172.16.1.1/32 Remote Static 00h09m55s 5
192.0.2.1 (tunneled:RSVP:1) 1
*Truncated info
-------------------------------------------------------------------------------
No. of Routes: 16
===============================================================================
*A:PE-6#config router mpls
no shortcut-local-ttl-propagate
no shortcut-transit-ttl-propagate
*A:PE-6# traceroute 172.16.1.1 source 172.16.6.1
traceroute to 172.16.1.1 from 172.16.6.1, 30 hops max, 40 byte packets
1 172.16.1.1 (172.16.1.1) 4.71 ms 24.7 ms 17.2 ms
When LDP shortcuts are enabled, LDP populates the RTM (Route Table Manager) with next-hop entries corresponding to all prefixes for which it activated an LDP Forwarding Equivalence Class (FEC). For a given prefix, two route entries are populated in RTM. One corresponds to the LDP shortcut next-hop and has an owner of LDP. The other one is the regular IP next-hop. The LDP shortcut next-hop always takes preference over the regular IP next-hop for forwarding user packets and specific control packets over a given outgoing interface to the route next-hop.
*A:PE-1#config router ldp-shortcut
*A:PE-1>config>router# show router route-table
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
192.0.2.1/32 Local Local 23h57m47s 0
system 0
192.0.2.2/32 Remote LDP 00h00m04s 9
192.168.12.2 (tunneled) 10
192.0.2.3/32 Remote LDP 00h00m04s 9
192.168.13.2 (tunneled) 10
192.0.2.4/32 Remote LDP 00h00m04s 9
192.168.12.2 (tunneled) 20
192.0.2.5/32 Remote LDP 00h00m04s 9
192.168.13.2 (tunneled) 20
192.0.2.6/32 Remote LDP 00h00m04s 9
192.168.12.2 (tunneled) 30
192.168.12.0/30 Local Local 23h57m33s 0
int-PE-1-PE-2 0
192.168.13.0/30 Local Local 02h40m29s 0
int-PE-1-PE-3 0
192.168.23.0/30 Remote ISIS 02h30m22s 15
192.168.12.2 20
192.168.24.0/30 Remote ISIS 23h53m58s 15
192.168.12.2 20
192.168.35.0/30 Remote ISIS 02h40m28s 15
192.168.13.2 20
192.168.45.0/30 Remote ISIS 02h30m22s 15
192.168.12.2 30
192.168.46.0/30 Remote ISIS 23h53m53s 15
192.168.12.2 30
192.168.56.0/30 Remote ISIS 02h40m28s 15
192.168.13.2 30
-------------------------------------------------------------------------------
No. of Routes: 14
*A:PE-1>config>router# show router fib 1
===============================================================================
FIB Display
===============================================================================
Prefix Protocol
NextHop
-------------------------------------------------------------------------------
192.0.2.1/32 LOCAL
192.0.2.1 (system)
192.0.2.2/32 LDP
192.0.2.2 (Transport:LDP)
192.0.2.3/32 LDP
192.0.2.3 (Transport:LDP)
192.0.2.4/32 LDP
192.0.2.4 (Transport:LDP)
192.0.2.5/32 LDP
192.0.2.5 (Transport:LDP)
192.0.2.6/32 LDP
192.0.2.6 (Transport:LDP)
192.168.12.0/30 LOCAL
192.168.12.0 (int-PE-1-PE-2)
192.168.13.0/30 LOCAL
192.168.13.0 (int-PE-1-PE-3)
192.168.23.0/30 ISIS
192.168.12.2 (int-PE-1-PE-2)
192.168.24.0/30 ISIS
192.168.12.2 (int-PE-1-PE-2)
192.168.35.0/30 ISIS
192.168.13.2 (int-PE-1-PE-3)
192.168.45.0/30 ISIS
192.168.12.2 (int-PE-1-PE-2)
192.168.46.0/30 ISIS
192.168.12.2 (int-PE-1-PE-2)
192.168.56.0/30 ISIS
192.168.13.2 (int-PE-1-PE-3)
-------------------------------------------------------------------------------
Total Entries : 14
By default, rsvp-shortcut is disabled in all IGP instances.
The next output shows the configuration commands:
*A:PE>config>router>isis/ospf
- rsvp-shortcut
*A:PE>config>router>mpls>lsp#no igp-shortcut
A:PE-2>config>router>isis# multicast-import
- multicast-import [both]
- multicast-import [ipv4]
- multicast-import [ipv6]
- no multicast-import [both]
- no multicast-import [ipv4]
- no multicast-import [ipv6]
<ipv4> : keyword
<ipv6> : keyword
<both> : keyword
*A:PE-6#config router isis
area-id 49.0001
traffic-engineering
rsvp-shortcut
interface "system"
passive
exit
interface "int-PE-6-PE-5"
interface-type point-to-point
exit
interface "int-PE-6-PE-4"
interface-type point-to-point
exit
exit
*A:PE-6#config router mpls
path "PE-1"
hop 1 192.0.2.5 strict
hop 2 192.0.2.3 strict
hop 3 192.0.2.2 strict
hop 4 192.0.2.1 strict
no shutdown
exit
lsp "LSP-PE-6-PE-1"
to 192.0.2.1
primary "PE-1"
exit
no shutdown
exit
no shutdown
exit
*A:PE-6# show router route-table
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
172.16.6.1/32 Local Local 21h40m00s 0
loopback 0
192.0.2.1/32 Remote ISIS 00h00m07s 15
192.0.2.1 (tunneled:RSVP:1) 16777215
192.0.2.2/32 Remote ISIS 00h00m07s 15
192.168.46.1 20
192.0.2.3/32 Remote ISIS 01d22h34m 15
192.168.56.1 20
192.0.2.4/32 Remote ISIS 01d22h42m 15
192.168.46.1 10
192.0.2.5/32 Remote ISIS 07d22h10m 15
192.168.56.1 10
192.0.2.6/32 Local Local 07d22h12m 0
system 0
192.168.12.0/30 Remote ISIS 00h00m07s 15
192.168.46.1 30
192.168.13.0/30 Remote ISIS 00h00m07s 15
192.168.56.1 30
192.168.23.0/30 Remote ISIS 00h00m07s 15
192.168.46.1 30
192.168.24.0/30 Remote ISIS 01d22h42m 15
192.168.46.1 20
192.168.35.0/30 Remote ISIS 07d22h10m 15
192.168.56.1 20
192.168.45.0/30 Remote ISIS 01d01h14m 15
192.168.46.1 20
192.168.46.0/30 Local Local 03d08h47m 0
int-PE-6-PE-4 0
192.168.56.0/30 Local Local 07d22h11m 0
int-PE-6-PE-5 0
-------------------------------------------------------------------------------
No. of Routes: 15
*A:PE-6# show router route-table
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
192.0.2.1/32 Remote ISIS 00h00m07s 15
192.0.2.1 (tunneled:RSVP:1) 16777215
* Truncated info 0
-------------------------------------------------------------------------------
No. of Routes: 15
*A:PE-6#config router isis
advertise-tunnel-link
A:PE-6>config>router# show router route-table 192.0.2.1/32
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
192.0.2.1/32 Remote ISIS 00h00m01s 15
192.168.46.1 30
-------------------------------------------------------------------------------
No. of Routes: 1
*A:PE-6#config router mpls
lsp "LSP-PE-6-PE-1" metric 30
A:PE-6>config>router# show router route-table 192.0.2.1
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
192.0.2.1/32 Remote ISIS 00h00m02s 15
192.0.2.1 (tunneled:RSVP:1) 30
-------------------------------------------------------------------------------
No. of Routes: 1
A:PE-6>config>router# ecmp 2
A:PE-6>config>router# show router route-table 192.0.2.1
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
192.0.2.1/32 Remote ISIS 00h00m00s 15
192.0.2.1 (tunneled:RSVP:1) 30
192.0.2.1/32 Remote ISIS 00h00m00s 15
192.168.46.1 30
-------------------------------------------------------------------------------
No. of Routes: 2
*A:PE-4# show router route-table
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
192.0.2.1/32 Remote ISIS 05h55m29s 15
192.168.24.1 20
192.0.2.2/32 Remote ISIS 02d04h33m 15
192.168.24.1 10
192.0.2.3/32 Remote ISIS 01d07h09m 15
192.168.24.1 20
192.0.2.4/32 Local Local 02d04h37m 0
system 0
192.0.2.5/32 Remote ISIS 01d12h50m 15
192.168.45.2 10
192.0.2.6/32 Remote ISIS 05h51m47s 15
192.168.46.2 10
192.168.12.0/30 Remote ISIS 02d04h33m 15
192.168.24.1 20
192.168.13.0/30 Remote ISIS 05h55m29s 15
192.168.24.1 30
192.168.23.0/30 Remote ISIS 02d04h33m 15
192.168.24.1 20
192.168.24.0/30 Local Local 02d04h37m 0
int-PE-4-PE-2 0
192.168.35.0/30 Remote ISIS 01d12h50m 15
192.168.45.2 20
192.168.45.0/30 Local Local 01d12h50m 0
int-PE-4-PE-5 0
192.168.46.0/30 Local Local 02d04h37m 0
int-PE-4-PE-6 0
192.168.56.0/30 Remote ISIS 01d07h09m 15
192.168.45.2 20
-------------------------------------------------------------------------------
No. of Routes: 14
===============================================================================
*A:PE-6#config router mpls
lsp "LSP-PE-6-PE-1" metric 9
*A:PE-4# show router route-table
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
192.0.2.1/32 Remote ISIS 00h00m10s 15
192.168.46.2 19
* Truncated info
-------------------------------------------------------------------------------
No. of Routes: 14
===============================================================================
*A:PE-6# show router route-table
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
172.16.6.1/32 Local Local 01d03h55m 0
loopback 0
192.0.2.1/32 Remote ISIS 00h02m58s 15
192.0.2.1 (tunneled:RSVP:1) 9
192.0.2.2/32 Remote ISIS 00h02m58s 15
192.0.2.1 (tunneled:RSVP:1) 19
192.0.2.3/32 Remote ISIS 06h11m33s 15
192.168.56.1 20
192.0.2.4/32 Remote ISIS 06h11m33s 15
192.168.46.1 10
192.0.2.5/32 Remote ISIS 06h11m33s 15
192.168.56.1 10
192.0.2.6/32 Local Local 08d04h27m 0
system 0
192.168.12.0/30 Remote ISIS 00h02m58s 15
192.0.2.1 (tunneled:RSVP:1) 19
192.168.13.0/30 Remote ISIS 00h02m58s 15
192.0.2.1 (tunneled:RSVP:1) 19
192.168.23.0/30 Remote ISIS 00h02m58s 15
192.0.2.1 (tunneled:RSVP:1) 29
192.168.24.0/30 Remote ISIS 06h11m33s 15
192.168.46.1 20
192.168.35.0/30 Remote ISIS 06h11m33s 15
192.168.56.1 20
192.168.45.0/30 Remote ISIS 06h11m33s 15
192.168.46.1 20
192.168.46.0/30 Local Local 03d15h03m 0
int-PE-6-PE-4 0
192.168.56.0/30 Local Local 08d04h27m 0
int-PE-6-PE-5 0
-------------------------------------------------------------------------------
No. of Routes: 15
===============================================================================
Table 5 provides a summary of the outcome when configuring the forwarding adjacency, LDPoRSVP and RSVP shortcut options at both the IGP instance level and at the LSP level.
It is possible to use relative metrics for IGP shortcuts as per RFC 3906, Calculating Interior Gateway Protocol (IGP) Routes Over Traffic Engineering Tunnels, with the following command:
config router mpls lsp <lsp-name> igp-shortcut relative-metric <offset>
The relative-metric option is ignored when advertise-tunnel-link is enabled in IS-IS or OSPF, in that case, the IGP advertises the LSP as a P2P unnumbered link using the LSP operational metric.
The relative-metric option is mutually exclusive with the
lfa-protect or the
lfa-only options. An LSP with
relative-metric option enabled cannot be included in the LFA SPF and vice-versa when the
rsvp-shortcut option is enabled in the IGP (see
LDP/IP FRR LFA for IGP Shortcut Using IS-IS/OSPF for more information).
A:PE-6>config>router>mpls>lsp LSP-PE-6-PE-1-2# info
----------------------------------------------
to 192.0.2.1
cspf
igp-shortcut relative-metric -10
primary "p"
exit
no shutdown
A:PE-6# show router tunnel-table 192.0.2.1
===============================================================================
Tunnel Table (Router: Base)
===============================================================================
Destination Owner Encap TunnelId Pref Nexthop Metric
-------------------------------------------------------------------------------
192.0.2.1/32 rsvp MPLS 4 7 192.168.56.1 30
-------------------------------------------------------------------------------
A:PE-6# show router route-table 192.0.2.1
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
192.0.2.1/32 Remote ISIS 00h00m23s 15
192.0.2.1 (tunneled:RSVP:4) 20
-------------------------------------------------------------------------------
No. of Routes: 1
configure router mpls lsp <lsp-name> igp-shortcut lfa-protect
configure router mpls lsp <lsp-name> igp-shortcut lfa-only
A:PE-2# configure router isis loopfree-alternate
A:PE-2# configure router ip-fast-reroute
A:PE-2# configure router ldp fast-reroute
A:PE-2# show router isis lfa-coverage
===============================================================================
LFA Coverage
===============================================================================
Topology Level Node IPv4 IPv6
-------------------------------------------------------------------------------
IPV4 Unicast L1 4/5(80%) 7/10(70%) 0/0(0%)
IPV6 Unicast L1 0/0(0%) 0/0(0%) 0/0(0%)
IPV4 Multicast L1 0/0(0%) 0/0(0%) 0/0(0%)
IPV6 Multicast L1 0/0(0%) 0/0(0%) 0/0(0%)
IPV4 Unicast L2 4/5(80%) 7/10(70%) 0/0(0%)
IPV6 Unicast L2 0/0(0%) 0/0(0%) 0/0(0%)
IPV4 Multicast L2 0/0(0%) 0/0(0%) 0/0(0%)
IPV6 Multicast L2 0/0(0%) 0/0(0%) 0/0(0%)
===============================================================================
A:PE-1>config>router# show router isis lfa-coverage
===============================================================================
LFA Coverage
===============================================================================
Topology Level Node IPv4 IPv6
-------------------------------------------------------------------------------
IPV4 Unicast L1 5/5(100%) 11/11(100%) 0/0(0%)
IPV6 Unicast L1 0/0(0%) 0/0(0%) 0/0(0%)
IPV4 Multicast L1 0/0(0%) 0/0(0%) 0/0(0%)
IPV6 Multicast L1 0/0(0%) 0/0(0%) 0/0(0%)
IPV4 Unicast L2 5/5(100%) 11/11(100%) 0/0(0%)
IPV6 Unicast L2 0/0(0%) 0/0(0%) 0/0(0%)
IPV4 Multicast L2 0/0(0%) 0/0(0%) 0/0(0%)
IPV6 Multicast L2 0/0(0%) 0/0(0%) 0/0(0%)
===============================================================================
A:PE-2# show router route-table alternative | match LFA pre-lines 2
192.0.2.1/32 Remote ISIS 00h44m46s 15
192.168.12.1 10
192.168.23.2 (LFA) 20
192.0.2.3/32 Remote ISIS 00h44m46s 15
192.168.23.2 10
192.168.12.1 (LFA) 20
192.0.2.5/32 Remote ISIS 00h44m46s 15
192.168.23.2 20
192.168.24.2 (LFA) 20
192.0.2.6/32 Remote ISIS 00h44m46s 15
192.168.24.2 20
192.168.23.2 (LFA) 30
192.168.13.0/30 Remote ISIS 00h44m46s 15
192.168.12.1 20
192.168.23.2 (LFA) 30
192.168.35.0/30 Remote ISIS 00h44m46s 15
192.168.23.2 20
192.168.12.1 (LFA) 30
192.168.56.0/30 Remote ISIS 00h44m46s 15
192.168.23.2 30
192.168.24.2 (LFA) 30
A:PE-2>config>router>mpls# info
--------------------------------------------
path "to-PE-5-LFA"
hop 1 192.0.2.3 strict
hop 2 192.0.2.5 strict
no shutdown
exit
lsp "LSP-PE-2-PE-5"
to 192.0.2.5
igp-shortcut lfa-only
primary "to-PE-5-LFA"
exit
no shutdown
exit
A:PE-2# show router isis lfa-coverage
===============================================================================
LFA Coverage
===============================================================================
Topology Level Node IPv4 IPv6
-------------------------------------------------------------------------------
IPV4 Unicast L1 5/5(100%) 10/10(100%) 0/0(0%)
IPV6 Unicast L1 0/0(0%) 0/0(0%) 0/0(0%)
IPV4 Multicast L1 0/0(0%) 0/0(0%) 0/0(0%)
IPV6 Multicast L1 0/0(0%) 0/0(0%) 0/0(0%)
IPV4 Unicast L2 5/5(100%) 10/10(100%) 0/0(0%)
IPV6 Unicast L2 0/0(0%) 0/0(0%) 0/0(0%)
IPV4 Multicast L2 0/0(0%) 0/0(0%) 0/0(0%)
IPV6 Multicast L2 0/0(0%) 0/0(0%) 0/0(0%)
===============================================================================
*A:PE-2# show router route-table alternative | match LFA pre-lines 2
192.0.2.1/32 Remote ISIS 01h22m11s 15
192.168.12.1 10
192.168.23.2 (LFA) 20
192.0.2.3/32 Remote ISIS 01h22m11s 15
192.168.23.2 10
192.168.12.1 (LFA) 20
192.0.2.4/32 Remote ISIS 01h22m11s 15
192.168.24.2 10
192.0.2.5 (LFA) (tunneled:RSVP:5) 16777225
192.0.2.5/32 Remote ISIS 00h04m52s 15
192.168.23.2 20
192.168.24.2 (LFA) 20
192.0.2.6/32 Remote ISIS 01h22m11s 15
192.168.24.2 20
192.168.23.2 (LFA) 30
192.168.13.0/30 Remote ISIS 01h22m11s 15
192.168.12.1 20
192.168.23.2 (LFA) 30
192.168.35.0/30 Remote ISIS 00h04m52s 15
192.168.23.2 20
192.168.12.1 (LFA) 30
192.168.45.0/30 Remote ISIS 01h22m11s 15
192.168.24.2 20
192.0.2.5 (LFA) (tunneled:RSVP:5) 16777235
192.168.46.0/30 Remote ISIS 01h22m11s 15
192.168.24.2 20
192.0.2.5 (LFA) (tunneled:RSVP:5) 16777235
192.168.56.0/30 Remote ISIS 00h04m52s 15
192.168.23.2 30
192.168.24.2 (LFA) 30
A:PE-2# show router tunnel-table 192.0.2.5
===============================================================================
Tunnel Table (Router: Base)
===============================================================================
Destination Owner Encap TunnelId Pref Nexthop Metric
-------------------------------------------------------------------------------
192.0.2.5/32 rsvp MPLS 5 7 192.168.23.2 16777215
-------------------------------------------------------------------------------
A:PE-2# configure router mpls lsp "LSP-PE-2-PE-5" igp-shortcut lfa-protect
A:PE-2# show router isis lfa-coverage
===============================================================================
LFA Coverage
===============================================================================
Topology Level Node IPv4 IPv6
-------------------------------------------------------------------------------
IPV4 Unicast L1 4/4(100%) 9/8(112%) 0/0(0%)
IPV6 Unicast L1 0/0(0%) 0/0(0%) 0/0(0%)
IPV4 Multicast L1 0/0(0%) 0/0(0%) 0/0(0%)
IPV6 Multicast L1 0/0(0%) 0/0(0%) 0/0(0%)
IPV4 Unicast L2 4/4(100%) 9/8(112%) 0/0(0%)
IPV6 Unicast L2 0/0(0%) 0/0(0%) 0/0(0%)
IPV4 Multicast L2 0/0(0%) 0/0(0%) 0/0(0%)
IPV6 Multicast L2 0/0(0%) 0/0(0%) 0/0(0%)
A:PE-2# show router route-table alternative
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
Alt-NextHop Alt-
Metric
-------------------------------------------------------------------------------
192.0.2.1/32 Remote ISIS 01h32m11s 15
192.168.12.1 10
192.168.23.2 (LFA) 20
192.0.2.2/32 Local Local 05h05m04s 0
system 0
192.0.2.3/32 Remote ISIS 01h32m11s 15
192.168.23.2 10
192.168.12.1 (LFA) 20
192.0.2.4/32 Remote ISIS 01h32m11s 15
192.168.24.2 10
192.0.2.5 (LFA) (tunneled:RSVP:5) 16777225
192.0.2.5/32 Remote ISIS 00h03m07s 15
192.0.2.5 (tunneled:RSVP:5) 16777215
192.0.2.6/32 Remote ISIS 01h32m11s 15
192.168.24.2 20
192.168.23.2 (LFA) 30
192.168.12.0/30 Local Local 05h04m51s 0
int-PE-2-PE-1 0
192.168.13.0/30 Remote ISIS 01h32m11s 15
192.168.12.1 20
192.168.23.2 (LFA) 30
192.168.23.0/30 Local Local 05h04m51s 0
int-PE-2-PE-3 0
192.168.24.0/30 Local Local 05h04m51s 0
int-PE-2-PE-4 0
192.168.35.0/30 Remote ISIS 00h03m07s 15
192.168.23.2 20
192.168.12.1 (LFA) 30
192.168.45.0/30 Remote ISIS 01h32m11s 15
192.168.24.2 20
192.0.2.5 (LFA) (tunneled:RSVP:5) 16777235
192.168.46.0/30 Remote ISIS 01h32m28s 15
192.168.24.2 20
192.0.2.5 (LFA) (tunneled:RSVP:5) 16777235
192.168.56.0/30 Remote ISIS 00h03m24s 15
192.168.24.2 30
192.168.23.2 (LFA) 40
-------------------------------------------------------------------------------
No. of Routes: 14
*A:PE-6>config>router# show router route-table
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
172.16.6.1/32 Local Local 01d16h00m 0
loopback 0
192.0.2.1/32 Remote LDP 00h00m11s 9
192.168.56.1 (tunneled) 30
192.0.2.2/32 Remote LDP 00h00m11s 9
192.168.56.1 (tunneled) 30
192.0.2.3/32 Remote LDP 00h00m11s 9
192.168.56.1 (tunneled) 20
192.0.2.5/32 Remote LDP 00h23m35s 9
192.168.56.1 (tunneled) 10
192.0.2.6/32 Local Local 08d16h32m 0
system 0
192.168.12.0/30 Remote ISIS 00h00m11s 15
192.168.56.1 40
192.168.13.0/30 Remote ISIS 00h00m11s 15
192.168.56.1 30
192.168.23.0/30 Remote ISIS 00h00m11s 15
192.168.56.1 30
192.168.35.0/30 Remote ISIS 18h16m26s 15
192.168.56.1 20
192.168.56.0/30 Local Local 08d16h31m 0
int-PE-6-PE-5 0
-------------------------------------------------------------------------------
No. of Routes: 11
===============================================================================
*A:PE-6>config>router# show router tunnel-table
===============================================================================
Tunnel Table (Router: Base)
===============================================================================
Destination Owner Encap TunnelId Pref Nexthop Metric
-------------------------------------------------------------------------------
192.0.2.1/32 ldp MPLS - 9 192.168.56.1 30
192.0.2.2/32 ldp MPLS - 9 192.168.56.1 30
192.0.2.3/32 rsvp MPLS 2 7 192.168.56.1 20
192.0.2.3/32 ldp MPLS - 9 192.168.56.1 20
192.0.2.5/32 ldp MPLS - 9 192.168.56.1 10
===============================================================================
*A:PE-6>config>router# show router route-table next-hop-type tunneled
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
192.0.2.1/32 Remote ISIS 00h00m03s 15
192.0.2.3 (tunneled:RSVP:2) 30
192.0.2.2/32 Remote ISIS 00h00m03s 15
192.0.2.3 (tunneled:RSVP:2) 30
192.0.2.3/32 Remote ISIS 00h00m03s 15
192.0.2.3 (tunneled:RSVP:2) 20
192.0.2.5/32 Remote LDP 00h25m35s 9
192.168.56.1 (tunneled) 10
192.168.12.0/30 Remote ISIS 00h00m03s 15
192.0.2.3 (tunneled:RSVP:2) 40
192.168.13.0/30 Remote ISIS 00h00m03s 15
192.0.2.3 (tunneled:RSVP:2) 30
192.168.23.0/30 Remote ISIS 00h00m03s 15
192.0.2.3 (tunneled:RSVP:2) 30
-------------------------------------------------------------------------------
No. of Routes: 7
===============================================================================
*A:PE-6# show router route-table 192.0.2.3
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
192.0.2.3/32 Remote ISIS 00h02m51s 15
192.0.2.3 (tunneled:RSVP:2) 100
-------------------------------------------------------------------------------
No. of Routes: 1
*A:PE-6# show router route-table
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
192.168.12.0/30 Remote ISIS 00h00m04s 15
192.168.56.1 40
192.168.13.0/30 Remote ISIS 00h10m56s 15
192.0.2.3 (tunneled:RSVP:2) 110
192.168.23.0/30 Remote ISIS 00h00m04s 15
192.0.2.3 (tunneled:RSVP:2) 110
*A:PE-3#config router
interface "static-route"
address 172.16.33.1/30
port 1/1/3:33
exit
autonomous-system 65536
static-route 10.10.10.0/24 next-hop 172.16.33.2
policy-options
begin
policy-statement "static-routes"
description "export static-routes for I-BGP"
entry 10
from
protocol static
exit
to
protocol bgp
exit
action accept
next-hop-self
exit
exit
exit
commit
exit
bgp
export "static-routes"
group "ibgp"
type internal
neighbor 192.0.2.6
exit
exit
exit
*A:PE-6>config>router# show router bgp routes 10.10.10.0/24 detail
===============================================================================
BGP Router ID:192.0.2.6 AS:65536 Local AS:65536
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
-------------------------------------------------------------------------------
Original Attributes
Network : 10.10.10.0/24
Nexthop : 192.0.2.3
Path Id : None
From : 192.0.2.3
Res. Nexthop : 192.168.56.1
Local Pref. : 100 Interface Name : int-PE-6-PE-5
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : No Community Members
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 192.0.2.3
Fwd Class : None Priority : None
Flags : Used Valid Best Incomplete
Route Source : Internal
AS-Path : No As-Path
Neighbor-AS : N/A
Modified Attributes
Network : 10.10.10.0/24
Nexthop : 192.0.2.3
Path Id : None
From : 192.0.2.3
Res. Nexthop : 192.168.56.1
* Truncated info
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
*A:PE-6>config>router>bgp# igp-shortcut
- igp-shortcut {ldp|rsvp-te|mpls} [disallow-igp]
- no igp-shortcut
<ldp|rsvp-te|mpls> : keywords
<disallow-igp> : keyword
When enabling LDP shortcuts (config>router>bgp>igp-shortcut ldp) on PE-6, the output changes showing the detail of the received BGP route indicating that the next hop is resolved using LDP:
*A:PE-6>config>router# show router bgp routes 10.10.10.0/24 detail
===============================================================================
BGP Router ID:192.0.2.6 AS:65536 Local AS:65536
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
-------------------------------------------------------------------------------
Original Attributes
Network : 10.10.10.0/24
Nexthop : 192.0.2.3
Path Id : None
From : 192.0.2.3
Res. Nexthop : 192.168.56.1 (LDP)
Local Pref. : 100 Interface Name : int-PE-6-PE-5
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : No Community Members
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 192.0.2.3
Fwd Class : None Priority : None
Flags : Used Valid Best Incomplete
Route Source : Internal
AS-Path : No As-Path
Neighbor-AS : N/A
Modified Attributes
Network : 10.10.10.0/24
Nexthop : 192.0.2.3
Path Id : None
From : 192.0.2.3
Res. Nexthop : 192.168.56.1 (LDP)
* Truncated info
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
*A:PE-6# show router route-table next-hop-type tunneled
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
10.10.10.0/24 Remote BGP 00h07m51s 170
192.0.2.3 (tunneled) 0
-------------------------------------------------------------------------------
No. of Routes: 1
===============================================================================
*A:PE-6#config router mpls
----------------------------------------------
no shortcut-local-ttl-propagate
no shortcut-transit-ttl-propagate
interface "system"
exit
interface "int-PE-6-PE-5"
exit
interface "int-PE-6-PE-4"
exit
path "p"
no shutdown
exit
lsp "LSP-PE-6-PE-3"
to 192.0.2.3
cspf
primary "p"
exit
no shutdown
exit
no shutdown
*A:PE-6>config>router# show router mpls lsp "LSP-PE-6-PE-3" path detail
LSP LSP-PE-6-PE-3 Path p
-------------------------------------------------------------------------------
LSP Name : LSP-PE-6-PE-3 Path LSP ID : 49190
From : 192.0.2.6 To : 192.0.2.3
Adm State : Up Oper State : Up
Path Name : p Path Type : Primary
Path Admin : Up Path Oper : Up
OutInterface: 1/1/4:1 Out Label : 131067
Path Up Time: 0d 00:03:32 Path Dn Time: 0d 00:00:00
Retry Limit : 0 Retry Timer : 30 sec
RetryAttempt: 0 NextRetryIn : 0 sec
SetupPriori*: 7 Hold Priori*: 0
Preference : n/a
Bandwidth : No Reservation Oper Bw : 0 Mbps
Hop Limit : 255 Class Type : 0
Backup CT : None
MainCT Retry: n/a MainCT Retry: 0
Rem : Limit :
Oper CT : 0
Record Route: Record Record Label: Record
Oper MTU : 9194 Neg MTU : 9194
Adaptive : Enabled Oper Metric : 20
Include Grps: Exclude Grps:
None None
Path Trans : 39 CSPF Queries: 3
Failure Code: noError Failure Node: n/a
ExplicitHops:
No Hops Specified
Actual Hops :
192.168.56.2(192.0.2.6) Record Label : N/A
-> 192.168.56.1(192.0.2.5) Record Label : 131067
-> 192.168.35.1(192.0.2.3) Record Label : 131070
ComputedHops:
192.168.56.2 -> 192.168.56.1 -> 192.168.35.1
ResigEligib*: False
LastResignal: n/a CSPF Metric : 20
After enabling config>router>bgp>igp-shortcut mpls, the output shows that the BGP peer is reachable using an RSVP LSP (switched from LDP to RSVP since RSVP is preferred):
*A:PE-6# show router bgp routes ipv4 10.10.10.0/24 detail
===============================================================================
BGP Router ID:192.0.2.6 AS:65536 Local AS:65536
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
-------------------------------------------------------------------------------
Original Attributes
Network : 10.10.10.0/24
Nexthop : 192.0.2.3
Path Id : None
From : 192.0.2.3
Res. Nexthop : 192.168.46.1 (RSVP LSP: 2)
Local Pref. : 100 Interface Name : int-PE-6-PE-4
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : No Community Members
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 192.0.2.3
Fwd Class : None Priority : None
Flags : Used Valid Best Incomplete
Route Source : Internal
AS-Path : No As-Path
Neighbor-AS : N/A
Modified Attributes
Network : 10.10.10.0/24
Nexthop : 192.0.2.3
Path Id : None
From : 192.0.2.3
Res. Nexthop : 192.168.46.1 (RSVP LSP: 2)
* Truncated info
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
*A:PE-6>config>router>bgp# show router route-table next-hop-type tunneled
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
10.10.10.0/24 Remote BGP 00h00m10s 170
192.0.2.3 (tunneled:RSVP:2) 0
-------------------------------------------------------------------------------
No. of Routes: 1
===============================================================================
*A:PE-6# show router bgp routes 10.10.10.0/24 detail
===============================================================================
BGP Router ID:192.0.2.6 AS:65000 Local AS:65536
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best
===============================================================================
BGP IPv4 Routes
===============================================================================
-------------------------------------------------------------------------------
Original Attributes
Network : 10.10.10.0/24
Nexthop : 192.0.2.3
From : 192.0.2.3
Res. Nexthop : 192.168.56.1 (LDP)
Local Pref. : 100 Interface Name : int-PE-6-PE-5
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
Community : No Community Members
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 192.0.2.3
Flags : Used Valid Best Incomplete
AS-Path : No As-Path
Modified Attributes
Network : 10.10.10.0/24
Nexthop : 192.0.2.3
From : 192.0.2.3
Res. Nexthop : 192.168.56.1 (LDP)
* Truncated info
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
When igp-shortcut is enabled at the BGP level, all RSVP LSPs originating on this node are eligible to be used by default as long as the destination address of the LSP is configured in config>router>mpls>lsp and corresponds to that of the BGP next-hop for that prefix. It is also possible to exclude a specific RSVP LSP from BGP next-hop resolution, similar to the exclusion of a specific RSVP LSP being used as a shortcut for resolving IGP routes. In this example, if the RSVP LSP "LSP-PE-6-PE-3" is excluded to be eligible for BGP next-hop resolution, it reverts back to LDP.
*A:PE-6# configure router mpls lsp "LSP-PE-6-PE-3" no bgp-shortcut
*A:PE-6# show router route-table 10.10.10.0
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
10.10.10.0/24 Remote BGP 00h17m09s 170
192.0.2.3 (tunneled) 0
-------------------------------------------------------------------------------
No. of Routes: 1
If the configuration is using config>router>bgp>igp-shortcut mpls disallow-igp, and neither LDP nor RSVP LSPs are available, the remote route received via BGP is removed from the GRT although the BGP peer session remains up. A field in the detailed show BGP route output indicates that the next hop is “Unresolved”:
*A:PE-6# show router bgp routes 10.10.10.0/24 detail
===============================================================================
BGP Router ID:192.0.2.6 AS:65000 Local AS:65536
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best
===============================================================================
BGP IPv4 Routes
===============================================================================
-------------------------------------------------------------------------------
Original Attributes
Network : 10.10.10.0/24
Nexthop : 192.0.2.3
From : 192.0.2.3
Res. Nexthop : Unresolved
Local Pref. : 100 Interface Name : int-PE-6-PE-5
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
Community : No Community Members
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 192.0.2.3
Flags : Invalid Incomplete Nexthop-Unresolved
AS-Path : No As-Path
Modified Attributes
Network : 10.10.10.0/24
Nexthop : 192.0.2.3
From : 192.0.2.3
Res. Nexthop : Unresolved
Local Pref. : 100 Interface Name : int-PE-6-PE-5
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
Community : No Community Members
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 192.0.2.3
Flags : Invalid Incomplete Nexthop-Unresolved
AS-Path : No As-Path
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
*A:PE-6# show router route-table
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
20.20.20.0/24 Remote Static 03d06h45m 5
172.16.66.2 1
172.16.6.1/32 Local Local 05d00h03m 0
loopback 0
172.16.66.0/30 Local Local 03d06h45m 0
static-route 0
192.0.2.1/32 Remote ISIS 03d06h34m 15
192.168.56.1 30
192.0.2.2/32 Remote ISIS 03d07h52m 15
192.168.46.1 20
192.0.2.3/32 Remote ISIS 03d06h34m 15
192.168.56.1 20
192.0.2.4/32 Remote ISIS 03d07h53m 15
192.168.46.1 10
192.0.2.5/32 Remote ISIS 04d02h20m 15
192.168.56.1 10
192.0.2.6/32 Local Local 12d00h36m 0
system 0
192.168.12.0/30 Remote ISIS 03d07h52m 15
192.168.46.1 30
192.168.13.0/30 Remote ISIS 03d06h34m 15
192.168.56.1 30
192.168.23.0/30 Remote ISIS 03d07h52m 15
192.168.46.1 30
192.168.24.0/30 Remote ISIS 03d07h53m 15
192.168.46.1 20
192.168.35.0/30 Remote ISIS 04d02h20m 15
192.168.56.1 20
192.168.45.0/30 Remote ISIS 03d07h53m 15
192.168.46.1 20
192.168.46.0/30 Local Local 03d07h54m 0
int-PE-6-PE-4 0
192.168.56.0/30 Local Local 12d00h35m 0
int-PE-6-PE-5 0
-------------------------------------------------------------------------------
No. of Routes: 17
A:PE-2>config>service>vprn# auto-bind
- auto-bind {ldp|gre|rsvp-te|mpls|mpls-gre}
- no auto-bind
<ldp|gre|rsvp-te|m*> : ldp|gre|rsvp-te|mpls|mpls-gre
•
|
ldp — Specifies LDP based LSPs should be used to resolve the BGP next-hop for VPRN routes in an associated VPRN instance.
|
•
|
gre — Specifies GRE based tunnels to be used to resolve the BGP next-hop for VPRN routes in an associated VPRN instance. GRE is out of the scope regarding shortcuts, refer to SR OS documentation for further details.
|
•
|
rsvp-te — Specifies RSVP-TE LSPs should be used to resolve the BGP next-hop for VPRN routes in an associated VPRN instance.
|
•
|
mpls — Chooses an existing RSVP-TE LSP if available, otherwise use LDP.
|
•
|
mpls-gre — When there are multiple tunnels to the BGP next-hop address, the tunnel with the lowest tunnel-table preference value is selected (first RVSP, then LDP, then GRE).
|
The network is configured according to the topology shown in Figure 6. Four PEs (PE-1, PE-2, PE-4 and PE-5) are connected forming a meshed IP-VPN (named VPRN 1) with “autobind mpls-gre”, using a route reflector on PE-3 for MP-BGP peering. All PEs have LDP tunnels enabled so at a minimum all can establish LDP shortcut tunnels to the others. In order to have not only LDP but also RSVP-TE LSPs and static SDPs (using an RSVP LSP) in the network, a mix of tunneling methods is configured. For the sake of simplicity, a closer view on PE-2 only, provides all details about the shortcuts created by auto-bind. PE-2 has a static SDP (RSVP based) with PE-1, an RSVP LSP with PE-4, and an LDP LSP with PE-5. Every PE has a CE connected, so each PE has an interface connected to the CE as well as a static route to a CE LAN (although redistribution routing policies are needed, they are not shown for simplicity).
A:PE-2#config service vprn 1 customer 1 create
vrf-import "VPN1-import"
vrf-export "VPN1-export"
route-distinguisher 65002:1
auto-bind mpls-gre
interface "to-ce2" create
address 172.16.2.1/24
sap 1/1/3:1 create
exit
exit
static-route 172.16.22.0/24 next-hop 172.16.2.2
spoke-sdp 1 create
exit
no shutdown
A:PE-2# show router 1 route-table
===============================================================================
Route Table (Service: 1)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
172.16.1.0/24 Remote BGP VPN 00h12m06s 170
192.0.2.1 (tunneled) 0
172.16.2.0/24 Local Local 02d03h54m 0
to-ce2 0
172.16.4.0/24 Remote BGP VPN 00h01m02s 170
192.0.2.4 (tunneled:RSVP:2) 0
172.16.5.0/24 Remote BGP VPN 00h01m29s 170
192.0.2.5 (tunneled) 0
172.16.11.0/24 Remote BGP VPN 00h12m06s 170
192.0.2.1 (tunneled) 0
172.16.22.0/24 Remote Static 02d03h54m 5
172.16.2.2 1
172.16.44.0/24 Remote BGP VPN 00h01m02s 170
192.0.2.4 (tunneled:RSVP:2) 0
172.16.55.0/24 Remote BGP VPN 00h01m29s 170
192.0.2.5 (tunneled) 0
-------------------------------------------------------------------------------
No. of Routes: 8
A:PE-2# show router tunnel-table
===============================================================================
Tunnel Table (Router: Base)
===============================================================================
Destination Owner Encap TunnelId Pref Nexthop Metric
-------------------------------------------------------------------------------
192.0.2.1/32 sdp MPLS 1 5 192.0.2.1 0
192.0.2.1/32 rsvp MPLS 1 7 192.168.12.1 10
192.0.2.1/32 ldp MPLS - 9 192.168.12.1 10
192.0.2.4/32 rsvp MPLS 2 7 192.168.24.2 10
192.0.2.4/32 rsvp MPLS 3 7 192.168.23.2 16777215
192.0.2.4/32 ldp MPLS - 9 192.168.24.2 10
192.0.2.5/32 ldp MPLS - 9 192.168.23.2 20
* Truncated info
-------------------------------------------------------------------------------
A:PE-2# show router 1 fib 1
===============================================================================
FIB Display
===============================================================================
Prefix Protocol
NextHop
-------------------------------------------------------------------------------
172.16.1.0/24 BGP_VPN
192.0.2.1 (VPRN Label:262142 Transport:SDP:1)
172.16.2.0/24 LOCAL
172.16.2.0 (to-ce2)
172.16.4.0/24 BGP_VPN
192.0.2.4 (VPRN Label:131070 Transport:RSVP LSP:2)
172.16.5.0/24 BGP_VPN
192.0.2.5 (VPRN Label:131070 Transport:LDP)
172.16.11.0/24 BGP_VPN
192.0.2.1 (VPRN Label:262142 Transport:SDP:1)
172.16.22.0/24 STATIC
172.16.2.2 (to-ce2)
172.16.44.0/24 BGP_VPN
192.0.2.4 (VPRN Label:131070 Transport:RSVP LSP:2)
172.16.55.0/24 BGP_VPN
192.0.2.5 (VPRN Label:131070 Transport:LDP)
-------------------------------------------------------------------------------
Total Entries : 8
-------------------------------------------------------------------------------
*A:PE-2# show router 1 fib 1
===============================================================================
FIB Display
===============================================================================
Prefix Protocol
NextHop
-------------------------------------------------------------------------------
172.16.2.0/24 LOCAL
172.16.2.0 (to-ce2)
172.16.4.0/24 BGP_VPN
192.0.2.4 (VPRN Label:131070 Transport:RSVP LSP:2)
172.16.5.0/24 BGP_VPN
192.0.2.5 (VPRN Label:131070 Transport:LDP)
172.16.22.0/24 STATIC
172.16.2.2 (to-ce2)
172.16.44.0/24 BGP_VPN
192.0.2.4 (VPRN Label:131070 Transport:RSVP LSP:2)
172.16.55.0/24 BGP_VPN
192.0.2.5 (VPRN Label:131070 Transport:LDP)
-------------------------------------------------------------------------------
Total Entries : 6
-------------------------------------------------------------------------------
*A:PE-1# show router 1 route-table
===============================================================================
Route Table (Service: 1)
===============================================================================
Dest Prefix[Flags] Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
172.16.1.0/24 Local Local 07h00m15s 0
to-ce1 0
172.16.2.0/24 Remote BGP VPN 00h00m15s 170
192.0.2.2 (tunneled:RSVP:2) 0
172.16.4.0/24 Remote BGP VPN 00h09m28s 170
192.0.2.4 (tunneled) 0
172.16.5.0/24 Remote BGP VPN 00h09m28s 170
192.0.2.5 (tunneled) 0
172.16.11.0/24 Remote Static 07h00m15s 5
172.16.1.2 1
172.16.22.0/24 Remote BGP VPN 00h00m15s 170
192.0.2.2 (tunneled:RSVP:2) 0
172.16.44.0/24 Remote BGP VPN 00h09m28s 170
192.0.2.4 (tunneled) 0
172.16.55.0/24 Remote BGP VPN 00h09m28s 170
192.0.2.5 (tunneled) 0
-------------------------------------------------------------------------------
No. of Routes: 8
If RSVP is disabled with configure>router>mpls>shutdown, the connectivity falls back to LDP as the output shows:
*A:PE-1# configure router mpls shutdown
*A:PE-1# show router 1 fib 1
===============================================================================
FIB Display
===============================================================================
Prefix Protocol
NextHop
-------------------------------------------------------------------------------
172.16.1.0/24 LOCAL
172.16.1.0 (to-ce1)
172.16.2.0/24 BGP_VPN
192.0.2.2 (VPRN Label:262142 Transport:LDP)
172.16.4.0/24 BGP_VPN
192.0.2.4 (VPRN Label:262142 Transport:LDP)
172.16.5.0/24 BGP_VPN
192.0.2.5 (VPRN Label:262142 Transport:LDP)
172.16.11.0/24 STATIC
172.16.1.2 (to-ce1)
172.16.22.0/24 BGP_VPN
192.0.2.2 (VPRN Label:262142 Transport:LDP)
172.16.44.0/24 BGP_VPN
192.0.2.4 (VPRN Label:262142 Transport:LDP)
172.16.55.0/24 BGP_VPN
192.0.2.5 (VPRN Label:262142 Transport:LDP)
-------------------------------------------------------------------------------
Total Entries : 8
*A:PE-1# configure router ldp shutdown
*A:PE-1# show router 1 fib 1
===============================================================================
FIB Display
===============================================================================
Prefix Protocol
NextHop
-------------------------------------------------------------------------------
172.16.1.0/24 LOCAL
172.16.1.0 (to-ce1)
172.16.2.0/24 BGP_VPN
192.0.2.2 (VPRN Label:262142 Transport:GRE)
172.16.4.0/24 BGP_VPN
192.0.2.4 (VPRN Label:262142 Transport:GRE)
172.16.5.0/24 BGP_VPN
192.0.2.5 (VPRN Label:262142 Transport:GRE)
172.16.11.0/24 STATIC
172.16.1.2 (to-ce1)
172.16.22.0/24 BGP_VPN
192.0.2.2 (VPRN Label:262142 Transport:GRE)
172.16.44.0/24 BGP_VPN
192.0.2.4 (VPRN Label:262142 Transport:GRE)
172.16.55.0/24 BGP_VPN
192.0.2.5 (VPRN Label:262142 Transport:GRE)
-------------------------------------------------------------------------------
Total Entries : 8