Wednesday, March 17, 2010

MPLS TE Class Based Tunnel Selection with InterArea LSP Tunnel in ISIS Backbone LAB.















Configuration Guidelines
******************************************************************
Scenario - An ISP is running Hierarichal ISIS Backbone and the
LSP Spanning acorss Multiple Level1 and Level 2 ISIS Domain and wants to implement
Traffic Forwarding for his MPLS L3 VPN Customers across his Core across different
Traffic ENgineering Tunnels based upon the variuos QoS Levels Offered under Short
Pipe Mode wherein Service Provider'S QoS policies conforms to CUstomer's QoS Policies.
This way the SP can Offer Guranteed BW Services accroding to Customer requiremnets for
different classes of traffic such as Voice Payload,Voice Signalling and Normal Data.

Also Service Provider wants to provide guranteed SLA on Traffic Availability
to Customers using Traffic Rerouting across his Core.

All this ISP has to achive while forming InterArea Traffic Enginerring
Tunnels via the LSP Spannings acorss Multiple Level1 and Level 2 ISIS Domain


Design Considerations and Soultions:

ISP Can form Inter-Domain TE Tunnels by annoucning the TE Tunnels as a Static
into ROuting Table using "autoroute destination" instead of "autoroute announce"

Also on the ISIS Level-1-2 Routers Traffic Engineering needs to be enabled both for
Level-1 and Level-2 under global instance of ISIS.

The ISP Can then achive this differentiated traffic treatment for different traffic classes
by using Class Based Tunnel Selection feature for MPLS Traffic ENgineering Tunnels wherein
we make the TE Tunnels EXP aware and then different traffic class of traffic can be
dynamically routed across these TE Tunnels.

To achieve the Dynamic Routing of Different Traffic Class across Different EXP aware TE Tunnels
Service Provider need to provision PE-PE EXP Aware TE TUnnels on a Per PE Basis and then create
a Master PE-PE TE Tunnel which will be EXP-Bundle Master and attach the Individual EXP aware TE
Tunnels as Member to the Master Tunnel.

The Master Tunnel does not needs any priority and BW Specifications but need to be announced to
IGP via autoroute.

What happens here is that by building Master PE-PE TE Tunnel and annoucning that into IGP
we are making the MP-iBGP Next Hop for the VPNs reachbale across the Master TE Tunnel.
Once traffic is forced to Master TE Tunnel , a second level EXP Based routing happens inside one
of the EXP Aware TE Tunnel Matching the EXP of the Packet. If the EXP matches no EXP aware TE
Tunnel the packet is sent across an EXP aware TE Tunnel configured with default EXP. If none
of the tunnels are confifured with EXP Default the packet is sent acorss the EXP aware TE Tunnel
configured for Lowest EXP Value.

The MPLS TE Router ID needs to be same as of MPLS Router ID and should be the one used for the
MP-iBGP Loopback Peering IPs


The SP also needs to match the incoming IP PREC/DSCP form Customer Edge and translate them to
the EXP values as configured across the different EXP aware TE Tunnel to achive desired traffic
forwarding. This is same as part of Short Pipe Mode MPLS VPN QoS Operation.

For achieving Traffic Rerouting across their Core , Provider needs to setup backup tunnels across
Core and use MPLS TE Fast Reroute Feature on the Primary Tunnels and protecting the Core links with
backup tunnels.



Caveats: This design will suffer from the n*(n-1)/2 EXP Aware PE-PE TE Tunnels for achieving
full mesh reachability across its core.

By default the L2 routes from Level-1-2 routers will not be propogated to L1 Routers and
we need to use Route Leaking on the Backbone Routers by redistributing ISIS Level-2 into Level-1
with the help of a route-map matching a Prefix-List allowing the Level-2 Subnets


ISP AS used 64513-
VRF USed CEA
rd 64513:1
rt 64513:100

IGP is ISP Domain used ISIS with Core Links to PE and Loopbacks on PE in Level-1.
Core Link between Ps in Level-2 and Loopbacks on P in Level-2

IGP in Custmer AS Used OSPF
PE-CE ROuting Protocol is OSPF


Traffic Classes Used
(ICMP is CoS 0)
Silver (DSCP/COS af31,cs4 and default/4 3 0 )
Gold (DSCP/COS ef/5 )

TE Tunnels Used
100- Gold
101- Gold_Backup
200-Silver
201-Silver_Backup

1001- Master Tunnel

Traffic Optimized as:
Normal Condition-

Forward Traffic Path

Silver (DSCP/COS af31,cs4 and default/4 3 0 ) CE1A-PE1-P1-PE2-CE2A
Gold (DSCP/COS ef/5 ) CE1A-PE1-P2-PE2-CE2A

