Isis
Isis
Isis
Will be available on
ftp://ftp-eng.cisco.com
/pfs/seminars/MENOG4-ISIS-Tutorial.pdf
And on the MENOG website
OSPF ISIS
Host End System (ES)
Router Intermediate System (IS)
Link Circuit
Packet Protocol Data Unit (PDU)
Designated router (DR) Designated IS (DIS)
Backup DR (BDR) N/A (no BDIS is used)
Link-State Advertisement (LSA) Link-State PDU (LSP)
Hello packet IIH PDU
Database Description (DBD) Complete sequence number
PDU (CSNP)
OSPF ISIS
Area Sub domain (area)
Non-backbone area Level-1 area
Backbone area Level-2 Sub domain (backbone)
Area Border Router (ABR) L1L2 router
Autonomous System Any IS
Boundary Router (ASBR)
OSPF
Rigid area design - all networks must have area 0 core, with
sub-areas distributed around
Suits ISPs with central high speed core network linking regional
PoPs
Teaches good routing protocol design practices
ISIS
Relaxed two level design - L2 routers must be linked through
the backbone
Suits ISPs with “stringy” networks, diverse infrastructure, etc,
not fitting central core model of OSPF
More flexible than OSPF, but easier to make mistakes too
ISO 10589 specifies OSI IS-IS routing protocol for CLNS traffic
Tag/Length/Value (TLV) options to enhance the protocol
A Link State protocol with a 2 level hierarchical architecture.
RFC 1195 added IP support
I/IS-IS runs on top of the Data Link Layer
Requires CLNP to be configured
RFC5308 adds IPv6 address family support to IS-IS
RFC5120 defines Multi-Topology concept for IS-IS
Permits IPv4 and IPv6 topologies which are not identical
A router can be
Level-1 (L1) router
Level-2 (L2) router
Level-1-2 (L1L2) router
Level-1 router
Has neighbours only on the same area
Has a level-1 LSDB with all routing information for the area
Level-2 router
May have neighbours in the same or other areas
Has a Level-2 LSDB with all routing information about inter-area
Level-1-2 router
May have neighbours on any area.
Has two separate LSDBs: level-1 LSDB & level-2 LSDB
Area-2 L2-only
L1L2
L1L2
L1-only
Area-4
L1L2 L1-only
Area-1
L1L2
L1-only
49.0f01.0002.4444.4444.4444.00 Area 3
49.0f01.0003.6666.6666.6666.00
Area 2
49.0f01.0002.3333.3333.3333.00
49.0f01.0004.7777.7777.7777.00 Area 4
49.0f01.0001.2222.2222.2222.00
49.0f01.0004.8888.8888.8888.00
Area 1
49.0f01.0001.1111.1111.1111.00
Example:
NSAP: 49.0001.1921.6800.1001.00
Router: 192.168.1.1 (loopback) in Area 1
Rtr-B Rtr-C
Router-B
interface Loopback0 Rtr-A Rtr-D
ip address 192.168.1.1 255.255.255.255 L1routers
!
Interface Pos2/0/0 Router-A
ip address 192.168.222.1 255.255.255.0
ip router isis interface Loopback0
isis circuit-type level-2 ip address 192.168.1.5 255.255.255.255
! !
FastEthernet4/0/0 interface FastEthernet0/0
ip address 192.168.120.10 255.255.255.0 ip address 192.168.120.5 255.255.255.0
ip router isis ip router isis
isis circuit-type level-1 !
! router isis
router isis is-type level-1
passive-interface Loopback0 passive-interface Loopback0
net 49.0001.1921.6800.1001.00 net 49.0001.1921.6800.1005.00
MENOG 4 © 2009 Cisco Systems, Inc. All rights reserved. 37
Configuration for C&D L1L2 routers
Rtr-B Rtr-C
Router-C
interface Loopback0 Rtr-A Rtr-D
ip address 192.168.2.2 255.255.255.255 L1routers
!
Interface Pos1/0/0 Router-D
ip address 192.168.222.2 255.255.255.0
ip router isis interface Loopback0
isis circuit-type level-2 ip address 192.168.2.4 255.255.255.255
! !
interface Fddi3/0 interface Fddi6/0
ip address 192.168.111.2 255.255.255.0 ip address 192.168.111.4 255.255.255.0
ip router isis ip router isis
isis circuit-type level-1 !
! router isis
router isis is-type level-1
passive-interface Loopback0 passive-interface Loopback0
net 49.0002.1921.6800.2002.00 net 49.0002.1921.6800.2004.00
MENOG 4 © 2009 Cisco Systems, Inc. All rights reserved. 38
Adding interfaces to ISIS
Rtr-B>show clns
Global CLNS Information:
2 Interfaces Enabled for CLNS
NET: 49.0001.1921.6800.1001.00
Configuration Timer: 60, Default Holding Timer: 300, Packet
Lifetime 64
ERPDU's requested on locally generated packets
Intermediate system operation enabled (forwarding allowed)
IS-IS level-1-2 Router:
Routing for Area: 49.0001
Router1#
interface ethernet-1
ip address 10.1.1.1 255.255.255.0
ipv6 address 2001:db8:1::1/64
LAN1: 2001:db8:1::/64 ip router isis
ipv6 router isis
Ethernet-1
interface ethernet-2
Router1 ip address 10.2.1.1 255.255.255.0
Ethernet-2 ipv6 address 2001:db8:2::1/64
ip router isis
LAN2: 2001:db8:2::/64 ipv6 router isis
router isis
Dual IPv4/IPv6 configuration. address-family ipv6
redistribute static
Redistributing both IPv6 static routes exit-address-family
and IPv4 static routes. net 49.0001.0000.0000.072c.00
redistribute static
On Router1:
interface Tunnel0
no ip address IPv6
ipv6 address 2001:db8:1::1/64 Network
ipv6 address FE80::10:7BC2:ACC9:10 link-local
ipv6 router isis
tunnel source 10.42.1.1 IPv6 Tunnel
tunnel destination 10.42.2.1
!
router isis
IPv4 IPv6
net 49.0001.0000.0000.0001.00
Backbone Tunnel
IPv6
IPv6 Tunnel
On Router2: Network
interface Tunnel0 IPv6
no ip address Network
ipv6 address 2001:db8:1::2/64
ipv6 address FE80::10:7BC2:B280:11 link-local IS-IS for IPv6 on an IPv6 Tunnel
ipv6 router isis
tunnel source 10.42.2.1 requires GRE Tunnel; it can’t work
!
tunnel destination 10.42.1.1
with IPv6 configured tunnel as IS-IS
router isis runs directly over the data link layer
net 49.0001.0000.0000.0002.00
MENOG 4 © 2009 Cisco Systems, Inc. All rights reserved. 52
Multi-Topology IS-IS extensions
Router1#
Area B interface Ethernet 1
ip address 10.1.1.1 255.255.255.0
ipv6 address 2001:db8:1::1/64
ip router isis
ipv6 router isis
LAN1: 2001:db8:1::1/64 isis ipv6 metric 20
L2
L1-L2 and L1 used later for scaling
Wide metrics
Narrow metrics are too limiting
interface loopback0
ip address 192.168.0.1 255.255.255.255
ipv6 address 2001:db8:192:168:0:1/128
interface gigabitethernet0/1
isis priority 127 level-1
interface gigabitethernet0/1
bfd interval 250 min_rx 250 multiplier 3
This interface is used for a trunk link to another PoP forming part of
your network-wide backbone
As such it will be a Level-2 interface, making this router a Level-
1/Level-2 IS.
Metric and authentication are all configured for Level-2
interface gigabitethernet0/2
ip address 192.168.2.1 255.255.255.252
ipv6 address 2001:db8:192:168:2:1:/126
ip router isis 1
ipv6 router isis 1
isis circuit-type level-2-only
isis metric 400 level-2
isis ipv6 metric 400 level-2
isis authentication mode md5 level-2
isis authentication key-chain isis-sec-l2 level-2
MENOG 4 © 2009 Cisco Systems, Inc. All rights reserved. 65
Level 2 interface: more details
To make this IS-IS BCP more interesting, we will assume this trunk
link is a broadcast multi-access link, i.e., Ethernet.
As this is an Ethernet interface, IS-IS will attempt to elect a DIS
when it forms an adjacency
Because it is running as a point-to-point WAN link, with only 2 IS's on
the wire, configuring IS-IS to operate in "point-to-point mode" scales
the protocol by reducing the link failure detection times
Point-to-point mode improves convergence times on Ethernet networks
because it:
Prevents the election of a DIS on the wire,
Prevents the flooding process from using CSNP's for database
synchronization
Simplifies the SPF computations and reduces the IS's memory
footprint due to a smaller topology database.
int gi0/2
isis network point-to-point
MENOG 4 © 2009 Cisco Systems, Inc. All rights reserved. 66
ISP Best Practices
router isis 1
is-type level-1
router isis 1
redistribute isis ip level-2 into level-1 route-map FOO
!
ip prefix-list foo permit 0.0.0.0/0 le 32
!
route-map FOO permit 10
match ip address prefix-list foo
MENOG 4 © 2009 Cisco Systems, Inc. All rights reserved. 77
ISP Best Practices
router isis 1
address-family ipv6
redistribute isis level-2 into level-1 route-map FOO6
!
ip prefix-list foo6 permit 0.0.0.0/0 le 32
!
route-map FOO6 permit 10
match ip address prefix-list foo6
!
Summary
Best practice recommendations are commonly implemented on
many ISP backbones
Ensures efficient and scalable operation of ISIS