BRKRST-2338 - 2015 Milan PDF
BRKRST-2338 - 2015 Milan PDF
BRKRST-2338 - 2015 Milan PDF
Networks
BRKRST-2338
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
What is IS-IS ?
Intermediate System-to-Intermediate System (IS-IS) Overview
• IS-IS is a link-state routing protocol;
– Commonly used in Service Providers and large Enterprise networks.
– Offer Fast convergence
– Excellent scalability
– Flexibility in terms of tuning
• Easily extensible with Type/Length/Value (TLV) extensions;
– IPv6 Address Family support (RFC 2308)
– Multi-Topology support (RFC 5120)
– MPLS Traffic Engineering (RFC 3316)
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
What is IS-IS ?
CLNS Encapsulation of IS-IS
• IS-IS is a Layer 2 protocol and is not encapsulated in IP
• Logical Link Control (LLC) 802.3 Data-link header for IS-IS uses :
– DSAP (Destination Service Access Point) set to 0xFE
– SSAP (Source Service Access Point) set to 0xFE
• IS-IS Fixed header
• IS-IS Data encoded as Type-Length-Value (TLV)
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
What is IS-IS ?
IS-IS Addressing
• Each IS-IS router is identified with a Network Entity Title (NET)
• ISPs commonly choose addresses as follows:
– First 8 bits – pick a number (49 used in these examples)
– Next 16 bits – area
IOS Example:
– Next 48 bits – router loopback address !
– Final 8 bits – zero interface Loopback0
ip address 192.168.1.1 255.255.255.255
!
• Example: interface Ethernet0
ip address 192.168.12.1 255.255.255.0
– NET: 49.0001.1921.6800.1001.00 ip router isis
– Router:192.168.1.1(loopback) in Area1 !
router isis
passive-interface Loopback0
net 49.0001.1920.1680.1001.00
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
* draft-bhatia-manral-diff-isis-ospf
ISIS vs OSPF
Notable Similarities and Differences
IS-IS and OSPF are both link state protocols, there are similarities and differences
• Similarities: • Differences:
– Link-state representation, aging, and – IS-IS organizes domain into two
metrics layers; OSPF designates backbone
– Use of Link-state databases and SPF area (area 0)
algorithms – IS-IS peering is more flexible than
– Update, routing decisions, and OSPF (hello time, dead intervals, and
flooding processes similar subnet mask need not match)
– IS-IS selects single DIS which may be
preempted; OSPF elects a DR/BDR
which cannot be preempted,
– IS-IS does not support NBMA, point-
to-multipoint, or virtual links (it rides L2
directly)
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
ISIS vs OSPF
Terminology
• OSPF • ISIS
– Host – End System (ES)
– Router – Intermediate System (IS)
– Link – Circuit
– Packet – Protocol Data Unit (PDU)
– Designated router (DR) – Designated IS (DIS)
– Backup router (BDR) – N/A (no DBIS is used)
– Links State Advertisement (LSA) – Link State PDU (LSP)
– Hello Packet – IIH PDU
– Database Description (DBD) – Complete Sequence Number PDU
(CSNP)
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
ISIS vs OSPF
OSPF Areas - Example Area 1
• OSPF
– Area
– Backbone Area (area 0)
– Non-backbone area
ABR
– Area Border Router (ABR)
– Autonomous System
Boundary Router (ASBR) Area 2 Area 0 Area 3
ABR ABR
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
ISIS vs OSPF
ISIS Areas - Example Area 1
• ISIS
L1
– Sub domain (area)
– Level-2 Sub domain (backbone) Backbone
– Level-1 area Level 2
L1-L2
– Level-1-2 router (L1-L2)
– AS boundary can be any router (IS)
• IS-IS does not have back- Area 2 Area 3
bone “area”
– A backbone is a contiguous L1-L2 L1-L2
collection of Level-2 routers
L1 L1
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Hierarchy Levels
• IS-IS presently has a two-layer hierarchy
– The backbone (level 2)
– Non-backbone areas (level 1) L1 Routers
Area Area
• An IS (router) can be either:
– Level 1 router (used for intra-area routing) L1-L2 Routers
L2 Routers
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Hierarchy Levels
Level 1 Routers
• Level 1-only routers
– Can only form adjacencies with Level 1 routers with-in the same area
– Link State Data Base (LSDB) only carries intra-area information
L1-Adjacency
L1 L1
Area 1
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Hierarchy Levels
Level 2 Routers
• Level-2-only routers
– Exchange information about the L2 area
– Can form adjacencies in multiple areas
L2-Adjacency L2-Adjacency
L2 L2 L2
Area 1 Area 2
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Hierarchy Levels
Level1-2 Routers
• Level 2 routers may also perform Level-1 routing (L1-L2 routers)
– L1-L2 routers may have neighbors in any area
– Have two separate LSDBs: Level-1 LSDB & Level-2 LSDB
• Level 1-2 routers carry other L1 area information;
– How to reach other L1 areas via the L2 topology
– Level 1 routers look at the Attached-bit (ATT-bit) to find the closest Level 1–2 router
– Installs a default route to the closest Level 1–2 router in the area
L1-Adjacency L2-Adjacency
L1 L1-L2 L2
Area 1 Area 2
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Hierarchy Levels
Level 1, Level 2, and Level 1–2 Routers
Area 3
L1-only
L2-only
L1-L2
Area 2 L1-L2
L1-only
L1-L2
L1-L2 Area 4
L1-L2
L1-only
This router has to behave as level-2
L1-L2 as well in order to guarantee backbone
L1-only Area 1 continuity and carry L2 DB
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
ISIS Overview
- Best practices
Setting IS-IS Metric
• ISIS interface cost is not dynamic and there is no auto-cost reference, the
default metric for all interfaces is 10 for both L1 and L2
• Manually configure Metric across the network with "isis metric" interface
command according to overall routing strategy
– Compare with OSPF which set cost according to link bandwidth
• If a link, such as one that is used for traffic engineering, should not be included
in the SPF calculation, enter the isis metric command with the maximum
keyword.
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Increase IS-IS Default Metric
• Keeping the default metric as 10 across the network is not optimal, if configured
value on any preferred interface is “accidentally” removed - a low priority
interface could end up taking full load by mistake
• Configure a “very large” value as default across the network - metric 100000
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
IS-IS MTU Mismatch detection
Disable Hello padding
• Disable IS-IS Hello [IIH] padding
– On high speed links, it may strain huge buffers
– On low speed links, it waste bandwidth
– May affect time sensitive applications, e.g., voice
• IOS will pad the first 5 IIH's to the full MTU to aid in the discovery of MTU
mismatches.
• “Sometimes” option on IOS-XR will use hello padding for adjacency formation
only
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Agenda
• ISIS Overview
- CLNS, L1/L2 Routing, Best Practices
• ISIS for IPv6
- Single Topology, Multi-Topology
• ISIS in the Backbone
- Fast Convergence Features
• ISIS at the Edge
- BGP and MPLS Considerations
• ISIS at the Access / Aggregation
- Route Leaking, Traffic Engineering and IP FRR
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
ISIS for IPv6
- Single Topology, Multi-Topology
IS-IS for IPv6
• IPv6 Address Family support (RFC 2308)
• 2 new Tag/Length/Values added to introduce IPv6 routing
– IPv6 Reachability TLV(0xEC):
• Equivalent to IP Internal/External Reachability TLV’s
– IPv6 Interface Address TLV(0xE8)
• For Hello PDUs, must contain the link-local address
• For LSP, must contain the non-link local address
• IPv6 NLPID (Network Layer Protocol Identifier) (0x8E) is advertised by IPv6
enabled routers
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
IOS
IS-IS for IPv6-Only –Example Rtr1#
ipv6 enable
interface ethernet0
ipv6 address 2001:db8:1:1::1/64
ipv6 router isis
Area 49.0001 isis circuit-type level-2-only
!
router isis
net 49.0001.1921.6801.0001.00
address-family ipv6
Rtr1 redistribute static
E0 2001:db8:1:1::1/64 exit-address-family
ASR9K
Rtr2#
interface ethernet0
E0 2001:db8:1:1::2/64 ipv6 address 2001:db8:1:1::2/64
ipv6 enable
!
Rtr2 router isis
net 49.0001.1921.6802.0001.00
address-family ipv6 unicast
single-topology
Area 49.0002 redistribute static
exit-address-family
interface fastethernet0/0
circuit-type level-2-only
address-family ipv6 unicast
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
IS-IS with dual stack - IOS Example
Rtr1#
Dual IPv4/IPv6 configuration interface ethernet1
ip address 10.1.1.1 255.255.255.0
ipv6 address 2001:db8:1::1/64
ip router isis
Rtr1
ipv6 router isis
2001:db8:1::/64
interface ethernet2
Ethernet1 ip address 10.2.1.1 255.255.255.0
ipv6 address 2001:db8:2::1/64
Rtr2 ip router isis
Ethernet2 ipv6 router isis
2001:db8:2::/64 router isis
net 49.0001.0000.0000.072c.00
address-family ipv6
redistribute static
Redistributing both IPv6 static routes and exit-address-family
redistribute static
IPv4 static routes.
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
IS-IS for IPv6
Restrictions with Single Topology
• In Single topology IS-IS for IPv6 uses the same SPF for both IPv4 and IPv6.
– IPv4 and IPv6 topologies MUST match exactly
No Adjacency
– Cannot run IS-IS IPv6 on some interfaces,
IS-IS IPv4 on others.
– An IS-IS IPv6-only router will not form an IPv6 / IPv4 IPv6-only
adjacency with an IS-IS IPv4/IPv6 router
(Exception is over L2-only interface)
• Cannot join two IPv6 areas via an IPv4-only area
– L2 adjacencies will form OK
– IPv6 traffic will black-hole in the IPv4 area. IPv6 IPv4 IPv6
Network Network
L2 L2
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
IS-IS for IPv6
Multi-Topology IS-IS extensions
• Multi-Topology IS-IS solves the restrictions of Single topology
– Two independent topology databases maintained
– IPv4 uses Multi-Topology ID (MTID) zero(0) router isis
– New Multi-Topology ID (MTID #2) for IPv6 net 49.0001.0000.0000.072c.00
metric-style wide
• Multi-Topology IS-IS has updated packets !
address-family ipv6
– Hello packets marked with MTID #0 or MTID #2 multi-topology
– New TLV attributes introduced exit-address-family
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
IS-IS for IPv6
Choosing Single or Multi-Topology IS-IS
• Use Single-Topology (IOS default) for;
– No planned differences in topology between IPv4 and IPv6
– Each interface has the same IPv4 and IPv6 router Level
• The optional keyword transition may be used for transitioning existing IS-IS IPv6
single Topology mode to Multi-Topology IS-IS
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
IS-IS for IPv6
Transition to Multi-Topology IS-IS – Wide Metrics
• Ensure “Wide metric” is enabled
– Mandatory for Multi-Topology to work
– When migrating from narrow to wide metrics, care is required
– Narrow and wide metrics are NOT compatible with each other
– Step 2: Once the whole network is changed to transition support, the metric style can
be changed to wide
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Agenda
• ISIS Overview
- CLNS, L1/L2 Routing, Best Practices
• ISIS for IPv6
- Single Topology, Multi-Topology
• ISIS in the Backbone
- Area Design, Fast Convergence Features
• ISIS at the Edge
- BGP and MPLS Considerations
• ISIS at the Access / Aggregation
- Route Leaking, Traffic Engineering and IP FRR
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
ISIS in the Backbone
- Area design
Area and Scaling
Areas vs. single area
• ISIS supports a large number of routers in a single area
– More than 400 routers in the backbone is possible
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Areas and Suboptimal Routing
TOTAL
METRIC = 60 Area 2
L1 Area 1
Router A
L1L2
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Area Design 49.0001
L1-Only POP 49.001 49.001
49.001 49.001
L1-Only
• In this design, all the routers will be running in one area and are all doing L1-
only routing
• This design is flat with a single L1-only database running on all the routers
• If you have a change in the topology, the SPF computation will be done in all the
routers as they are in the L1-only domain
• SPs picked L1-only to avoid sub-optimal routing problems
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Area Design 49.000
L2-Only POP 49.000 49.000
49.000 49.000
L2-Only
• In this design, all the routers will be running L2-Only in the network
– With the same Area in all the POPs
• Optimal routing with L2-only database
• Traffic-engineering support with no restrictions, just like L1-only
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Area Design 49.000
L2-Only POP 49.001 49.004
49.002 49.003
L2-Only
• In this design, all the routers will be running L2-Only in the network
– With the different Area in all the POPs
– No summarization and No route-leaking
• All the routers in L2 will share all the LSPs and provides optimal routing (similar to L1-Only
POPs)
• As the network grows, easy to bring the L1-only POPs/sub-networks for easy migration
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Area Design
L1 in the POP and L2 in the Core L1L2
49.000
49.001 49.004
49.002 49.003
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Area Design
L1 in the POP and L2 in the Core
• All the L1-routers in a given pop will receive the ATT bit set by the L1L2 router at
the edge of the POP
– L1 routers install a default route based on the ATT bit
• This will cause sub-optimal routing in reaching L2 Core
the prefixes outside the POP by the local routers
• Summarization at the L1L2 boundary
L1/L2
– potential sub-optimal inter-area routing in certain L1/L2
L1 Only
failure conditions Area 49.0004
– potential black-holing of traffic
– potential breaking of MPLS LSP among PEs L1 L1
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Backbone
- Fast Convergence
Convergence - Overview
• Assume a flow from A to B
• T1: when L dies, the best path is impacted
– loss of traffic
• T2: when traffic reaches the destination again
• Loss of Connectivity: T2 – T1, called “convergence”
A F B
Link L
T1 T2
Convergence
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
IS-IS Fast Convergence
• Historical IGP convergence ~ O(10-30s)
– Focus was on stability rather than fast convergence
• If fast reroute techniques are used, traffic restoration may happen well before
the network convergence.
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
IS-IS Fast Convergence
T1
Event Detection
Convergence
Event Propagation
Event Processing
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Failure Detection with BFD
• Bidirectional Forwarding Detection (BFD)* provides a lightweight protocol
independent mechanism, Improving Indirect Layer 3 Neighbor Failure Detection
– With BFD running on the interface, a failure of the link would signal IS-IS immediately
BFD
interface GigabitEthernet 4/1
bfd interval 100 min_rx 100 multiplier 3
!
router isis
bfd all-interfaces
Metro Ethernet
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Event Detection
Fast Hellos BFD
• Same Hellos sent more frequently ! • Protocol independent, Even Faster
– ~1 second detection – 50ms x 3 = 150ms
• Process Driven ( Scheduler ) • Interrupt Driven like CEF ( no waiting )
• Different Hello per Protocol • Single Hello Type
– PIM, LDP, IS-IS, OSPF.. – Clients are IS-IS, OSPF..
• Handled by Central CPU • Hardware Offloaded on some platforms
– False positives and load to CPU – Nexus, ASR 1k/9k, 7600 ES+
• Bandwidth intensive - 50+ Bytes • Light weight ~24 bytes
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Enable P2P adjacency over LAN
• When LAN interfaces are used between two routers, we can configure ISIS to
behave as p2p
• One step less in SPF computation and reduced number of nodes in SPT (no
pseudonode)
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
IS-IS Fast Convergence
T1
Event Detection
Convergence
Event Propagation
Event Processing
router isis
fast-flood 15
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
LSP Flooding
LSP interval
• ISO 10589 states LSP flooding on a LAN should be limited to 30 LSP’s per sec
• Default time between consecutive LSP’s is a minimum of 33 milliseconds
• LSP pacing can be reduced in order to speed up end to end flooding
• Reduce the gap through: lsp-interval interface configuration command (msecs):
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Reduce the frequency and amount of flooding
• Reduce the amount of control traffic, conserving CPU usage for generation and
refreshing of LSP's.
– Do this by increasing the LSP lifetime to its limits.
router isis
max-lsp-lifetime 65535
• Reduce the frequency of periodic LSP flooding of the topology, which reduces
link utilization
router isis
lsp-refresh-interval 65000
– This is safe with the help of other mechanisms to guard against persistence of corrupted
LSP's in the LSDB.
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Ignore LSP errors
• Tell the IS to ignore LSP's with an incorrect data-link checksum, rather than
purge them
router isis
ignore-lsp-errors
• Purging LSP's with a bad checksum causes the initiating IS to regenerate that
LSP, which could overload the IS if continued in a cycle, so rather than purge
them, ignore them.
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
IS-IS Fast Convergence
T1
Event Detection
Convergence
Event Propagation
Event Processing
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Exponential Back-off Timer
• This mechanism dynamically controls the time between the receipt of a trigger
and the processing of the related action.
– As the stability decreases (trigger frequency increases), the mechanism delays the
processing of the related actions.
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Exponential Back-off Timer
Throttling events
• These timers fine tunes three different events, which are a system of trigger and
action
Trigger: Local LSP change Action: Originate the new LSP and flood it
Trigger: LSP Database change and Tree Change Action: Run SPF/iSPF
Trigger: LSP Database change but no tree change Action: Run PRC
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Exponential Back-off Timer
• The mechanism uses three parameters for all three events :
– M (maximum) [s]
– I (initial wait) [ms]
– E (Exponential Increment) [ms]
router isis
spf-interval M I E
prc-interval M I E
lsp-gen-interval M I E
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Exponential Back-off Timer
Initial Wait, Maximum Time and Exponential Increment
• Initial Wait ( I ) :
With I = 1ms, convergence will be 5500ms faster in most cases, without any
drawback ( thanks to the dynamic adaptation provided by the exponential back-off
algorithm )
Caveat : In some node failures (not all) and SRLG failures, we need several
LSP's to be able to compute the right loop-free alternate path. If such cases are
important, 'I' should be increased to several ten's of msec to ensure reception and
flooding of these LSP's
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Exponential Back-off Timer
Initial Wait, Maximum Time and Exponential Increment
• Exponential timer ( E) :
Depends on how conservative : from 20msec to an average SPF time
If the first action took place and then a second trigger is received, the related
action is scheduled to occur E after the previous action has been completed
(timestamps are calculated at the end of each action). E is the Exponential
Increment.
If the second trigger occurs in between the first trigger and the first action,
obviously the first action is acted based on both triggers.
• Maximum Time ( M ) :
Again depends on how conservative - Default value looks fine except if frequency
of bad/good news is high
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Event Processing
SPF and RIB decoupled -PRC Add a
Loopback
• Run SPF (Dijkstra) only :
– If any topology change (node, link)
– Recompute SPT and the RIB
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Enable iSPF (incremental SPF)
• iSPF in the long run, reduces CPU demand because SPF calculations are run
only on the affected changes in the SPT
router isis
ispf [level-1 | level-2 | level-1-2]
• On L1-L2 routers, enable iSPF at both levels. Configure the timer ( seconds ) for
ispf to start, after the command has been entered into the configuration
ispf level-1-2 60
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
IS-IS Fast Convergence
T1
Event Detection
Convergence
Event Propagation
Event Processing
Distributed FIB
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Optimize RIB/FIB update
• RIB update:
– linear function of the number of prefixes to update
– worst-case = function of the total number of prefixes to update
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
RIB: Limit the number of prefixes
• Limit the number of ISIS prefixes to the minimum to scale. There are two options :
– Exclude the connected interfaces manually – better control, works for small scale
int GigabitEthernet4/1
ip router isis
no isis advertise-prefix
– Just advertise loopback’s prefix , which is passive, works for large scale
router isis
advertise-passive-only
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
RIB/FIB update
Prioritize IS-IS Local RIB
• As in most cases, the number of important prefixes is significantly smaller than the total
number of prefixes, this functionality is extremely useful and is a significant fast-
convergence gain.
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Prefix Prioritization
• Prefix Prioritization is a key differentiator
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
RIB: Local RIB and prefix prioritization
P2
P1 P3 PE2
PE1
P4
Network x Network y
CE1 CE2
!
interface loopback0
ip router isis
isis tag 17
!
router isis
ip route priority high tag 17
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Agenda
• ISIS Overview
- CLNS, L1/L2 Routing, Best Practices
• ISIS for IPv6
- Single Topology, Multi-Topology
• ISIS in the Backbone
- Area Design, Fast Convergence Features
• ISIS at the Edge
- BGP and MPLS Considerations
• ISIS at the Access / Aggregation
- Route Leaking, Traffic Engineering and IP FRR
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Primary
Interaction with BGP Back-up
set-overload-bit
• Mechanism used by IS-IS Networks in order to Internet
E
decrease the data loss associated with deterministic
black-holing of packets during transient network conditions
D
• “set-overload-bit” condition can be used by a router
in a transient condition to tell other routers not to
use itself as a transit node
B C
• Typically when IS-IS is up but BGP may not have
had time to fully converge or even MPLS not up yet set-overload-bit ON
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
IS-IS and LDP
• Problem statement
– If IGP selects the link before the LDP labels are available any MPLS-VPN (L2/L3) traffic
is lost until the labels are ready
• Solution
– LDP session protection
– LDP/IGP synchronization
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
LDP session Protection
• A loopback-to-loopback session is automatically P1 P2
established upon LDP neighbor detection on
a local interface P4
P3
• This session survives link failure for <seconds>
(default: indefinitely) and hence ensures that
the labels of the neighbors are still present when LDP Session
the link comes back up Session Protected LDP
• This requires redundant path between the two
nodes, which can be non-direct (typically the case in SP backbone)
mpls ldp session protection [ for <acl> | duration <seconds> | vrf <name> ]
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
LDP/IGP Sync
• LDP sessions and traffic loss:
– When an adjacency goes UP, traffic might start flowing across the link, even before the
LDP session is UP.
– If an LDP session goes DOWN, forwarding might continue over the broken link, instead
of using a better path.
P2
PE1 P1 P3 PE2
P4
Network X Network Y
CE1 CE2
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
LDP/IGP Sync
• Keep the IGP State Synchronized with LDP session State
router isis
mpls ldp sync
P2
P1 P3 PE2
PE1
P4
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
NSR and NSF ( Graceful Restart )
• Intra-chassis recovery mechanisms with dual supervisors
• The IS-IS NSF feature offers two modes:
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
NSR and NSF (Graceful Restart)
• IETF mode ( NSF ):
– With IETF, Operation between peer devices based on a proposed standard. But
neighbors need to be NSF-aware
– After the switchover, neighbor routers provide adjacency and link-state information to
help rebuild the routing information following a switchover.
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
NSF and Hello Timers
• When NSF/SSO is included in the design, a good objective is to avoid losing the
hello adjacency during a valid switch-over.
• In most scenarios, testing has indicated that the “hold down” should not be
configured to less than 4 seconds to achieve this.
• In networks with only P2P links or BFD, IGP will re-converge as soon as the
interface goes down or a failure happens, NSF will not work.
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Agenda
• ISIS Overview
- CLNS, L1/L2 Routing, Best Practices
• ISIS for IPv6
- Single Topology, Multi-Topology
• ISIS in the Backbone
- Area Design, Fast Convergence Features
• ISIS at the Edge
- BGP and MPLS Considerations
• ISIS at the Access / Aggregation
- Route Leaking, Traffic Engineering and IP FRR
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
L1-L2 Router at Edge of POP
Route-Leaking
• It is recommended to configure the L1-L2 routers at the edge of the pop with
route-leaking capabilities
• Leak BGP next-hops and summarize physical link
• Hence the L1 routers will be able to take the right exit/entry router based on the
metric of the leaked IP-prefix
– Optimal Inter-Area Routing
• Ensure ‘metric-style wide’ is configured when leaking routes
e.g. MPLS-VPN (PEs Loopback Reachability and LSP binding)
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
ISIS LFA Fast Reroute
LFA – Loop Free Alternate
• Backup Path is pre-computed using LFA
mechanism so router can very rapidly switch
when a failure is detected without further S D
computation A B
convergence
• A fast detection mechanism is required to
trigger the forwarding engine to switch from
the primary path to the backup path (BFD…)
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
LFA Conditions
Route D
Primary path: F
Backup path: R1 LFA
10
10
S F D
R0 R2
10
20
R1 Primary Path
Backup Path
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Conditions with no LFA
Route D
Primary path: F
Backup path: --
S F R3
10 10
D
10
Route D 20
NH: S
20 Route D
R1 R2
NH: R3
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
ISIS – Enabling LFA on IOS
• By default, LFA computation is disabled
• To enable LFA computation
router isis
fast-reroute per-prefix {level-1 | level-2} {all | route-map <route-map-name>}
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
ISIS – FRR Using Route Maps
Protecting BGP next-hops using interface tags
B E
A
D
C A
interface ethernet 1/0
Other Routers
ip address 10.1.1.1 255.255.255.0
ip router isis
router isis
net 47.0004.004d.0001.0001.c11.1111.00 isis tag 17
fast-reroute per-prefix level-2 route-map ipfrr-include interface ethernet 1/1
! ip address 172.16.1.1 255.255.255.0
route-map ipfrr-include ip router isis
match tag 17
isis tag 17
router isis
net 49.0001.0001.0001.0001.00
Route tags are 4 bytes long and flooded with LSAs in sub-TLV 1 of TLV 135 fast-reroute per-prefix level-2
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Summary: What Have We Learned?
• Deploying IS-IS from Scale, Convergence and Ease of troubleshooting standpoint
• Considerations with single Area / Multi-Area design
• Deploying IPv6 with IS-IS and migration techniques
• Techniques to achieve fast convergence in different parts of the network
• IS-IS features to optimize operations with BGP and MPLS
• Best practices and recommendations for every segment
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Reference Configuration with Best Practices
on IOS and IOS-XR
IS-IS Configuration on IOS
router isis interface TenGigabitEthernet3/2
net 10.0000.0000.0010.00 ip address 192.168.1.1 255.255.255.252
is-type level-2-only ip router isis
advertise passive-only bfd interval 200 min_rx 200 multiplier 3
metric-style wide isis circuit-type level-2-only
fast-flood isis network point-to-point
ip route priority high tag 10 no isis advertise prefix
set-overload-bit on-startup wait-for-bgp isis tag 10
max-lsp-lifetime 65535 isis mesh-group
lsp-refresh-interval 65000 !
spf-interval 2 50 100
hello padding
nsf cisco | ietf
fast-reroute per-prefix level-2 all
redistribute isis ip level-2 into level-
1 distribute-list 199
passive-interface Loopback
bfd all-interfaces
!
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
IS-IS Configuration on IOS-XR
router isis DEFAULT
set-overload-bit on-startup wait-for-bgp interface TenGigE0/0/0/0
is-type level-2-only bfd fast-detect ipv48
net 10.0000.0000.0009.00 mesh-group 1
nsf cisco | ietf point-to-point
lsp-refresh-interval 65000 hello-padding sometimes
max-lsp-lifetime 65535 address-family ipv4 unicast
address-family ipv4 unicast !
metric-style wide !
fast-reroute per-prefix priority-limit critical interface TenGigE0/0/0/2
fast-reroute per-prefix priority-limit critical point-to-point
spf-interval maximum-wait 2000 initial-wait 50 address-family ipv4 unicast
secondary-wait 150 !
advertise passive-only !
! !
interface Loopback0
passive
!
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Configuring IS-IS for MPLS TE on IOS-XR
mpls traffic-eng tunnels
!
interface TenGigabitEthernet0/1/0
ip address 172.16.0.0 255.255.255.254
ip router isis
mpls traffic-eng tunnels
mpls traffic-eng attribute-flags 0xF
mpls traffic-eng administrative-weight 20
ip rsvp bandwidth 100000
!
router isis
net 49.0001.1720.1625.5001.00
is-type level-2-only
metric-style wide
mpls traffic-eng router-id Loopback0
mpls traffic-eng level-2
passive-interface Loopback0
!
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Configuring IS-IS for MPLS TE on IOS-XR
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Recommended Sessions
• BRKRST-3020 - Advanced - IP LFA (Loop-Free-Alternative): Architecture and Troubleshooting
• BRKRST-2124 - Introduction to Segment Routing
• BRKRST-3122 - Segment Routing: Technology and Use-cases
• BRKRST-3123 - Segment Routing for IPv6 Networks
• BRKRST-2022 - IPv6 Routing Protocols Update
• BRKRST-2336 (EIGRP), 2337 (OSPF) – Deployment in Modern Networks
• BRKRST-3371 – Advances in BGP
• BRKMPL-3101 - Advanced Topics and Future Directions in MPLS
• LTRSPG-2500 - L2VPN over IOS-XE and IOS-XR: Configuration, Deployment and Troubleshooting
• BRKRST-2044 - Enterprise Multi-Homed Internet Edge Architectures
BRKRST-2338 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Call to Action
• Visit the World of Solutions for
– Cisco Campus – Enterprise Networks, Service Provider
– Walk in Labs – MPLS / Routing labs
– Technical Solution Clinics - Routing
• Lunch time Table Topics
• DevNet zone related labs and sessions
• Recommended Reading: for reading material and further resources for this
session, please visit www.pearson-books.com/CLMilan2015
Presentation_ID © 2015 Cisco and/or its affiliates. All rights reserved. Cisco Public
Complete Your Online Session Evaluation
• Please complete your online session
evaluations after each session.
Complete 4 session evaluations
& the Overall Conference Evaluation
(available from Thursday)
to receive your Cisco Live T-shirt.
Presentation_ID © 2015 Cisco and/or its affiliates. All rights reserved. Cisco Public