Reverse Traffic Path

Silver (DSCP/COS af31,cs4 and default/4 3 0 ) CE2A-PE2-P1-PE1-CE1A
Gold (DSCP/COS ef/5 ) CE2A-PE2-P2-PE1-CE1A



Problem Condition 1- ISP's Core Link from PE1 to P1 goes Down breaking the Primary
Silver LSP and the TE Tunnel

Traffic gets rerouted across ISP's Core Link from PE1 to P2
as
Forward Traffic Path

Silver (DSCP/COS af31,cs4 and default/4 3 0 ) CE1A-PE1-P2-PE2-CE2A

Reverse Traffic Path

Silver (DSCP/COS af31,cs4 and default/4 3 0 ) CE2A-PE2-P2-PE1-CE1A


Problem Condition 2- ISP's Core Link from PE1 to P2 goes Down breaking the Primary
Gold LSP and the TE Tunnel

Traffic gets rerouted across ISP's Core Link from PE1 to P2 as

Forward Traffic Path

Gold (DSCP/COS ef/5 ) CE1A-PE1-P1-PE2-CE2A

Reverse Traffic Path

Gold (DSCP/COS ef/5 ) CE2A-PE2-P1-PE1-CE1A


Problem Condition 3- ISP's Core Link from P1 to PE2 goes Down breaking the Primary
Silver LSP and the TE Tunnel

Traffic gets rerouted across ISP's Core Link from PE1 to P2
as
Forward Traffic Path

Silver (DSCP/COS af31,cs4 and default/4 3 0 ) CE1A-PE1-P2-PE2-CE2A

Reverse Traffic Path

Silver (DSCP/COS af31,cs4 and default/4 3 0 ) CE2A-PE2-P2-PE1-CE1A



Problem Condition 4- ISP's Core Link from P2 to PE2 goes Down breaking the Primary
Gold LSP and the TE Tunnel

Traffic gets rerouted across ISP's Core Link from PE1 to P2 as

Forward Traffic Path

Gold (DSCP/COS ef/5 ) CE1A-PE1-P1-PE2-CE2A

Reverse Traffic Path

Gold (DSCP/COS ef/5 ) CE2A-PE2-P1-PE1-CE1A


The Same traffic rerouting happens for ISP's Core Link on PE2 Going down.


********************************************************************



CE1A#sh running-config
Building configuration...

Current configuration : 1253 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CE1A
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
ip multicast-routing
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 172.16.100.1 255.255.255.0
ip pim sparse-dense-mode
ip igmp join-group 224.11.11.11
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 172.16.1.2 255.255.255.252
ip pim sparse-dense-mode
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
!
router ospf 10
log-adjacency-changes
network 172.16.0.0 0.0.255.255 area 0
!
ip http server
!
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end

CE1A#

CE2A#sh running-config
Building configuration...

Current configuration : 1359 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname CE2A
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
!
resource policy
!
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
ip multicast-routing
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 172.16.200.1 255.255.255.252
ip pim sparse-dense-mode
ip igmp join-group 224.22.22.22
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0
ip address 172.16.2.2 255.255.255.252
ip pim sparse-dense-mode
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
no dce-terminal-timing-enable
!
!
router ospf 10
log-adjacency-changes
network 172.16.0.0 0.0.255.255 area 0
!
router isis
!
ip http server
!
!
ip pim send-rp-announce Loopback0 scope 100
ip pim send-rp-discovery Loopback0 scope 100
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end

CE2A#


PE1#sh running-config
Building configuration...

Current configuration : 5176 bytes
!
! Last configuration change at 05:39:30 UTC Wed Mar 17 2010
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname PE1
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
ip source-route
ip cef
!
!
ip vrf CEA
rd 64513:1
route-target export 64513:100
route-target import 64513:100
mdt default 239.1.1.1

