Home > Articles > Networking

This chapter is from the book

This chapter is from the book

IP and OSI Routing with Integrated IS-IS

Integrated IS-IS supports three types of networks:

  • OSI only (CLNS)

  • IP only

  • Dual (that is, both OSI and IP simultaneously)

The Integrated IS-IS LSPs can contain multiple variable-length TLV fields, with some containing OSI-specific state information and some containing IP-specific state information.

This section explains how IP routing is accomplished in an Integrated IS-IS network and tells why CLNS addresses must be configured, even if the network is running only IP.

IP Networks in Integrated IS-IS

Integrated IS-IS LSPs describe IP information in a similar manner to the way that IS-IS describes ESs. There are specific TLV types for IP information.

However, even if Integrated IS-IS is being used only for IP routing, OSI protocols are used to form the neighbor relationship between routers (routers still establish ES/IS adjacencies and use IS-IS hello packets). Therefore, a NET address is required for SPF calculations (using Dijkstra's algorithm) and Layer 2 forwarding. The NET address is used to identify the router in Integrated IS-IS.

This section describes how the OSI routing process works in IS-IS or Integrated IS-IS.

Building the OSI Forwarding Database

The following process is used to build the OSI forwarding database (the CLNS routing table) in a router running IS-IS or Integrated IS-IS:

  • The link-state database is used to calculate the Shortest Path First (SPF) tree to OSI destinations (the NETs, or OSI addresses, of the routers). The link metrics are totaled along each path to decide which is the shortest path to any given destination.

  • Separate link-state databases exist for Level 1 and Level 2 routes. Therefore, in Level 1–2 routers, SPF is run twice (once for each level) and separate SPF trees are created for each level.

  • ES reachability is calculated with a partial route calculation (PRC) based on the previously mentioned Level 1 and Level 2 SPF trees. (There are no OSI ESs if the network is a pure IP Integrated IS-IS environment.)

  • The best paths are inserted in the CLNS routing table (OSI forwarding database).

OSI Routing Process

Routing inside a Level 1 area is based on the system ID of the destination OSI (NSAP) address.

Level 1–2 routers send default routes to the Level 1 routers in their area. When a Level 1 router has a packet that is destined for another area, the following rules apply:

  • The Level 1 router routes the packet to the nearest Level 1–2 router. The Level 1 router finds the closest exit point from the area, based on the best default route to the Level 1–2 routers in its area.

  • The Level 1–2 router routes the packets into the Level 2 backbone, based on the destination area ID. The packet travels across the Level 2 backbone to the destination area.

  • When it arrives in the destination area, Level 1 routing is again used to route the packet to its final destination inside that area.

The interface between the Level 1 world and the Level 2 world takes place on a Level 1–2 router. The Level 1–2 router behaves as if it were both a Level 1 router (routing to Level 1 destinations) and a Level 2 router (routing between areas).

Level 2 routing is based on the area ID. If a Level 1–2 router receives a packet (from a Level 2 neighbor) destined for its own area, it routes it as for Level 1, based on the system ID.

The fact that Level 1 routers see a default route only to the nearest Level 1–2 routers can lead to suboptimal routing, as shown in Figure S-17.

Figure S-17Figure S-17 Example of IS-IS Suboptimal Interarea Routing

In Figure S-17, router R1 routes packets to router R2 through area 1's Level 1–2 router. This router looks at the destination area of the packet and routes it directly into area 2. In area 2, the packets are routed as Level 1 to R2 (even though the initial next hop is another Level 1–2 router, the routing is Level 1.)

Packets returning from R2 to R1 are routed by R2 to its nearest Level 1–2 router. This router happens to see the best route to area 1 as being through area 4 and routes the return packets by a different route than the incoming packets traveled. As can be seen in Figure S-17, the path taken is not actually the least cost from R2 to R1.

Asymmetric routing (packets in different directions taking different paths) is not necessarily detrimental to the network.

Interconnecting IS-IS Domains

An IS-IS domain is a collection of IS-IS areas and is the equivalent of an IP AS.

IS-IS can support the interconnection of multiple domains. In a pure OSI (CLNS) environment, ISO-IGRP, a Cisco proprietary protocol, can be used. ISO-IGRP interprets the initial domain identifier (IDI) portion of CLNS routes and allows routing between domains. Static CLNS routes can also be used. The standard OSI Interdomain Routing Protocol (IDRP) provides the same function; however, IDRP is not supported by Cisco IOS Software.

In an IP environment, an IP interdomain protocol is required. The most common of these is the Border Gateway Protocol (BGP).

Example of OSI (CLNS) Intra-Area and Interarea Routing

This section presents an example of OSI (CLNS) intra-area and interarea routing, using IS-IS or Integrated IS-IS.

CLNS Troubleshooting Commands Used in This Example

For this example, outputs of some troubleshooting commands on a Cisco router are used to illustrate how OSI routing works. The commands used in this example are detailed in this subsection.

NOTE

Some of the CLNS troubleshooting commands enable you to type a CLNS name instead of an NSAP address, and some commands display a name as well as the NSAP address. This mapping of name to address can be accomplished using the clns host global configuration command; this command works similar to the ip host global configuration command and is described later, in the section, "Other Integrated IS-IS Configuration Commands.".

Use the show isis topology [nsap] [level-1] [level-2] [l1] [l2] EXEC command to display a list of the paths to all connected routers. This command is described in Table S-1.

Table S-1 show isis topology Command Description

show isis topology Command

Description

nsap

Host name or NSAP of a router.

level-1

(Optional) The IS-IS link-state database for Level 1.

level-2

(Optional) The IS-IS link-state database for Level 2.

l1

(Optional) Abbreviation for the option level-1.

l2

(Optional) Abbreviation for the option level-2.


NOTE

The show isis topology command is not documented in the Cisco IOS Software Command Reference manuals; however it is shown in the Cisco IOS Software Configuration Guides, and it does work on the routers.

Use the show clns route [nsap] EXEC command to display all the CLNS destinations to which this router knows how to route packets. The nsap optional parameter is the CLNS NSAP address or host name. The output of this command displays the IS-IS Level 2 routing table, as well as static and ISO-IGRP learned prefix routes. This routing table stores IS-IS area addresses and prefix routes; destinations are sorted by category.

Use the show isis route EXEC command to display the IS-IS Level 1 forwarding table for IS-IS–learned routes.

NOTE

The show isis route command is documented as show isis routes in the Cisco IOS Software Command Reference manuals; however show isis route is the command that works on the routers.

This command is useful only if IS-IS is running in OSI mode. It does not display any routes if IS-IS is running only in IP mode; in this case, the command output indicates that you should use the show isis topology command instead.

Use the which-route {nsap-address | clns-name} EXEC command if you want to know which next-hop router will be used or if you have multiple processes running and want to troubleshoot your configuration. This command displays the routing table in which the specified CLNS destination is found. This command is described in Table S-2.

Table S-2 which-route Command Description

which-route Command

Description

nsap-address

CLNS destination network address

clns-name

Destination host name


Use the show ip route [address [mask] [longer-prefixes]] | [protocol [process-id]] command to display all or specific portions of the IP routing table. This command is described in Table S-3.

Table S-3 show ip route Command Description

show ip route Command

Description

address

(Optional) Address about which routing information should be displayed.

mask

(Optional) Argument for a subnet mask.

longer-prefixes

(Optional) The address and mask pair becomes a prefix, and any routes that match that prefix are displayed.

protocol

(Optional) Name of a routing protocol, or the keywords connected, static, or summary. If you specify a routing protocol, use one of the following keywords: bgp, egp, eigrp, hello, igrp, isis, ospf, or rip.

process-id

(Optional) Number used to identify a process of the specified protocol.


Example Network

Figure S-18 shows the network used in this example.

Figure S-18Figure S-18 Example Network for Intra-area and Inter-area Routing Discussion

Example Troubleshooting Command Output

The example output of the show isis topology command shown in Example S-1 is taken from router R1, a Level 1 router, in the example in Figure S-18.

Example S-1 show isis topology Command Output from Router R1 in Figure S-18

R1#show isis topology
IS-IS paths to level-1 routers

System Id    Metric Next-Hop  Interface SNPA
R1          - -
R2         10     R2       Se0     *HDLC*
R4         10     R4       Se1     *HDLC*

The example output of the show isis topology command shown in Example S-2 is taken from router R2, a Level 1–2 router, in the example in Figure S-18.

Example S-2 show isis topology Command Output from Router R2 in Figure S-18

R2#show isis topology
IS-IS paths to level-1 routers

System Id    Metric Next-Hop  Interface SNPA
R1          10     R1        Se0      *HDLC*
R2          --  
R4          10     R4        Se1      *HDLC*
IS-IS paths to level-2 routers

System Id    Metric Next-Hop  Interface SNPA
R2          --
R5          10     R5        Et0   0010.7bb5.9e20

The show isis topology command displays the least-cost paths to the destination NETs. The fields in the outputs in Example S-1 and Example S-2 are as follows:

  • The system ID shows the NET of the destination. Cisco IOS Software uses dynamic host name mapping (as defined in RFC 2763) to map this to a host name, where that host name is available to the router. A router's host name is included in its outgoing LSP.

  • The metric shows the sum of the metrics on the least-cost path to the destination.

  • The next-hop router (an IS) is shown, along with the interface through which that next hop is reached and the SNPA of that next hop. (Recall that for a serial line, the SNPA is simply HDLC.)

Example S-2 shows that separate topology databases exist for Level 1 and Level 2 in router R2, a Level 1–2 router.

The show clns route command displays the CLNS destinations to which this router can route packets. The example output of the show clns route command shown in Example S-3 is taken from router R1, a Level 1 router, in the example in Figure S-18.

Example S-3 show clns route Command Output from Router R1 in Figure S-18

R1#show clns route

CLNS Prefix Routing Table
49.0001.0000.0000.0001.00, Local NET Entry

As Example S-3 shows, router R1 in Figure S-18 shows only its local NET entry because it is a Level 1–only router and, therefore, has no Level 2 area routes to display.

The show isis route command shows the Level 1 routes to IS-IS neighbors. The example output of the show isis route command shown in Example S-4 is taken from router R1 in the example in Figure S-18.

Example S-4 show isis route Command Output from Router R1 in Figure S-18

R1#show isis route
IS-IS Level-1 Routing Table - version 312

System Id Next-Hop Interface  SNPA    Metric State
R2       R2       Se0      *HDLC*  10    Up  L2-IS
R4       R4       Se1      *HDLC*  10    Up
R1       --
Default route out of area - (via 2 L2-attached ISs)
System Id Next-Hop Interface  SNPA   Metric State
          R2       Se0      *HDLC* 10    Up

As Example S-4 shows, router R1 in Figure S-18 can see the other Level 1 routers in its area, routers R2 and R4. Level 1–2 routers appear in the Level 1 routing table (by virtue of their Level 1 connection) with a note at the end of their entry to show that they also act at Level 2. In this case, the Level 1–2 router is R2, as shown in Example S-4. The closest Level 1–2 router also appears as the default route out of the area. Again, this is router R2 in Example S-4.

In the show isis route command, as in the show isis topology command, the next-hop IS, the interface over which that next hop is reached, its SNPA, and the summed metric to that destination is shown for all IS routes. In Example S-4, the state of all the neighbors is up—this indicates that the hello process has established an adjacency.

For comparison, the example output of the show clns route command shown in Example S-5 is taken from router R2 in the example in Figure S-18. This output shows the local NET entry and also shows the Level 2 routes to its own areas and the neighbor areas.

Example S-5 show clns route Command Output from Router R2 in Figure S-18

R2#show clns route

CLNS Prefix Routing Table
49.0001.0000.0000.0002.00, Local NET Entry
49.0002 [110/10]
 via R5, IS-IS, Up, Ethernet0
49.0001 [110/0]
  via R2, IS-IS, Up

NOTE

As displayed in Example S-5, router R2, a Level 1–2 router, regards the route to its own area (area 49.0001) as being through itself, further emphasizing that the Level 1 and Level 2 processes in a Level 1–2 router operate separately.

The example output of the show isis route command shown in Example S-6 is taken from router R2 in Figure S-18. This output shows R2's routes to its IS-IS neighbors, routers R4 and R1.

Example S-6 show isis route Command Output from Router R2 in Figure S-18

R2#show isis route

IS-IS Level-1 Routing Table - version 47
System Id  Next-Hop Interface  SNPA    Metric State
R4        R4       Se1      *HDLC* 10     Up
 R1        R1       Se0      *HDLC* 10     Up

An alternative method of finding the route to a destination NET or NSAP is to use the which-route command. The example output of the which-route command shown in Example S-7 is taken Router R1 in the example in Figure S-18.

Example S-7 which-route Command Output from Router R1 in Figure S-18

R1#which-route 49.0001.0000.0000.0002.00 
Route look-up for destination 49.0001.0000.0000.0002.00
 Found route in IS-IS level-1 routing table

Adjacency entry used:
System Id Interface SNPA State Holdtime Type Protocol
0000.0000.0002 Se0   *HDLC* Up   26    L1  IS-IS
 Area Address(es): 49.0001
 Uptime: 00:09:50

R1#which-route 49.0002.0000.0000.0005.00 
Route look-up for destination 49.0002.0000.0000.0005.00
 Using route to closest IS-IS level-2 router

Adjacency entry used:
System Id  Interface SNPA State Holdtime Type Protocol
0000.0000.0002 Se0   *HDLC* Up   27    L1  IS-IS
 Area Address(es): 49.0001
 Uptime: 00:09:57

In Example S-7, the which-route command is entered on the Level 1–only router, R1. The first command requests the route to router R2 (the NSAP shown in the command is R2's NSAP). The second command requests the route to router R5. The which-route command output states whether the destination is reachable by Level 1 or by the default exit point to Level 2, and it returns information on the next hop to the destination.

For comparison, the example output of the which-route commands shown in Example S-8 is taken from router R5 in the example in Figure S-18; R5 is a Level 2 router.

Example S-8 which-route Command Output from Router R5 in Figure S-18

R5#which-route 49.0001.0000.0000.0002.00 

 Found route in CLNS L2 prefix routing table

Route entry used:
i 49.0001 [110/10] via R2, Ethernet0/0
Adjacency entry used:
System Id Interface SNPA     State Hold. Type Prot
R2     Et0/0  0000.0c92.e515 Up   24  L2  IS-IS
   Area Address(es): 49.0001

R5#which-route 49.0001.0000.0000.0001.00 
 
Found route in CLNS L2 prefix routing table

Route entry used:
i 49.0001 [110/10] via R2, Ethernet0/0
Adjacency entry used:
System Id Interface  SNPA     State Hold. Type Prot.
R2     Et0/0   0000.0c92.e515 Up   21  L2  IS-IS
   Area Address(es): 49.0001

The first command in Example S-8 requests the route to R2. The second command requests the route to R1. As shown in this example output, the which-route command output on a Level 2 router states that the route was matched by an entry from the CLNS Level 2 routing table, and it returns information on the next hop to the destination.

Building an IP Forwarding Table

So far in this section, the process and outputs have referred to the OSI part of the Integrated IS-IS process. These are the same as for pure OSI IS-IS routing.

However, in the IP world, when running Integrated IS-IS, IP information is included in the LSPs. IP reachability behaves in IS-IS as if it were ES information.

It is important to note that IP information takes no part in the calculation of the SPF tree—it is simply information about leaf connections to the tree. Therefore, updating the IP reachability is only a PRC (similar to ES reachability).

IP routes are generated by the PRC and offered to the IP routing table, where they are accepted based on routing table rules comparing, for example, administrative distance. When entered in the routing table, IP IS-IS routes are shown as being through Level 1 or Level 2, as appropriate.

The separation of IP reachability from the core IS-IS network architecture gives Integrated IS-IS better scalability than OSPF. OSPF sends LSAs for individual IP subnets. If an IP subnet fails, the LSA is flooded through the network and, in all circumstances, all routers must run a full SPF calculation.

In comparison, in an Integrated IS-IS network, the SPF tree is built from CLNS information. If an IP subnet fails in Integrated IS-IS, the LSP is flooded as for OSPF. However, if the failed subnet is a leaf IP subnet (that is, the loss of the subnet has not affected the underlying CLNS architecture), the SPF tree is unaffected and, therefore, only a PRC happens.

Figure S-19 illustrates an IP network running Integrated IS-IS; the IP addresses shown are the addresses of the loopback 0 interface on each router. Example S-9 shows the routing table on router R2 in this example network; the routes are IS-IS routes.

Figure S-19Figure S-19 An IP Network Running Integrated IS-IS

Example S-9 show ip route Command Output from Router R2 in Figure S-19

R2#show ip route
<output omitted>
i L1 1.0.0.0/8 [115/10] via 10.12.0.1, Ser0
i L1 4.0.0.0/8 [115/10] via 10.24.0.4, Ser1
i L2 5.0.0.0/8 [115/10] via 11.0.0.10, Eth0

In Example S-9, the output is interpreted as follows:

  • The i indicates that the route was sourced from IS-IS.

  • L1 and L2 show whether the IS-IS path to these destination IP networks is by way of IS-IS Level 1 or Level 2 routing, respectively.

  • The next-hop IP addresses are the IP addresses of the corresponding next-hop IS-IS neighbor routers.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020