!
!
!
no ip domain lookup
ip multicast-routing
ip multicast-routing vrf CEA
no ipv6 cef
!
!
multilink bundle-name authenticated
mpls traffic-eng tunnels
mpls label protocol ldp
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 10.0.1.1 255.255.255.255
ip router isis
ip pim sparse-dense-mode
isis circuit-type level-1
!
interface Tunnel100
description Gold
ip unnumbered Loopback0
tunnel mode mpls traffic-eng
tunnel destination 10.0.4.1
tunnel mpls traffic-eng autoroute destination
tunnel mpls traffic-eng priority 1 1
tunnel mpls traffic-eng bandwidth 256
tunnel mpls traffic-eng path-option 1 explicit name Gold
tunnel mpls traffic-eng fast-reroute
tunnel mpls traffic-eng exp 5
!
interface Tunnel101
description Gold_Backup
ip unnumbered Loopback0
tunnel mode mpls traffic-eng
tunnel destination 10.0.4.1
tunnel mpls traffic-eng autoroute destination
tunnel mpls traffic-eng priority 1 1
tunnel mpls traffic-eng bandwidth 256
tunnel mpls traffic-eng path-option 1 explicit name Gold_Backup
tunnel mpls traffic-eng exp 5
!
interface Tunnel200
description Silver
ip unnumbered Loopback0
tunnel mode mpls traffic-eng
tunnel destination 10.0.4.1
tunnel mpls traffic-eng autoroute destination
tunnel mpls traffic-eng priority 1 1
tunnel mpls traffic-eng bandwidth 256
tunnel mpls traffic-eng path-option 1 explicit name Silver
tunnel mpls traffic-eng fast-reroute
tunnel mpls traffic-eng exp 0 3 4
!
interface Tunnel201
description Silver_Backup
ip unnumbered Loopback0
tunnel mode mpls traffic-eng
tunnel destination 10.0.4.1
tunnel mpls traffic-eng autoroute destination
tunnel mpls traffic-eng priority 1 1
tunnel mpls traffic-eng bandwidth 256
tunnel mpls traffic-eng path-option 1 explicit name Silver_Backup
tunnel mpls traffic-eng exp 0 3 4
!
interface Tunnel1001
description Master_Tunnel
ip unnumbered Loopback0
tunnel mode mpls traffic-eng
tunnel destination 10.0.4.1
tunnel mpls traffic-eng autoroute destination
tunnel mpls traffic-eng exp-bundle master
tunnel mpls traffic-eng exp-bundle member Tunnel100
tunnel mpls traffic-eng exp-bundle member Tunnel101
tunnel mpls traffic-eng exp-bundle member Tunnel200
tunnel mpls traffic-eng exp-bundle member Tunnel201
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
ip vrf forwarding CEA
ip address 172.16.1.1 255.255.255.252
ip pim sparse-dense-mode
serial restart-delay 0
!
interface Serial1/1
ip address 192.168.1.5 255.255.255.252
ip router isis
ip pim sparse-dense-mode
mpls ip
mpls label protocol ldp
mpls traffic-eng tunnels
mpls traffic-eng backup-path Tunnel201
serial restart-delay 0
isis circuit-type level-1
ip rsvp bandwidth
!
interface Serial1/2
ip address 192.168.1.1 255.255.255.252
ip router isis
ip pim sparse-dense-mode
mpls ip
mpls label protocol ldp
mpls traffic-eng tunnels
mpls traffic-eng backup-path Tunnel101
serial restart-delay 0
isis circuit-type level-1
ip rsvp bandwidth
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/4
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/5
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/6
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/7
no ip address
shutdown
serial restart-delay 0
!
router ospf 10 vrf CEA
log-adjacency-changes
redistribute bgp 64513 subnets
network 172.16.1.0 0.0.0.3 area 0
!
router isis
net 49.0002.1111.2222.3333.00
is-type level-1
metric-style wide
mpls traffic-eng router-id Loopback0
mpls traffic-eng level-1
!
router bgp 64513
bgp router-id 10.0.1.1
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 10.0.4.1 remote-as 64513
neighbor 10.0.4.1 update-source Loopback0
!
address-family ipv4
no synchronization
no auto-summary
exit-address-family
!
address-family vpnv4
neighbor 10.0.4.1 activate
neighbor 10.0.4.1 send-community extended
neighbor 10.0.4.1 next-hop-self
exit-address-family
!
address-family ipv4 vrf CEA
no synchronization
redistribute connected
redistribute ospf 10 vrf CEA match internal external 1 external 2
exit-address-family
!
no ip http server
no ip http secure-server
!
!
ip pim bidir-enable
ip pim send-rp-announce Loopback0 scope 100
ip pim send-rp-discovery Loopback0 scope 100
ip pim ssm default
!
ip explicit-path name Gold enable
next-address 192.168.1.2
next-address 192.168.1.13
!
ip explicit-path name Silver_Backup enable
next-address 192.168.1.2
next-address 192.168.1.13
!
ip explicit-path name Silver enable
next-address 192.168.1.6
next-address 192.168.1.9
!
ip explicit-path name Gold_Backup enable
next-address 192.168.1.6
next-address 192.168.1.9
!
!
mpls ldp router-id Loopback0
!
!
control-plane
!
!
line con 0
stopbits 1
line aux 0
line vty 0 4
!
end

PE1#





PE2#sh running-config
Building configuration...

Current configuration : 5109 bytes
!
! Last configuration change at 05:41:40 UTC Wed Mar 17 2010
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname PE2
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
ip source-route
ip cef
!
!
ip vrf CEA
rd 64513:1
route-target export 64513:100
route-target import 64513:100
mdt default 239.1.1.1

!
!
!
no ip domain lookup
ip multicast-routing
ip multicast-routing vrf CEA
no ipv6 cef
!
!
multilink bundle-name authenticated
mpls traffic-eng tunnels
mpls label protocol ldp
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 10.0.4.1 255.255.255.255
ip router isis
ip pim sparse-dense-mode
isis circuit-type level-1
!
interface Tunnel100
description Gold
ip unnumbered Loopback0
tunnel mode mpls traffic-eng
tunnel destination 10.0.1.1
tunnel mpls traffic-eng autoroute destination
tunnel mpls traffic-eng priority 1 1
tunnel mpls traffic-eng bandwidth 256
tunnel mpls traffic-eng path-option 1 explicit name Gold
tunnel mpls traffic-eng fast-reroute
tunnel mpls traffic-eng exp 5
!
interface Tunnel101
description Gold_Backup
ip unnumbered Loopback0
tunnel mode mpls traffic-eng
tunnel destination 10.0.1.1
tunnel mpls traffic-eng autoroute destination
tunnel mpls traffic-eng priority 1 1
tunnel mpls traffic-eng bandwidth 256
tunnel mpls traffic-eng path-option 1 explicit name Gold_Backup
tunnel mpls traffic-eng exp 5
!
interface Tunnel200
description Silver
ip unnumbered Loopback0
tunnel mode mpls traffic-eng
tunnel destination 10.0.1.1
tunnel mpls traffic-eng autoroute destination
tunnel mpls traffic-eng priority 1 1
tunnel mpls traffic-eng bandwidth 256
tunnel mpls traffic-eng path-option 1 explicit name Silver
tunnel mpls traffic-eng fast-reroute
tunnel mpls traffic-eng exp 0 3 4
!
interface Tunnel201
description Silver_Backup
ip unnumbered Loopback0
tunnel mode mpls traffic-eng
tunnel destination 10.0.1.1
tunnel mpls traffic-eng autoroute destination
tunnel mpls traffic-eng priority 1 1
tunnel mpls traffic-eng bandwidth 256
tunnel mpls traffic-eng path-option 1 explicit name Silver_Backup
tunnel mpls traffic-eng exp 0 3 4
!
interface Tunnel1001
description Master_Tunnel
ip unnumbered Loopback0
tunnel mode mpls traffic-eng
tunnel destination 10.0.1.1
tunnel mpls traffic-eng autoroute destination
tunnel mpls traffic-eng exp-bundle master
tunnel mpls traffic-eng exp-bundle member Tunnel100
tunnel mpls traffic-eng exp-bundle member Tunnel101
tunnel mpls traffic-eng exp-bundle member Tunnel200
tunnel mpls traffic-eng exp-bundle member Tunnel201
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
ip address 192.168.1.9 255.255.255.252
ip router isis
ip pim sparse-dense-mode
mpls ip
mpls label protocol ldp
mpls traffic-eng tunnels
mpls traffic-eng backup-path Tunnel201
serial restart-delay 0
isis circuit-type level-1
ip rsvp bandwidth
!
interface Serial1/1
ip address 192.168.1.13 255.255.255.252
ip router isis
ip pim sparse-dense-mode
mpls ip
mpls label protocol ldp
mpls traffic-eng tunnels
mpls traffic-eng backup-path Tunnel101
serial restart-delay 0
isis circuit-type level-1
ip rsvp bandwidth
!
interface Serial1/2
ip vrf forwarding CEA
ip address 172.16.2.1 255.255.255.252
ip pim sparse-dense-mode
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/4
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/5
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/6
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/7
no ip address
shutdown
serial restart-delay 0
!
router ospf 10 vrf CEA
log-adjacency-changes
redistribute bgp 64513 subnets
network 172.16.2.0 0.0.0.3 area 0
!
router isis
net 49.0002.9999.8888.7777.00
is-type level-1
metric-style wide
mpls traffic-eng router-id Loopback0
mpls traffic-eng level-1
!
router bgp 64513
bgp router-id 10.0.4.1
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 10.0.1.1 remote-as 64513
neighbor 10.0.1.1 update-source Loopback0
!
address-family ipv4
no synchronization
no auto-summary
exit-address-family
!
address-family vpnv4
neighbor 10.0.1.1 activate
neighbor 10.0.1.1 send-community extended
neighbor 10.0.1.1 next-hop-self
exit-address-family
!
address-family ipv4 vrf CEA
no synchronization
redistribute connected
redistribute ospf 10 vrf CEA match internal external 1 external 2
exit-address-family
!
no ip http server
no ip http secure-server
!
!
ip pim bidir-enable
ip pim ssm default
!
ip explicit-path name Gold enable
next-address 192.168.1.14
next-address 192.168.1.1
!
ip explicit-path name Silver enable
next-address 192.168.1.10
next-address 192.168.1.5
!
ip explicit-path name Gold_Backup enable
next-address 192.168.1.10
next-address 192.168.1.5
!
ip explicit-path name Silver_Backup enable
next-address 192.168.1.14
next-address 192.168.1.1
!
!
mpls ldp router-id Loopback0
!
!
control-plane
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
end

PE2#

P1#sh running-config
Building configuration...

Current configuration : 2252 bytes
!
! Last configuration change at 05:42:09 UTC Wed Mar 17 2010
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname P1
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
ip source-route
ip cef
!
!
!
!
no ip domain lookup
ip multicast-routing
no ipv6 cef
!
!
multilink bundle-name authenticated
mpls traffic-eng tunnels
mpls label protocol ldp
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 10.0.2.1 255.255.255.255
ip router isis
ip pim sparse-dense-mode
isis circuit-type level-2-only
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
ip address 192.168.1.6 255.255.255.252
ip router isis
ip pim sparse-dense-mode
mpls ip
mpls label protocol ldp
mpls traffic-eng tunnels
serial restart-delay 0
ip rsvp bandwidth
!
interface Serial1/1
ip address 192.168.1.10 255.255.255.252
ip router isis
ip pim sparse-dense-mode
mpls ip
mpls label protocol ldp
mpls traffic-eng tunnels
serial restart-delay 0
ip rsvp bandwidth
!
interface Serial1/2
ip address 192.168.1.18 255.255.255.252
ip router isis
ip pim sparse-dense-mode
mpls ip
mpls label protocol ldp
mpls traffic-eng tunnels
serial restart-delay 0
isis circuit-type level-2-only
ip rsvp bandwidth
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/4
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/5
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/6
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/7
no ip address
shutdown
serial restart-delay 0
!
router isis
net 49.0002.2222.3333.1111.00
metric-style wide
redistribute isis ip level-2 into level-1 route-map ISIS_Level2
mpls traffic-eng router-id Loopback0
mpls traffic-eng level-1
mpls traffic-eng level-2
!
no ip http server
no ip http secure-server
!
!
ip pim bidir-enable
ip pim ssm default
!
!
ip prefix-list ISIS_Level2 seq 5 permit 10.0.2.1/32
ip prefix-list ISIS_Level2 seq 10 permit 192.168.1.16/30
!
route-map ISIS_Level2 permit 10
match ip address prefix-list ISIS_Level2
!
mpls ldp router-id Loopback0
!
!
control-plane
!
!
line con 0
stopbits 1
line aux 0
line vty 0 4
!
end

P1#

P2#sh running-config
Building configuration...

Current configuration : 2271 bytes
!
! Last configuration change at 05:22:18 UTC Wed Mar 17 2010
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname P2
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
ip source-route
ip cef
!
!
!
!
no ip domain lookup
ip multicast-routing
no ipv6 cef
!
!
multilink bundle-name authenticated
mpls traffic-eng tunnels
mpls label protocol ldp
!
!
!
!
!
!
!
!
!
!
interface Loopback0
ip address 10.0.3.1 255.255.255.255
ip router isis
ip pim sparse-dense-mode
isis circuit-type level-2-only
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
ip address 192.168.1.14 255.255.255.252
ip router isis
ip pim sparse-dense-mode
mpls ip
mpls label protocol ldp
mpls traffic-eng tunnels
serial restart-delay 0
ip rsvp bandwidth
!
interface Serial1/1
ip address 192.168.1.2 255.255.255.252
ip router isis
ip pim sparse-dense-mode
mpls ip
mpls label protocol ldp
mpls traffic-eng tunnels
serial restart-delay 0
ip rsvp bandwidth
!
interface Serial1/2
ip address 192.168.1.17 255.255.255.252
ip router isis
ip pim sparse-dense-mode
mpls ip
mpls label protocol ldp
mpls traffic-eng tunnels
serial restart-delay 0
isis circuit-type level-2-only
ip rsvp bandwidth
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/4
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/5
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/6
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/7
no ip address
shutdown
serial restart-delay 0
!
router isis
net 49.0002.3333.2222.1111.00
metric-style wide
redistribute isis ip level-2 into level-1 route-map ISIS_Level2
mpls traffic-eng router-id Loopback0
mpls traffic-eng level-1
mpls traffic-eng level-2
!
no ip http server
no ip http secure-server
!
!
ip pim bidir-enable
ip pim ssm default
!
!
ip prefix-list ISIS_Level2 seq 5 permit 10.0.3.1/32
ip prefix-list ISIS_Level2 seq 10 permit 192.168.1.16/30
!
route-map ISIS_Level2 permit 10
match ip address prefix-list ISIS_Level2
!
mpls ldp router-id Loopback0
!
!
control-plane
!
!
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login
!
end

P2#

*******************************************
OUTPUT
*************************************************************
Normal ICMP Traffic (CoS 0) Path is over the Silver
Tunnel (PE1-P1-PE2 & PE2-P1-PE1)
*************************************************************
CE1A#traceroute 172.16.200.1

Type escape sequence to abort.
Tracing the route to 172.16.200.1

1 172.16.1.1 188 msec 144 msec 240 msec
2 192.168.1.6 432 msec 1512 msec 896 msec
3 172.16.2.1 1048 msec 1360 msec 360 msec
4 172.16.2.2 952 msec 576 msec 1140 msec
CE1A#

CE2A#traceroute 172.16.100.1

Type escape sequence to abort.
Tracing the route to 172.16.100.1

1 172.16.2.1 512 msec 376 msec 80 msec
2 192.168.1.10 1040 msec 312 msec 552 msec
3 172.16.1.1 288 msec 224 msec 492 msec
4 172.16.1.2 2084 msec 2388 msec 1256 msec
CE2A#

CE1A#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks
O IA 172.16.200.1/32 [110/129] via 172.16.1.1, 00:13:11, Serial1/0
C 172.16.1.0/30 is directly connected, Serial1/0
O IA 172.16.2.0/30 [110/65] via 172.16.1.1, 00:13:11, Serial1/0
C 172.16.100.0/24 is directly connected, Loopback0
CE1A#

CE2A#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
C 172.16.200.0/30 is directly connected, Loopback0
O IA 172.16.1.0/30 [110/65] via 172.16.2.1, 00:01:28, Serial1/0
C 172.16.2.0/30 is directly connected, Serial1/0
O IA 172.16.100.1/32 [110/129] via 172.16.2.1, 00:01:28, Serial1/0
CE2A#

***********************************************************************
PE1#sh isis neighbors

System Id Type Interface IP Address State Holdtime Circuit Id
P1 L1 Se1/1 192.168.1.6 UP 24 01
P2 L1 Se1/2 192.168.1.2 UP 23 01
PE1#

P2#sh isis neighbors

System Id Type Interface IP Address State Holdtime Circuit Id
P1 L2 Se1/2 192.168.1.18 UP 27 00
PE1 L1 Se1/1 192.168.1.1 UP 26 01
PE2 L1 Se1/0 192.168.1.13 UP 27 01
P2#

P2#sh isis neighbors

System Id Type Interface IP Address State Holdtime Circuit Id
P1 L2 Se1/2 192.168.1.18 UP 27 00
PE1 L1 Se1/1 192.168.1.1 UP 26 01
PE2 L1 Se1/0 192.168.1.13 UP 27 01
P2#

PE2#sh isis neighbors

System Id Type Interface IP Address State Holdtime Circuit Id
P1 L1 Se1/0 192.168.1.10 UP 23 02
P2 L1 Se1/1 192.168.1.14 UP 20 00
PE2#

PE1#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP
+ - replicated route, % - next hop override

Gateway of last resort is not set

10.0.0.0/32 is subnetted, 4 subnets
C 10.0.1.1 is directly connected, Loopback0
i ia 10.0.2.1 [115/20] via 192.168.1.6, Serial1/1
i ia 10.0.3.1 [115/20] via 192.168.1.2, Serial1/2
S 10.0.4.1 is directly connected, Tunnel1001
192.168.1.0/24 is variably subnetted, 7 subnets, 2 masks
C 192.168.1.0/30 is directly connected, Serial1/2
L 192.168.1.1/32 is directly connected, Serial1/2
C 192.168.1.4/30 is directly connected, Serial1/1
L 192.168.1.5/32 is directly connected, Serial1/1
i L1 192.168.1.8/30 [115/20] via 192.168.1.6, Serial1/1
i L1 192.168.1.12/30 [115/20] via 192.168.1.2, Serial1/2
i ia 192.168.1.16/30 [115/20] via 192.168.1.6, Serial1/1
[115/20] via 192.168.1.2, Serial1/2
PE1#


P1#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP
+ - replicated route, % - next hop override

Gateway of last resort is not set

10.0.0.0/32 is subnetted, 4 subnets
i L1 10.0.1.1 [115/20] via 192.168.1.5, Serial1/0
C 10.0.2.1 is directly connected, Loopback0
i L2 10.0.3.1 [115/20] via 192.168.1.17, Serial1/2
i L1 10.0.4.1 [115/20] via 192.168.1.9, Serial1/1
192.168.1.0/24 is variably subnetted, 8 subnets, 2 masks
i L1 192.168.1.0/30 [115/20] via 192.168.1.5, Serial1/0
C 192.168.1.4/30 is directly connected, Serial1/0
L 192.168.1.6/32 is directly connected, Serial1/0
C 192.168.1.8/30 is directly connected, Serial1/1
L 192.168.1.10/32 is directly connected, Serial1/1
i L1 192.168.1.12/30 [115/20] via 192.168.1.9, Serial1/1
C 192.168.1.16/30 is directly connected, Serial1/2
L 192.168.1.18/32 is directly connected, Serial1/2
P1#

P2#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP
+ - replicated route, % - next hop override

Gateway of last resort is not set

10.0.0.0/32 is subnetted, 4 subnets
i L1 10.0.1.1 [115/20] via 192.168.1.1, Serial1/1
i L2 10.0.2.1 [115/20] via 192.168.1.18, Serial1/2
C 10.0.3.1 is directly connected, Loopback0
i L1 10.0.4.1 [115/20] via 192.168.1.13, Serial1/0
192.168.1.0/24 is variably subnetted, 8 subnets, 2 masks
C 192.168.1.0/30 is directly connected, Serial1/1
L 192.168.1.2/32 is directly connected, Serial1/1
i L1 192.168.1.4/30 [115/20] via 192.168.1.1, Serial1/1
i L1 192.168.1.8/30 [115/20] via 192.168.1.13, Serial1/0
C 192.168.1.12/30 is directly connected, Serial1/0
L 192.168.1.14/32 is directly connected, Serial1/0
C 192.168.1.16/30 is directly connected, Serial1/2
L 192.168.1.17/32 is directly connected, Serial1/2
P2#

PE2#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP
+ - replicated route, % - next hop override

Gateway of last resort is not set

10.0.0.0/32 is subnetted, 4 subnets
S 10.0.1.1 is directly connected, Tunnel1001
i ia 10.0.2.1 [115/20] via 192.168.1.10, Serial1/0
i ia 10.0.3.1 [115/20] via 192.168.1.14, Serial1/1
C 10.0.4.1 is directly connected, Loopback0
192.168.1.0/24 is variably subnetted, 7 subnets, 2 masks
i L1 192.168.1.0/30 [115/20] via 192.168.1.14, Serial1/1
i L1 192.168.1.4/30 [115/20] via 192.168.1.10, Serial1/0
C 192.168.1.8/30 is directly connected, Serial1/0
L 192.168.1.9/32 is directly connected, Serial1/0
C 192.168.1.12/30 is directly connected, Serial1/1
L 192.168.1.13/32 is directly connected, Serial1/1
i ia 192.168.1.16/30 [115/20] via 192.168.1.14, Serial1/1
[115/20] via 192.168.1.10, Serial1/0
PE2#
PE2#

PE1#show mpls traffic-eng tunnels brief
Signalling Summary:
LSP Tunnels Process: running
Passive LSP Listener: running
RSVP Process: running
Forwarding: enabled
Periodic reoptimization: every 3600 seconds, next in 73 seconds
Periodic FRR Promotion: Not Running
Periodic auto-bw collection: every 300 seconds, next in 73 seconds

P2P TUNNELS/LSPs:
TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PR
OT
Gold 10.0.4.1 - Se1/2 up/up
Gold_Backup 10.0.4.1 - Se1/1 up/up
Silver 10.0.4.1 - Se1/1 up/up
Silver_Backup 10.0.4.1 - Se1/2 up/up
Master_Tunnel 10.0.4.1 - unknown up/up
Gold 10.0.1.1 Se1/2 - up/up

Gold_Backup 10.0.1.1 Se1/1 - up/up

Silver 10.0.1.1 Se1/1 - up/up

Silver_Backup 10.0.1.1 Se1/2 - up/up

Displayed 5 (of 5) heads, 0 (of 0) midpoints, 4 (of 4) tails

P2MP TUNNELS:
Displayed 0 (of 0) P2MP heads

P2MP SUB-LSPS:
Displayed 0 P2MP sub-LSPs:
0 (of 0) heads, 0 (of 0) midpoints, 0 (of 0) tails
PE1#

P1#show mpls traffic-eng tunnels brief
Signalling Summary:
LSP Tunnels Process: running
Passive LSP Listener: running
RSVP Process: running
Forwarding: enabled
Periodic reoptimization: every 3600 seconds, next in 1674 seconds
Periodic FRR Promotion: Not Running
Periodic auto-bw collection: every 300 seconds, next in 174 seconds

P2P TUNNELS/LSPs:
TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PR
OT
Gold_Backup 10.0.4.1 Se1/0 Se1/1 up/up

Silver 10.0.4.1 Se1/0 Se1/1 up/up

Gold_Backup 10.0.1.1 Se1/1 Se1/0 up/up

Silver 10.0.1.1 Se1/1 Se1/0 up/up

Displayed 0 (of 0) heads, 4 (of 4) midpoints, 0 (of 0) tails

P2MP TUNNELS:
Displayed 0 (of 0) P2MP heads

P2MP SUB-LSPS:
Displayed 0 P2MP sub-LSPs:
0 (of 0) heads, 0 (of 0) midpoints, 0 (of 0) tails
P1#

P2#show mpls traffic-eng tunnels brief
Signalling Summary:
LSP Tunnels Process: running
Passive LSP Listener: running
RSVP Process: running
Forwarding: enabled
Periodic reoptimization: every 3600 seconds, next in 1910 seconds
Periodic FRR Promotion: Not Running
Periodic auto-bw collection: every 300 seconds, next in 110 seconds

P2P TUNNELS/LSPs:
TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PR
OT
Gold 10.0.4.1 Se1/1 Se1/0 up/up

Silver_Backup 10.0.4.1 Se1/1 Se1/0 up/up

Gold 10.0.1.1 Se1/0 Se1/1 up/up

Silver_Backup 10.0.1.1 Se1/0 Se1/1 up/up

Displayed 0 (of 0) heads, 4 (of 4) midpoints, 0 (of 0) tails

P2MP TUNNELS:
Displayed 0 (of 0) P2MP heads

P2MP SUB-LSPS:
Displayed 0 P2MP sub-LSPs:
0 (of 0) heads, 0 (of 0) midpoints, 0 (of 0) tails
P2#

PE2#show mpls traffic-eng tunnels brief
Signalling Summary:
LSP Tunnels Process: running
Passive LSP Listener: running
RSVP Process: running
Forwarding: enabled
Periodic reoptimization: every 3600 seconds, next in 1251 seconds
Periodic FRR Promotion: Not Running
Periodic auto-bw collection: every 300 seconds, next in 51 seconds

P2P TUNNELS/LSPs:
TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PR
OT
Gold 10.0.1.1 - Se1/1 up/up
Gold_Backup 10.0.1.1 - Se1/0 up/up
Silver 10.0.1.1 - Se1/0 up/up
Silver_Backup 10.0.1.1 - Se1/1 up/up
Master_Tunnel 10.0.1.1 - unknown up/up
Gold 10.0.4.1 Se1/1 - up/up

Gold_Backup 10.0.4.1 Se1/0 - up/up

Silver 10.0.4.1 Se1/0 - up/up

Silver_Backup 10.0.4.1 Se1/1 - up/up

Displayed 5 (of 5) heads, 0 (of 0) midpoints, 4 (of 4) tails

P2MP TUNNELS:
Displayed 0 (of 0) P2MP heads

P2MP SUB-LSPS:
Displayed 0 P2MP sub-LSPs:
0 (of 0) heads, 0 (of 0) midpoints, 0 (of 0) tails
PE2#

PE1#show mpls traffic-eng fast-reroute database detail
FRR Database Summary:
Protected interfaces : 2
Protected LSPs/Sub-LSPs : 2
Backup tunnels : 2
Active interfaces : 0

P2P LSPs:

Tun ID: 100, LSP ID: 97, Source: 10.0.1.1
Destination: 10.0.4.1
State : Ready
InLabel : Tunnel Head
OutLabel : Se1/2:23
FRR OutLabel : Tu101:implicit-null

Tun ID: 200, LSP ID: 111, Source: 10.0.1.1
Destination: 10.0.4.1
State : Ready
InLabel : Tunnel Head
OutLabel : Se1/1:30
FRR OutLabel : Tu201:implicit-null

P2MP Sub-LSPs:
PE1#

PE2#show mpls traffic-eng fast-reroute database detail
FRR Database Summary:
Protected interfaces : 2
Protected LSPs/Sub-LSPs : 2
Backup tunnels : 2
Active interfaces : 0

P2P LSPs:

Tun ID: 100, LSP ID: 55, Source: 10.0.4.1
Destination: 10.0.1.1
State : Ready
InLabel : Tunnel Head
OutLabel : Se1/1:22
FRR OutLabel : Tu101:implicit-null

Tun ID: 200, LSP ID: 73, Source: 10.0.4.1
Destination: 10.0.1.1
State : Ready
InLabel : Tunnel Head
OutLabel : Se1/0:33
FRR OutLabel : Tu201:implicit-null

P2MP Sub-LSPs:
PE2#

No comments:

Post a Comment